Lines Matching defs:sdev
298 static int nv_adma_slave_config(struct scsi_device *sdev);
320 static int nv_swncq_slave_config(struct scsi_device *sdev);
657 static int nv_adma_slave_config(struct scsi_device *sdev)
659 struct ata_port *ap = ata_shost_to_port(sdev->host);
669 rc = ata_scsi_slave_config(sdev);
671 if (sdev->id >= ATA_MAX_DEVICES || sdev->channel || sdev->lun)
677 if (ap->link.device[sdev->id].class == ATA_DEV_ATAPI) {
736 blk_queue_segment_boundary(sdev->request_queue, segment_boundary);
737 blk_queue_max_segments(sdev->request_queue, sg_tablesize);
1880 static int nv_swncq_slave_config(struct scsi_device *sdev)
1882 struct ata_port *ap = ata_shost_to_port(sdev->host);
1890 rc = ata_scsi_slave_config(sdev);
1891 if (sdev->id >= ATA_MAX_DEVICES || sdev->channel || sdev->lun)
1895 dev = &ap->link.device[sdev->id];
1918 ata_scsi_change_queue_depth(sdev, 1);
1920 sdev->queue_depth);