Searched refs:modepage (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/scsi/ |
H A D | sd.c | 2748 sd_do_mode_sense(struct scsi_disk *sdkp, int dbd, int modepage, in sd_do_mode_sense() argument 2833 int modepage; in sd_read_cache_type() local 2852 modepage = 0x3F; in sd_read_cache_type() 2858 modepage = 6; in sd_read_cache_type() 2861 modepage = 8; in sd_read_cache_type() 2866 res = sd_do_mode_sense(sdkp, dbd, modepage, buffer, first_len, in sd_read_cache_type() 2873 modepage = 6; in sd_read_cache_type() 2893 if (modepage == 0x3F && sdp->use_192_bytes_for_3f) in sd_read_cache_type() 2898 res = sd_do_mode_sense(sdkp, dbd, modepage, buffer, len, in sd_read_cache_type() 2917 modepage = page_code; in sd_read_cache_type() [all …]
|
H A D | scsi_lib.c | 2168 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, int subpage, in scsi_mode_sense() argument 2187 cmd[2] = modepage; in scsi_mode_sense() 2251 (modepage == 6 || modepage == 8))) { in scsi_mode_sense()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | sddr09.c | 1628 int modepage = (srb->cmnd[2] & 0x3F); in sddr09_transport() local 1635 if (modepage == 0x01 || modepage == 0x3F) { in sddr09_transport() 1637 modepage); in sddr09_transport()
|
/openbmc/linux/include/scsi/ |
H A D | scsi_device.h | 451 int scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage,
|