Lines Matching refs:queue_depth
1056 int queue_depth) in ata_change_queue_depth() argument
1065 if (!dev || queue_depth < 1 || queue_depth == sdev->queue_depth) { in ata_change_queue_depth()
1067 return sdev->queue_depth; in ata_change_queue_depth()
1076 if (queue_depth > max_queue_depth) { in ata_change_queue_depth()
1085 if (queue_depth == 1 || !ata_ncq_supported(dev)) { in ata_change_queue_depth()
1087 queue_depth = 1; in ata_change_queue_depth()
1094 if (queue_depth == sdev->queue_depth) in ata_change_queue_depth()
1095 return sdev->queue_depth; in ata_change_queue_depth()
1097 return scsi_change_queue_depth(sdev, queue_depth); in ata_change_queue_depth()
1116 int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth) in ata_scsi_change_queue_depth() argument
1120 return ata_change_queue_depth(ap, sdev, queue_depth); in ata_scsi_change_queue_depth()