Lines Matching refs:queue_depth
1281 int queue_depth) in ata_change_queue_depth() argument
1290 if (!dev || queue_depth < 1 || queue_depth == sdev->queue_depth) { in ata_change_queue_depth()
1292 return sdev->queue_depth; in ata_change_queue_depth()
1301 if (queue_depth > max_queue_depth) { in ata_change_queue_depth()
1310 if (queue_depth == 1 || !ata_ncq_supported(dev)) { in ata_change_queue_depth()
1312 queue_depth = 1; in ata_change_queue_depth()
1319 if (queue_depth == sdev->queue_depth) in ata_change_queue_depth()
1320 return sdev->queue_depth; in ata_change_queue_depth()
1322 return scsi_change_queue_depth(sdev, queue_depth); in ata_change_queue_depth()
1341 int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth) in ata_scsi_change_queue_depth() argument
1345 return ata_change_queue_depth(ap, sdev, queue_depth); in ata_scsi_change_queue_depth()