Lines Matching refs:queue_depth
1247 int queue_depth) in ata_change_queue_depth() argument
1256 if (!dev || queue_depth < 1 || queue_depth == sdev->queue_depth) { in ata_change_queue_depth()
1258 return sdev->queue_depth; in ata_change_queue_depth()
1267 if (queue_depth > max_queue_depth) { in ata_change_queue_depth()
1276 if (queue_depth == 1 || !ata_ncq_supported(dev)) { in ata_change_queue_depth()
1278 queue_depth = 1; in ata_change_queue_depth()
1285 if (queue_depth == sdev->queue_depth) in ata_change_queue_depth()
1286 return sdev->queue_depth; in ata_change_queue_depth()
1288 return scsi_change_queue_depth(sdev, queue_depth); in ata_change_queue_depth()
1307 int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth) in ata_scsi_change_queue_depth() argument
1311 return ata_change_queue_depth(ap, sdev, queue_depth); in ata_scsi_change_queue_depth()