• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:QueueDepth

1650 		unsigned char QueueDepth = 0;
1651 if (HostAdapter->DriverOptions != NULL && HostAdapter->DriverOptions->QueueDepth[TargetID] > 0)
1652 QueueDepth = HostAdapter->DriverOptions->QueueDepth[TargetID];
1654 QueueDepth = BusLogic_TaggedQueueDepthBB;
1655 HostAdapter->QueueDepth[TargetID] = QueueDepth;
1813 if (HostAdapter->QueueDepth[TargetID] != HostAdapter->QueueDepth[0]) {
1818 if (HostAdapter->QueueDepth[0] > 0)
1819 BusLogic_Info("%d", HostAdapter, HostAdapter->QueueDepth[0]);
2155 int QueueDepth = HostAdapter->QueueDepth[TargetID];
2158 if (QueueDepth == 0)
2159 QueueDepth = BusLogic_MaxAutomaticTaggedQueueDepth;
2160 HostAdapter->QueueDepth[TargetID] = QueueDepth;
2161 scsi_adjust_queue_depth(Device, MSG_SIMPLE_TAG, QueueDepth);
2164 QueueDepth = HostAdapter->UntaggedQueueDepth;
2165 HostAdapter->QueueDepth[TargetID] = QueueDepth;
2166 scsi_adjust_queue_depth(Device, 0, QueueDepth);
2168 QueueDepth = 0;
2171 QueueDepth += HostAdapter->QueueDepth[TargetID];
2173 if (QueueDepth > HostAdapter->AllocatedCCBs)
2174 BusLogic_CreateAdditionalCCBs(HostAdapter, QueueDepth - HostAdapter->AllocatedCCBs, false);
3153 " %3d %3u %9u %9u\n", HostAdapter->QueueDepth[TargetID], HostAdapter->ActiveCommands[TargetID], TargetStatistics[TargetID].CommandsAttempted, TargetStatistics[TargetID].CommandsCompleted);
3363 else if (BusLogic_ParseKeyword(&OptionsString, "QueueDepth:[") || BusLogic_ParseKeyword(&OptionsString, "QD:[")) {
3365 unsigned short QueueDepth = simple_strtoul(OptionsString, &OptionsString, 0);
3366 if (QueueDepth > BusLogic_MaxTaggedQueueDepth) {
3367 BusLogic_Error("BusLogic: Invalid Driver Options " "(invalid Queue Depth %d)\n", NULL, QueueDepth);
3370 DriverOptions->QueueDepth[TargetID] = QueueDepth;
3385 } else if (BusLogic_ParseKeyword(&OptionsString, "QueueDepth:") || BusLogic_ParseKeyword(&OptionsString, "QD:")) {
3386 unsigned short QueueDepth = simple_strtoul(OptionsString, &OptionsString, 0);
3387 if (QueueDepth == 0 || QueueDepth > BusLogic_MaxTaggedQueueDepth) {
3388 BusLogic_Error("BusLogic: Invalid Driver Options " "(invalid Queue Depth %d)\n", NULL, QueueDepth);
3391 DriverOptions->CommonQueueDepth = QueueDepth;
3393 DriverOptions->QueueDepth[TargetID] = QueueDepth;
3466 if (DriverOptions->QueueDepth[TargetID] == 1) {