Lines Matching defs:sdev
3683 * enable_sdev_max_qd_show - display whether sdev max qd is enabled/disabled
3702 * enable_sdev_max_qd_store - Enable/disable sdev max qd
3722 struct scsi_device *sdev;
3732 shost_for_each_device(sdev, ioc->shost) {
3733 sas_device_priv_data = sdev->hostdata;
3769 mpt3sas_scsih_change_queue_depth(sdev, qdepth);
3774 shost_for_each_device(sdev, ioc->shost)
3775 mpt3sas_scsih_change_queue_depth(sdev,
3833 struct scsi_device *sdev = to_scsi_device(dev);
3834 struct MPT3SAS_DEVICE *sas_device_priv_data = sdev->hostdata;
3855 struct scsi_device *sdev = to_scsi_device(dev);
3856 struct MPT3SAS_DEVICE *sas_device_priv_data = sdev->hostdata;
3869 * A sysfs 'read/write' sdev attribute, only works with SATA
3875 struct scsi_device *sdev = to_scsi_device(dev);
3876 struct MPT3SAS_DEVICE *sas_device_priv_data = sdev->hostdata;
3887 struct scsi_device *sdev = to_scsi_device(dev);
3888 struct MPT3SAS_DEVICE *sas_device_priv_data = sdev->hostdata;
3894 if (!scsih_ncq_prio_supp(sdev))