Searched refs:SCSI_LUN (Results 1 – 17 of 17) sorted by relevance
/drivers/staging/rts_pstor/ |
D | rtsx_scsi.c | 248 unsigned int lun = SCSI_LUN(srb); in test_unit_ready() 262 if (get_lun_card(chip, SCSI_LUN(srb)) == SD_CARD) { in test_unit_ready() 298 unsigned int lun = SCSI_LUN(srb); in inquiry() 390 unsigned int lun = SCSI_LUN(srb); in start_stop_unit() 433 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_MEDIA_INVALID_CMD_FIELD); in allow_medium_removal() 444 unsigned int lun = SCSI_LUN(srb); in request_sense() 582 unsigned int lun = SCSI_LUN(srb); in mode_sense() 684 unsigned int lun = SCSI_LUN(srb); in read_write() 823 unsigned int lun = SCSI_LUN(srb); in read_format_capacity() 904 unsigned int lun = SCSI_LUN(srb); in read_capacity() [all …]
|
D | rtsx.h | 98 #define SCSI_LUN(srb) ((srb)->device->lun) macro
|
D | ms.c | 2908 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_NO_SENSE); in mspro_format() 3334 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_MEDIA_UNRECOVER_READ_ERR); in ms_rw_fail() 3336 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_MEDIA_WRITE_ERR); in ms_rw_fail() 3343 unsigned int lun = SCSI_LUN(srb); in ms_rw_multi_sector() 3729 unsigned int lun = SCSI_LUN(srb); in mg_set_leaf_id() 3775 unsigned int lun = SCSI_LUN(srb); in mg_get_local_EKB() 3830 unsigned int lun = SCSI_LUN(srb); in mg_chg() 3906 unsigned int lun = SCSI_LUN(srb); in mg_get_rsp_chg() 3963 unsigned int lun = SCSI_LUN(srb); in mg_rsp() 4011 unsigned int lun = SCSI_LUN(srb); in mg_get_ICV() [all …]
|
D | sd.c | 3809 unsigned int lun = SCSI_LUN(srb); in sd_pass_thru_mode() 3919 unsigned int lun = SCSI_LUN(srb); in sd_execute_no_data() 4038 unsigned int lun = SCSI_LUN(srb); in sd_execute_read_data() 4271 unsigned int lun = SCSI_LUN(srb); in sd_execute_write_data() 4612 unsigned int lun = SCSI_LUN(srb); in sd_get_cmd_rsp() 4650 unsigned int lun = SCSI_LUN(srb); in sd_hw_rst()
|
D | rtsx_transport.c | 196 (unsigned char *)&(chip->sense_buffer[SCSI_LUN(srb)]), in rtsx_invoke_transport()
|
D | rtsx_card.c | 1029 unsigned int lun = SCSI_LUN(srb); in card_rw()
|
D | xd.c | 1751 unsigned int lun = SCSI_LUN(srb); in xd_rw()
|
/drivers/staging/rts5139/ |
D | rts51x_scsi.c | 437 unsigned int lun = SCSI_LUN(srb); in test_unit_ready() 452 if (get_lun_card(chip, SCSI_LUN(srb)) == SD_CARD) { in test_unit_ready() 480 unsigned int lun = SCSI_LUN(srb); in inquiry() 545 unsigned int lun = SCSI_LUN(srb); in start_stop_unit() 587 set_sense_type(chip, SCSI_LUN(srb), in allow_medium_removal() 686 unsigned int lun = SCSI_LUN(srb); in mode_sense() 771 unsigned int lun = SCSI_LUN(srb); in request_sense() 803 unsigned int lun = SCSI_LUN(srb); in read_write() 911 unsigned int lun = SCSI_LUN(srb); in read_format_capacity() 988 unsigned int lun = SCSI_LUN(srb); in read_capacity() [all …]
|
D | ms_mg.c | 126 unsigned int lun = SCSI_LUN(srb); in mg_set_leaf_id() 177 unsigned int lun = SCSI_LUN(srb); in mg_get_local_EKB() 238 unsigned int lun = SCSI_LUN(srb); in mg_chg() 328 unsigned int lun = SCSI_LUN(srb); in mg_get_rsp_chg() 398 unsigned int lun = SCSI_LUN(srb); in mg_rsp() 455 unsigned int lun = SCSI_LUN(srb); in mg_get_ICV() 522 unsigned int lun = SCSI_LUN(srb); in mg_set_ICV()
|
D | sd_cprm.c | 932 unsigned int lun = SCSI_LUN(srb); 1004 unsigned int lun = SCSI_LUN(srb); 1037 unsigned int lun = SCSI_LUN(srb); 1075 unsigned int lun = SCSI_LUN(srb); 1112 unsigned int lun = SCSI_LUN(srb); 1151 unsigned int lun = SCSI_LUN(srb);
|
D | rts51x.h | 65 #define SCSI_LUN(srb) ((srb)->device->lun) macro
|
D | rts51x_transport.c | 927 SCSI_LUN(srb))) { in rts51x_invoke_transport() 989 (unsigned char *)&(chip->sense_buffer[SCSI_LUN(srb)]), in rts51x_invoke_transport()
|
D | rts51x_card.c | 669 unsigned int lun = SCSI_LUN(srb); in card_rw()
|
D | ms.c | 3038 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_NO_SENSE); 3833 set_sense_type(chip, SCSI_LUN(srb), 3836 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_MEDIA_WRITE_ERR); 3843 unsigned int lun = SCSI_LUN(srb);
|
D | xd.c | 1954 unsigned int lun = SCSI_LUN(srb); in xd_rw()
|
/drivers/scsi/ |
D | BusLogic.h | 975 unsigned char SCSI_LUN; /* Byte 7 */ member
|
/drivers/usb/storage/ |
D | realtek_cr.c | 124 #define SCSI_LUN(srb) ((srb)->device->lun) macro
|