Lines Matching defs:sdev
784 int sas_ioctl(struct scsi_device *sdev, unsigned int cmd, void __user *arg)
786 struct domain_device *dev = sdev_to_domain_dev(sdev);
789 return ata_sas_scsi_ioctl(dev->sata_dev.ap, sdev, cmd, arg);
864 int sas_change_queue_depth(struct scsi_device *sdev, int depth)
866 struct domain_device *dev = sdev_to_domain_dev(sdev);
869 return __ata_change_queue_depth(dev->sata_dev.ap, sdev, depth);
871 if (!sdev->tagged_supported)
873 return scsi_change_queue_depth(sdev, depth);
914 int sas_slave_alloc(struct scsi_device *sdev)
916 if (dev_is_sata(sdev_to_domain_dev(sdev)) && sdev->lun)