Searched refs:lun (Results 1 - 25 of 260) sorted by relevance

1234567891011

/drivers/staging/rts5139/
H A Drts51x_scsi.c337 void set_sense_type(struct rts51x_chip *chip, unsigned int lun, int sense_type) argument
341 set_sense_data(chip, lun, CUR_ERR, 0x06, 0, 0x28, 0, 0, 0);
345 set_sense_data(chip, lun, CUR_ERR, 0x02, 0, 0x3A, 0, 0, 0);
349 set_sense_data(chip, lun, CUR_ERR, 0x05, 0, 0x21, 0, 0, 0);
353 set_sense_data(chip, lun, CUR_ERR, 0x05, 0, 0x25, 0, 0, 0);
357 set_sense_data(chip, lun, CUR_ERR, 0x07, 0, 0x27, 0, 0, 0);
361 set_sense_data(chip, lun, CUR_ERR, 0x03, 0, 0x11, 0, 0, 0);
365 set_sense_data(chip, lun, CUR_ERR, 0x03, 0, 0x0C, 0x02, 0, 0);
369 set_sense_data(chip, lun, CUR_ERR, ILGAL_REQ, 0,
374 set_sense_data(chip, lun, CUR_ER
412 set_sense_data(struct rts51x_chip *chip, unsigned int lun, u8 err_code, u8 sense_key, u32 info, u8 asc, u8 ascq, u8 sns_key_info0, u16 sns_key_info1) argument
437 unsigned int lun = SCSI_LUN(srb); local
480 unsigned int lun = SCSI_LUN(srb); local
545 unsigned int lun = SCSI_LUN(srb); local
595 ms_mode_sense(struct rts51x_chip *chip, u8 cmd, int lun, u8 *buf, int buf_len) argument
686 unsigned int lun = SCSI_LUN(srb); local
771 unsigned int lun = SCSI_LUN(srb); local
803 unsigned int lun = SCSI_LUN(srb); local
911 unsigned int lun = SCSI_LUN(srb); local
988 unsigned int lun = SCSI_LUN(srb); local
1025 unsigned int lun = SCSI_LUN(srb); local
1042 unsigned int lun = SCSI_LUN(srb); local
1055 unsigned int lun = SCSI_LUN(srb); local
1096 unsigned int lun = SCSI_LUN(srb); local
1138 unsigned int lun = SCSI_LUN(srb); local
1235 unsigned int lun = SCSI_LUN(srb); local
1293 unsigned int lun = SCSI_LUN(srb); local
1470 unsigned int lun = SCSI_LUN(srb); local
1522 unsigned int lun = SCSI_LUN(srb); local
1628 unsigned int lun = SCSI_LUN(srb); local
1683 unsigned int lun = SCSI_LUN(srb); local
1770 unsigned int lun = SCSI_LUN(srb); local
1878 unsigned int lun = SCSI_LUN(srb); local
[all...]
H A Dms_mg.c126 unsigned int lun = SCSI_LUN(srb); local
132 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_INVALID_CMD_FIELD);
143 set_sense_type(chip, lun, SENSE_TYPE_MG_KEY_FAIL_NOT_ESTAB);
154 set_sense_type(chip, lun, SENSE_TYPE_MG_KEY_FAIL_NOT_ESTAB);
159 set_sense_type(chip, lun, SENSE_TYPE_MG_KEY_FAIL_NOT_ESTAB);
177 unsigned int lun = SCSI_LUN(srb); local
199 set_sense_type(chip, lun, SENSE_TYPE_MG_KEY_FAIL_NOT_AUTHEN);
206 set_sense_type(chip, lun, SENSE_TYPE_MG_KEY_FAIL_NOT_AUTHEN);
213 set_sense_type(chip, lun, SENSE_TYPE_MG_KEY_FAIL_NOT_AUTHEN);
238 unsigned int lun local
328 unsigned int lun = SCSI_LUN(srb); local
398 unsigned int lun = SCSI_LUN(srb); local
455 unsigned int lun = SCSI_LUN(srb); local
522 unsigned int lun = SCSI_LUN(srb); local
[all...]
H A Dsd_cprm.h34 int ext_sd_execute_no_data(struct rts51x_chip *chip, unsigned int lun,
37 int ext_sd_execute_read_data(struct rts51x_chip *chip, unsigned int lun,
41 int ext_sd_execute_write_data(struct rts51x_chip *chip, unsigned int lun,
H A Drts51x_card.h756 u8 get_lun_card(struct rts51x_chip *chip, unsigned int lun);
759 void eject_card(struct rts51x_chip *chip, unsigned int lun);
770 static inline int check_card_ready(struct rts51x_chip *chip, unsigned int lun) argument
772 if (chip->card_ready & chip->lun2card[lun])
778 static inline int check_card_exist(struct rts51x_chip *chip, unsigned int lun) argument
780 if (chip->card_exist & chip->lun2card[lun])
786 static inline int check_card_wp(struct rts51x_chip *chip, unsigned int lun) argument
788 if (chip->card_wp & chip->lun2card[lun])
794 static inline int check_card_fail(struct rts51x_chip *chip, unsigned int lun) argument
796 if (chip->card_fail & chip->lun2card[lun])
802 check_card_ejected(struct rts51x_chip *chip, unsigned int lun) argument
810 check_fake_card_ready(struct rts51x_chip *chip, unsigned int lun) argument
819 get_lun2card(struct rts51x_chip *chip, unsigned int lun) argument
824 check_lun_mc(struct rts51x_chip *chip, unsigned int lun) argument
829 set_lun_mc(struct rts51x_chip *chip, unsigned int lun) argument
834 clear_lun_mc(struct rts51x_chip *chip, unsigned int lun) argument
[all...]
H A Dsd_cprm.c281 int ext_sd_execute_no_data(struct rts51x_chip *chip, unsigned int lun, argument
295 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_CHANGE);
300 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_INVALID_CMD_FIELD);
364 set_sense_type(chip, lun, SENSE_TYPE_NO_SENSE);
368 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT);
373 int ext_sd_execute_read_data(struct rts51x_chip *chip, unsigned int lun, argument
385 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_CHANGE);
394 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_INVALID_CMD_FIELD);
581 set_sense_type(chip, lun, SENSE_TYPE_NO_SENSE);
583 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_UNRECOVER_READ_ER
592 ext_sd_execute_write_data(struct rts51x_chip *chip, unsigned int lun, u8 cmd_idx, u8 cmd12, u8 standby, u8 acmd, u8 rsp_code, u32 arg, u32 data_len, void *data_buf, unsigned int buf_len, int use_sg) argument
932 unsigned int lun = SCSI_LUN(srb); local
1004 unsigned int lun = SCSI_LUN(srb); local
1037 unsigned int lun = SCSI_LUN(srb); local
1075 unsigned int lun = SCSI_LUN(srb); local
1112 unsigned int lun = SCSI_LUN(srb); local
1151 unsigned int lun = SCSI_LUN(srb); local
[all...]
/drivers/block/
H A Dub.c180 struct ub_lun *lun; member in struct:ub_scsi_cmd
323 static int ub_request_fn_1(struct ub_lun *lun, struct request *rq);
324 static void ub_cmd_build_block(struct ub_dev *sc, struct ub_lun *lun,
326 static void ub_cmd_build_packet(struct ub_dev *sc, struct ub_lun *lun,
330 static int ub_rw_cmd_retry(struct ub_dev *sc, struct ub_lun *lun,
348 static int ub_sync_tur(struct ub_dev *sc, struct ub_lun *lun);
349 static int ub_sync_read_cap(struct ub_dev *sc, struct ub_lun *lun,
473 struct ub_lun *lun; local
478 lun = list_entry(p, struct ub_lun, link);
482 if ((q = lun
509 ub_get_cmd(struct ub_lun *lun) argument
520 ub_put_cmd(struct ub_lun *lun, struct ub_scsi_cmd *cmd) argument
592 struct ub_lun *lun = q->queuedata; local
603 ub_request_fn_1(struct ub_lun *lun, struct request *rq) argument
674 ub_cmd_build_block(struct ub_dev *sc, struct ub_lun *lun, struct ub_scsi_cmd *cmd, struct ub_request *urq) argument
710 ub_cmd_build_packet(struct ub_dev *sc, struct ub_lun *lun, struct ub_scsi_cmd *cmd, struct ub_request *urq) argument
741 struct ub_lun *lun = cmd->lun; local
803 ub_rw_cmd_retry(struct ub_dev *sc, struct ub_lun *lun, struct ub_request *urq, struct ub_scsi_cmd *cmd) argument
1536 struct ub_lun *lun; local
1606 ub_revalidate(struct ub_dev *sc, struct ub_lun *lun) argument
1640 struct ub_lun *lun = bdev->bd_disk->private_data; local
1694 struct ub_lun *lun = disk->private_data; local
1732 struct ub_lun *lun = disk->private_data; local
1756 struct ub_lun *lun = disk->private_data; local
1799 ub_sync_tur(struct ub_dev *sc, struct ub_lun *lun) argument
1846 ub_sync_read_cap(struct ub_dev *sc, struct ub_lun *lun, struct ub_capacity *ret) argument
2268 struct ub_lun *lun; local
2339 struct ub_lun *lun; local
[all...]
H A Dcciss_scsi.h63 int bus, target, lun; /* as presented to the OS */ member in struct:cciss_scsi_dev_t
/drivers/scsi/aic94xx/
H A Daic94xx.h87 int asd_abort_task_set(struct domain_device *, u8 *lun);
88 int asd_clear_aca(struct domain_device *, u8 *lun);
89 int asd_clear_task_set(struct domain_device *, u8 *lun);
90 int asd_lu_reset(struct domain_device *, u8 *lun);
H A Daic94xx_tmf.c220 static int asd_clear_nexus_I_T_L(struct domain_device *dev, u8 *lun) argument
227 memcpy(scb->clear_nexus.ssp_task.lun, lun, 8);
240 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8);
462 memcpy(scb->abort_task.ssp_task.lun, task->ssp_task.LUN, 8);
563 * @lun: pointer to u8[8] which is the LUN
575 static int asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, argument
611 memcpy(scb->ssp_tmf.ssp_task.lun, lun, 8);
657 int asd_abort_task_set(struct domain_device *dev, u8 *lun) argument
666 asd_clear_aca(struct domain_device *dev, u8 *lun) argument
675 asd_clear_task_set(struct domain_device *dev, u8 *lun) argument
684 asd_lu_reset(struct domain_device *dev, u8 *lun) argument
[all...]
/drivers/target/
H A Dtarget_core_stat.c391 DEV_STAT_SCSI_LU_ATTR_RO(lun); variable
704 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
706 struct se_device *dev = lun->lun_se_dev;
710 spin_lock(&lun->lun_sep_lock);
711 sep = lun->lun_sep;
713 spin_unlock(&lun->lun_sep_lock);
718 spin_unlock(&lun->lun_sep_lock);
726 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
728 struct se_device *dev = lun->lun_se_dev;
731 spin_lock(&lun
746 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
765 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
788 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
847 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
869 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
889 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
908 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
931 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
955 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
975 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
996 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
1017 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
1083 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
1106 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
1129 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
1151 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); local
1202 target_stat_setup_port_default_groups(struct se_lun *lun) argument
1269 struct se_lun *lun; local
1635 struct se_lun *lun; local
[all...]
H A Dtarget_core_fabric_configfs.c68 struct se_lun *lun = container_of(to_config_group(lun_ci), local
78 if (!lun->lun_sep || !lun->lun_sep->sep_tpg) {
79 pr_err("Source se_lun->lun_sep or lun->lun_sep->sep"
83 se_tpg = lun->lun_sep->sep_tpg;
124 * iscsi/$IQN/$TPGT/lun/lun_* as on their SCSI Initiator Ports.
127 lun->unpacked_lun, lun_access);
136 struct se_lun *lun; local
148 lun = container_of(to_config_group(lun_ci), struct se_lun, lun_group);
149 se_tpg = lun
621 target_fabric_port_show_attr_alua_tg_pt_gp( struct se_lun *lun, char *page) argument
631 target_fabric_port_store_attr_alua_tg_pt_gp( struct se_lun *lun, const char *page, size_t count) argument
647 target_fabric_port_show_attr_alua_tg_pt_offline( struct se_lun *lun, char *page) argument
657 target_fabric_port_store_attr_alua_tg_pt_offline( struct se_lun *lun, const char *page, size_t count) argument
673 target_fabric_port_show_attr_alua_tg_pt_status( struct se_lun *lun, char *page) argument
683 target_fabric_port_store_attr_alua_tg_pt_status( struct se_lun *lun, const char *page, size_t count) argument
699 target_fabric_port_show_attr_alua_tg_pt_write_md( struct se_lun *lun, char *page) argument
709 target_fabric_port_store_attr_alua_tg_pt_write_md( struct se_lun *lun, const char *page, size_t count) argument
739 struct se_lun *lun = container_of(to_config_group(lun_ci), local
793 struct se_lun *lun = container_of(to_config_group(lun_ci), local
853 struct se_lun *lun; local
909 struct se_lun *lun = container_of(to_config_group(item), local
[all...]
H A Dtarget_core_tpg.c62 struct se_lun *lun; local
78 lun = deve->se_lun;
80 core_update_device_list_for_node(lun, NULL, deve->mapped_lun,
139 struct se_lun *lun; local
144 lun = tpg->tpg_lun_list[i];
145 if (lun->lun_status != TRANSPORT_LUN_STATUS_ACTIVE)
150 dev = lun->lun_se_dev;
174 tpg->se_tpg_tfo->tpg_get_tag(tpg), lun->unpacked_lun,
178 core_update_device_list_for_node(lun, NULL, lun
341 struct se_lun *lun; local
631 struct se_lun *lun = &se_tpg->tpg_virt_lun0; local
654 struct se_lun *lun = &se_tpg->tpg_virt_lun0; local
666 struct se_lun *lun; local
773 struct se_lun *lun; local
799 core_tpg_post_addlun( struct se_portal_group *tpg, struct se_lun *lun, u32 lun_access, void *lun_ptr) argument
819 core_tpg_shutdown_lun( struct se_portal_group *tpg, struct se_lun *lun) argument
831 struct se_lun *lun; local
857 core_tpg_post_dellun( struct se_portal_group *tpg, struct se_lun *lun) argument
[all...]
H A Dtarget_core_device.c236 struct se_lun *lun; local
248 lun = deve->se_lun;
249 if (!lun) {
255 port = lun->lun_sep;
281 struct se_lun *lun; local
300 lun = deve->se_lun;
303 core_update_device_list_for_node(lun, NULL, deve->mapped_lun,
350 struct se_lun *lun,
358 struct se_port *port = lun->lun_sep;
396 if (deve->se_lun != lun) {
349 core_update_device_list_for_node( struct se_lun *lun, struct se_lun_acl *lun_acl, u32 mapped_lun, u32 lun_access, struct se_node_acl *nacl, struct se_portal_group *tpg, int enable) argument
461 core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) argument
543 core_export_port( struct se_device *dev, struct se_portal_group *tpg, struct se_port *port, struct se_lun *lun) argument
604 core_dev_export( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun) argument
623 core_dev_unexport( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun) argument
1337 core_dev_add_lun( struct se_portal_group *tpg, struct se_hba *hba, struct se_device *dev, u32 lun) argument
1400 struct se_lun *lun; local
1418 struct se_lun *lun; local
1451 struct se_lun *lun; local
1519 struct se_lun *lun; local
1568 core_dev_del_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_lun *lun, struct se_lun_acl *lacl) argument
[all...]
/drivers/scsi/arm/
H A Dqueue.h67 * Function: struct scsi_cmnd *queue_remove_tgtluntag (queue, target, lun, tag)
68 * Purpose : remove a SCSI command from the queue for a specified target/lun/tag
71 * lun - lun on device
76 int lun, int tag);
88 * Function: int queue_probetgtlun (queue, target, lun)
90 * target/lun.
93 * lun - lun on target
96 extern int queue_probetgtlun (Queue_t *queue, int target, int lun);
[all...]
/drivers/staging/rts_pstor/
H A Drtsx_scsi.c149 void set_sense_type(struct rtsx_chip *chip, unsigned int lun, int sense_type) argument
153 set_sense_data(chip, lun, CUR_ERR, 0x06, 0, 0x28, 0, 0, 0);
157 set_sense_data(chip, lun, CUR_ERR, 0x02, 0, 0x3A, 0, 0, 0);
161 set_sense_data(chip, lun, CUR_ERR, 0x05, 0, 0x21, 0, 0, 0);
165 set_sense_data(chip, lun, CUR_ERR, 0x05, 0, 0x25, 0, 0, 0);
169 set_sense_data(chip, lun, CUR_ERR, 0x07, 0, 0x27, 0, 0, 0);
173 set_sense_data(chip, lun, CUR_ERR, 0x03, 0, 0x11, 0, 0, 0);
177 set_sense_data(chip, lun, CUR_ERR, 0x03, 0, 0x0C, 0x02, 0, 0);
181 set_sense_data(chip, lun, CUR_ERR, ILGAL_REQ, 0,
186 set_sense_data(chip, lun, CUR_ER
224 set_sense_data(struct rtsx_chip *chip, unsigned int lun, u8 err_code, u8 sense_key, u32 info, u8 asc, u8 ascq, u8 sns_key_info0, u16 sns_key_info1) argument
248 unsigned int lun = SCSI_LUN(srb); local
298 unsigned int lun = SCSI_LUN(srb); local
390 unsigned int lun = SCSI_LUN(srb); local
444 unsigned int lun = SCSI_LUN(srb); local
486 ms_mode_sense(struct rtsx_chip *chip, u8 cmd, int lun, u8 *buf, int buf_len) argument
582 unsigned int lun = SCSI_LUN(srb); local
684 unsigned int lun = SCSI_LUN(srb); local
823 unsigned int lun = SCSI_LUN(srb); local
904 unsigned int lun = SCSI_LUN(srb); local
1148 unsigned int lun = SCSI_LUN(srb); local
1313 unsigned lun = SCSI_LUN(srb); local
1372 unsigned int lun = SCSI_LUN(srb); local
1413 unsigned int lun = SCSI_LUN(srb); local
1453 unsigned int lun = SCSI_LUN(srb); local
1642 unsigned int lun = SCSI_LUN(srb); local
2320 unsigned int lun = SCSI_LUN(srb); local
2457 unsigned int lun = SCSI_LUN(srb); local
2482 unsigned int lun = SCSI_LUN(srb); local
2610 unsigned int lun = SCSI_LUN(srb); local
2633 unsigned int lun = SCSI_LUN(srb); local
2697 unsigned int lun = SCSI_LUN(srb); local
2811 unsigned int lun = SCSI_LUN(srb); local
2871 unsigned int lun = SCSI_LUN(srb); local
2969 unsigned int lun = SCSI_LUN(srb); local
3089 unsigned int lun = SCSI_LUN(srb); local
[all...]
/drivers/scsi/
H A Dscsi_scan.c227 * @lun: which lun
232 * Stores the @shost, @channel, @id, and @lun in the scsi_Device, and
239 unsigned int lun, void *hostdata)
258 sdev->lun = lun;
547 * Probe the lun associated with @req using a standard SCSI INQUIRY;
985 * @lun: LUN of target device
1002 uint lun, int *bflagsp,
1015 sdev = scsi_device_lookup_by_target(starget, lun);
238 scsi_alloc_sdev(struct scsi_target *starget, unsigned int lun, void *hostdata) argument
1001 scsi_probe_and_add_lun(struct scsi_target *starget, uint lun, int *bflagsp, struct scsi_device **sdevp, int rescan, void *hostdata) argument
1155 unsigned int sparse_lun, lun, max_dev_lun; local
1242 unsigned int lun; local
1270 int_to_scsilun(unsigned int lun, struct scsi_lun *scsilun) argument
1310 unsigned int lun; local
1504 __scsi_add_device(struct Scsi_Host *shost, uint channel, uint id, uint lun, void *hostdata) argument
1536 scsi_add_device(struct Scsi_Host *host, uint channel, uint target, uint lun) argument
1565 __scsi_scan_target(struct device *parent, unsigned int channel, unsigned int id, unsigned int lun, int rescan) argument
1631 scsi_scan_target(struct device *parent, unsigned int channel, unsigned int id, unsigned int lun, int rescan) argument
1651 scsi_scan_channel(struct Scsi_Host *shost, unsigned int channel, unsigned int id, unsigned int lun, int rescan) argument
1682 scsi_scan_host_selected(struct Scsi_Host *shost, unsigned int channel, unsigned int id, unsigned int lun, int rescan) argument
[all...]
H A Dscsi_proc.c200 sdev->host->host_no, sdev->channel, sdev->id, sdev->lun);
243 * @lun: user-supplied decimal integer
253 static int scsi_add_single_device(uint host, uint channel, uint id, uint lun) argument
263 error = shost->transportt->user_scan(shost, channel, id, lun);
265 error = scsi_scan_host_selected(shost, channel, id, lun, 1);
275 * @lun: user-supplied decimal integer
280 static int scsi_remove_single_device(uint host, uint channel, uint id, uint lun) argument
289 sdev = scsi_device_lookup(shost, channel, id, lun);
322 int host, channel, id, lun; local
353 lun
[all...]
H A Dibmmca.c243 done dynamically and the ldn <-> pun,lun maps can be looked-up at boottime
340 int total_scsi_devices; /* number of physical pun,lun */
351 /* array to convert (pun, lun) into logical device number: */
666 if ((cmd->target == TIMEOUT_PUN) && (cmd->device->lun == TIMEOUT_LUN)) {
668 printk("IBM MCA SCSI: Ignoring interrupt from pun=%x, lun=%x.\n", cmd->target, cmd->device->lun);
855 unsigned int lun, unsigned int ldn,
866 imm_cmd |= (unsigned long) ((lun & 7) << 24);
875 imm_cmd |= (unsigned long) ((lun & 7) << 24);
1104 int id, lun, ld local
854 immediate_assign(struct Scsi_Host *shpnt, unsigned int pun, unsigned int lun, unsigned int ldn, unsigned int operation) argument
1700 int id, lun; local
2267 int i, id, lun; local
[all...]
H A Datari_NCR5380.c334 int target, lun; local
341 for (lun = 0; lun < 8; ++lun) {
342 ta = &TagAlloc[target][lun];
366 if (hostdata->busy[cmd->device->id] & (1 << cmd->device->lun))
371 if (TagAlloc[cmd->device->id][cmd->device->lun].nr_allocated >=
372 TagAlloc[cmd->device->id][cmd->device->lun].queue_size) {
373 TAG_PRINTK("scsi%d: target %d lun %d: no free tags\n",
374 H_NO(cmd), cmd->device->id, cmd->device->lun);
440 int target, lun; local
2501 unsigned char lun, phase; local
[all...]
H A Dsun3_NCR5380.c328 int target, lun; local
335 for( lun = 0; lun < 8; ++lun ) {
336 ta = &TagAlloc[target][lun];
360 if (hostdata->busy[cmd->device->id] & (1 << cmd->device->lun))
365 if (TagAlloc[cmd->device->id][cmd->device->lun].nr_allocated >=
366 TagAlloc[cmd->device->id][cmd->device->lun].queue_size ) {
367 TAG_PRINTK( "scsi%d: target %d lun %d: no free tags\n",
368 H_NO(cmd), cmd->device->id, cmd->device->lun );
437 int target, lun; local
2470 unsigned char lun; local
[all...]
/drivers/s390/scsi/
H A Dzfcp_unit.c24 unsigned int lun; local
26 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun);
29 scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun, 1);
180 unsigned int lun; local
182 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun);
185 return scsi_device_lookup(shost, 0, port->starget_id, lun);
/drivers/scsi/aic7xxx/
H A Dscsi_message.h47 #define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
/drivers/scsi/aic7xxx_old/
H A Dscsi_message.h30 #define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
/drivers/usb/storage/
H A Drealtek_cr.c75 #define SET_LUN_READY(chip, lun) ((chip)->lun_ready |= ((u8)1 << (lun)))
76 #define CLR_LUN_READY(chip, lun) ((chip)->lun_ready &= ~((u8)1 << (lun)))
77 #define TST_LUN_READY(chip, lun) ((chip)->lun_ready & ((u8)1 << (lun)))
124 #define SCSI_LUN(srb) ((srb)->device->lun)
208 static int rts51x_bulk_transport(struct us_data *us, u8 lun, argument
224 bcb->Lun = lun;
295 static int rts51x_bulk_transport_special(struct us_data *us, u8 lun, argument
423 rts51x_read_status(struct us_data *us, u8 lun, u8 *status, int len, int *actlen) argument
451 rts51x_check_status(struct us_data *us, u8 lun) argument
[all...]
/drivers/scsi/isci/
H A Dtask.h105 unsigned char lun[8]; member in struct:isci_tmf
163 u8 *lun);
167 u8 *lun);
171 u8 *lun);
178 u8 *lun);

Completed in 836 milliseconds

1234567891011