Lines Matching defs:depth
386 * total capacity and the queue depth supported by the target device.
387 * A queue depth of one automatically disables tagged queueing.
394 unsigned int depth = 0;
406 depth = aac->hba_map[chn][tid].qd_limit;
466 depth = (host->can_queue - num_one) / num_lsu;
482 depth = 32;
484 depth = 64;
497 if (depth > 256)
498 depth = 256;
499 else if (depth < 1)
500 depth = 1;
502 scsi_change_queue_depth(sdev, depth);
512 * @depth: desired queue depth
515 * total capacity and the queue depth supported by the target device.
518 static int aac_change_queue_depth(struct scsi_device *sdev, int depth)
543 if (depth > (host->can_queue - num))
544 depth = host->can_queue - num;
545 if (depth > 256)
546 depth = 256;
547 else if (depth < 2)
548 depth = 2;
549 return scsi_change_queue_depth(sdev, depth);