Searched refs:set_sense_type (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/staging/rts_pstor/ |
D | rtsx_scsi.c | 149 void set_sense_type(struct rtsx_chip *chip, unsigned int lun, int sense_type) in set_sense_type() function 251 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in test_unit_ready() 257 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_CHANGE); in test_unit_ready() 266 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_CHANGE); in test_unit_ready() 269 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_READ_FORBIDDEN); in test_unit_ready() 413 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in start_stop_unit() 433 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_MEDIA_INVALID_CMD_FIELD); in allow_medium_removal() 452 set_sense_type(chip, lun, SENSE_TYPE_NO_SENSE); in request_sense() 461 set_sense_type(chip, lun, SENSE_TYPE_FORMAT_CMD_FAILED); in request_sense() 482 set_sense_type(chip, lun, SENSE_TYPE_NO_SENSE); in request_sense() [all …]
|
D | ms.c | 2909 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_NO_SENSE); in mspro_format() 3335 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_MEDIA_UNRECOVER_READ_ERR); in ms_rw_fail() 3337 set_sense_type(chip, SCSI_LUN(srb), SENSE_TYPE_MEDIA_WRITE_ERR); in ms_rw_fail() 3378 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in ms_rw_multi_sector() 3394 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_ERR); in ms_rw_multi_sector() 3408 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_ERR); in ms_rw_multi_sector() 3415 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_ERR); in ms_rw_multi_sector() 3422 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in ms_rw_multi_sector() 3425 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_ERR); in ms_rw_multi_sector() 3436 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in ms_rw_multi_sector() [all …]
|
D | xd.c | 1777 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in xd_rw() 1790 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in xd_rw() 1807 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_ERR); in xd_rw() 1822 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_ERR); in xd_rw() 1829 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_ERR); in xd_rw() 1836 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in xd_rw() 1839 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_ERR); in xd_rw() 1850 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in xd_rw() 1853 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_UNRECOVER_READ_ERR); in xd_rw() 1860 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_UNRECOVER_READ_ERR); in xd_rw() [all …]
|
D | sd.c | 3816 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_CHANGE); in sd_pass_thru_mode() 3823 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_INVALID_CMD_FIELD); in sd_pass_thru_mode() 3837 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_INVALID_CMD_FIELD); in sd_pass_thru_mode() 3906 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_INVALID_CMD_FIELD); in sd_execute_no_data() 3917 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_CHANGE); in sd_execute_no_data() 3934 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_INVALID_CMD_FIELD); in sd_execute_no_data() 4005 set_sense_type(chip, lun, SENSE_TYPE_NO_SENSE); in sd_execute_no_data() 4009 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); in sd_execute_no_data() 4026 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_INVALID_CMD_FIELD); in sd_execute_read_data() 4032 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_CHANGE); in sd_execute_read_data() [all …]
|
D | rtsx_scsi.h | 136 void set_sense_type(struct rtsx_chip *chip, unsigned int lun, int sense_type);
|
D | rtsx_chip.c | 989 set_sense_type(chip, i, SENSE_TYPE_NO_SENSE); in rtsx_init_chip()
|