Lines Matching refs:QueueDepth
1646 unsigned char QueueDepth = 0;
1647 if (HostAdapter->DriverOptions != NULL && HostAdapter->DriverOptions->QueueDepth[TargetID] > 0)
1648 QueueDepth = HostAdapter->DriverOptions->QueueDepth[TargetID];
1650 QueueDepth = BusLogic_TaggedQueueDepthBB;
1651 HostAdapter->QueueDepth[TargetID] = QueueDepth;
1809 if (HostAdapter->QueueDepth[TargetID] != HostAdapter->QueueDepth[0]) {
1814 if (HostAdapter->QueueDepth[0] > 0)
1815 BusLogic_Info("%d", HostAdapter, HostAdapter->QueueDepth[0]);
2151 int QueueDepth = HostAdapter->QueueDepth[TargetID];
2154 if (QueueDepth == 0)
2155 QueueDepth = BusLogic_MaxAutomaticTaggedQueueDepth;
2156 HostAdapter->QueueDepth[TargetID] = QueueDepth;
2157 scsi_adjust_queue_depth(Device, MSG_SIMPLE_TAG, QueueDepth);
2160 QueueDepth = HostAdapter->UntaggedQueueDepth;
2161 HostAdapter->QueueDepth[TargetID] = QueueDepth;
2162 scsi_adjust_queue_depth(Device, 0, QueueDepth);
2164 QueueDepth = 0;
2167 QueueDepth += HostAdapter->QueueDepth[TargetID];
2169 if (QueueDepth > HostAdapter->AllocatedCCBs)
2170 BusLogic_CreateAdditionalCCBs(HostAdapter, QueueDepth - HostAdapter->AllocatedCCBs, false);
3148 " %3d %3u %9u %9u\n", HostAdapter->QueueDepth[TargetID], HostAdapter->ActiveCommands[TargetID], TargetStatistics[TargetID].CommandsAttempted, TargetStatistics[TargetID].CommandsCompleted);
3358 else if (BusLogic_ParseKeyword(&OptionsString, "QueueDepth:[") || BusLogic_ParseKeyword(&OptionsString, "QD:[")) {
3360 unsigned short QueueDepth = simple_strtoul(OptionsString, &OptionsString, 0);
3361 if (QueueDepth > BusLogic_MaxTaggedQueueDepth) {
3362 BusLogic_Error("BusLogic: Invalid Driver Options " "(invalid Queue Depth %d)\n", NULL, QueueDepth);
3365 DriverOptions->QueueDepth[TargetID] = QueueDepth;
3380 } else if (BusLogic_ParseKeyword(&OptionsString, "QueueDepth:") || BusLogic_ParseKeyword(&OptionsString, "QD:")) {
3381 unsigned short QueueDepth = simple_strtoul(OptionsString, &OptionsString, 0);
3382 if (QueueDepth == 0 || QueueDepth > BusLogic_MaxTaggedQueueDepth) {
3383 BusLogic_Error("BusLogic: Invalid Driver Options " "(invalid Queue Depth %d)\n", NULL, QueueDepth);
3386 DriverOptions->CommonQueueDepth = QueueDepth;
3388 DriverOptions->QueueDepth[TargetID] = QueueDepth;
3461 if (DriverOptions->QueueDepth[TargetID] == 1) {