Lines Matching defs:sdev
299 static int nv_adma_slave_config(struct scsi_device *sdev);
321 static int nv_swncq_slave_config(struct scsi_device *sdev);
664 static int nv_adma_slave_config(struct scsi_device *sdev)
666 struct ata_port *ap = ata_shost_to_port(sdev->host);
676 rc = ata_scsi_slave_config(sdev);
678 if (sdev->id >= ATA_MAX_DEVICES || sdev->channel || sdev->lun)
684 if (ap->link.device[sdev->id].class == ATA_DEV_ATAPI) {
743 blk_queue_segment_boundary(sdev->request_queue, segment_boundary);
744 blk_queue_max_segments(sdev->request_queue, sg_tablesize);
1871 static int nv_swncq_slave_config(struct scsi_device *sdev)
1873 struct ata_port *ap = ata_shost_to_port(sdev->host);
1881 rc = ata_scsi_slave_config(sdev);
1882 if (sdev->id >= ATA_MAX_DEVICES || sdev->channel || sdev->lun)
1886 dev = &ap->link.device[sdev->id];
1909 ata_scsi_change_queue_depth(sdev, 1);
1911 sdev->queue_depth);