Lines Matching defs:depth
384 * total capacity and the queue depth supported by the target device.
385 * A queue depth of one automatically disables tagged queueing.
392 unsigned int depth = 0;
404 depth = aac->hba_map[chn][tid].qd_limit;
464 depth = (host->can_queue - num_one) / num_lsu;
480 depth = 32;
482 depth = 64;
495 if (depth > 256)
496 depth = 256;
497 else if (depth < 1)
498 depth = 1;
500 scsi_change_queue_depth(sdev, depth);
510 * @depth: desired queue depth
513 * total capacity and the queue depth supported by the target device.
516 static int aac_change_queue_depth(struct scsi_device *sdev, int depth)
541 if (depth > (host->can_queue - num))
542 depth = host->can_queue - num;
543 if (depth > 256)
544 depth = 256;
545 else if (depth < 2)
546 depth = 2;
547 return scsi_change_queue_depth(sdev, depth);