Lines Matching defs:sdev
751 int sas_ioctl(struct scsi_device *sdev, unsigned int cmd, void __user *arg)
753 struct domain_device *dev = sdev_to_domain_dev(sdev);
756 return ata_sas_scsi_ioctl(dev->sata_dev.ap, sdev, cmd, arg);
834 int sas_change_queue_depth(struct scsi_device *sdev, int depth)
836 struct domain_device *dev = sdev_to_domain_dev(sdev);
839 return ata_change_queue_depth(dev->sata_dev.ap, sdev, depth);
841 if (!sdev->tagged_supported)
843 return scsi_change_queue_depth(sdev, depth);
1196 int sas_slave_alloc(struct scsi_device *sdev)
1198 if (dev_is_sata(sdev_to_domain_dev(sdev)) && sdev->lun)