Lines Matching defs:sdev
3833 * enable_sdev_max_qd_show - display whether sdev max qd is enabled/disabled
3852 * enable_sdev_max_qd_store - Enable/disable sdev max qd
3872 struct scsi_device *sdev;
3882 shost_for_each_device(sdev, ioc->shost) {
3883 sas_device_priv_data = sdev->hostdata;
3920 mpt3sas_scsih_change_queue_depth(sdev, qdepth);
3925 shost_for_each_device(sdev, ioc->shost)
3926 mpt3sas_scsih_change_queue_depth(sdev,
3993 struct scsi_device *sdev = to_scsi_device(dev);
3994 struct MPT3SAS_DEVICE *sas_device_priv_data = sdev->hostdata;
4015 struct scsi_device *sdev = to_scsi_device(dev);
4016 struct MPT3SAS_DEVICE *sas_device_priv_data = sdev->hostdata;
4029 * A sysfs 'read-only' sdev attribute, only works with SATA
4035 struct scsi_device *sdev = to_scsi_device(dev);
4037 return sysfs_emit(buf, "%d\n", scsih_ncq_prio_supp(sdev));
4047 * A sysfs 'read/write' sdev attribute, only works with SATA
4053 struct scsi_device *sdev = to_scsi_device(dev);
4054 struct MPT3SAS_DEVICE *sas_device_priv_data = sdev->hostdata;
4065 struct scsi_device *sdev = to_scsi_device(dev);
4066 struct MPT3SAS_DEVICE *sas_device_priv_data = sdev->hostdata;
4072 if (!scsih_ncq_prio_supp(sdev))