Lines Matching refs:Channel

608 				       unsigned char Channel,  in DAC960_V1_ExecuteType3D()  argument
618 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_ExecuteType3D()
757 unsigned char Channel, in DAC960_V2_PhysicalDeviceInfo() argument
776 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = Channel; in DAC960_V2_PhysicalDeviceInfo()
1067 int LogicalDriveNumber, Channel, TargetID; in DAC960_V1_ReadControllerConfiguration() local
1078 for (Channel = 0; Channel < Enquiry2.ActualChannels; Channel++) in DAC960_V1_ReadControllerConfiguration()
1081 Channel, TargetID, in DAC960_V1_ReadControllerConfiguration()
1083 [Channel][TargetID])) in DAC960_V1_ReadControllerConfiguration()
1363 PhysicalDevice.Channel = NewLogicalDeviceInfo->Channel; in DAC960_V2_ReadControllerConfiguration()
1445 int Channel, TargetID; in DAC960_V1_ReadDeviceConfiguration() local
1448 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReadDeviceConfiguration()
1450 DAC960_Command_T *Command = Controller->Commands[Channel]; in DAC960_V1_ReadDeviceConfiguration()
1452 &Controller->V1.InquiryStandardData[Channel][TargetID]; in DAC960_V1_ReadDeviceConfiguration()
1454 Completion = &Completions[Channel]; in DAC960_V1_ReadDeviceConfiguration()
1456 DCDB = &DCDBs[Channel]; in DAC960_V1_ReadDeviceConfiguration()
1462 DCDB->Channel = Channel; in DAC960_V1_ReadDeviceConfiguration()
1484 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReadDeviceConfiguration()
1486 DAC960_Command_T *Command = Controller->Commands[Channel]; in DAC960_V1_ReadDeviceConfiguration()
1488 &Controller->V1.InquiryUnitSerialNumber[Channel][TargetID]; in DAC960_V1_ReadDeviceConfiguration()
1490 Completion = &Completions[Channel]; in DAC960_V1_ReadDeviceConfiguration()
1495 DCDB = &DCDBs[Channel]; in DAC960_V1_ReadDeviceConfiguration()
1525 unsigned char Channel = 0, TargetID = 0, LogicalUnit = 0; in DAC960_V2_ReadDeviceConfiguration() local
1537 Channel, in DAC960_V2_ReadDeviceConfiguration()
1543 Channel = NewPhysicalDeviceInfo->Channel; in DAC960_V2_ReadDeviceConfiguration()
1576 CommandMailbox->SCSI_10.PhysicalDevice.Channel = Channel; in DAC960_V2_ReadDeviceConfiguration()
1668 int LogicalDriveNumber, Channel, TargetID; in DAC960_V1_ReportDeviceConfiguration() local
1670 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReportDeviceConfiguration()
1674 &Controller->V1.InquiryStandardData[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
1676 &Controller->V1.InquiryUnitSerialNumber[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
1678 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
1680 &Controller->V1.ErrorTable.ErrorTableEntries[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
1690 Controller, Channel, TargetID, (TargetID < 10 ? " " : ""), in DAC960_V1_ReportDeviceConfiguration()
1697 if (Controller->V1.DeviceResetCount[Channel][TargetID] > 0) in DAC960_V1_ReportDeviceConfiguration()
1709 Controller->V1.DeviceResetCount[Channel][TargetID]); in DAC960_V1_ReportDeviceConfiguration()
1786 PhysicalDeviceInfo->Channel, in DAC960_V2_ReportDeviceConfiguration()
3408 EventLogEntry->Channel, in DAC960_V1_ProcessCompletedCommand()
3416 Controller->V1.DeviceResetCount[EventLogEntry->Channel] in DAC960_V1_ProcessCompletedCommand()
3428 EventLogEntry->Channel, in DAC960_V1_ProcessCompletedCommand()
3437 EventLogEntry->Channel, in DAC960_V1_ProcessCompletedCommand()
3455 int Channel, TargetID; in DAC960_V1_ProcessCompletedCommand() local
3456 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ProcessCompletedCommand()
3460 &NewErrorTable->ErrorTableEntries[Channel][TargetID]; in DAC960_V1_ProcessCompletedCommand()
3462 &OldErrorTable->ErrorTableEntries[Channel][TargetID]; in DAC960_V1_ProcessCompletedCommand()
3474 Controller, Channel, TargetID, in DAC960_V1_ProcessCompletedCommand()
3759 DCDB->Channel = Controller->V1.DeviceStateChannel; in DAC960_V1_ProcessCompletedCommand()
3792 DCDB->Channel = Controller->V1.DeviceStateChannel; in DAC960_V1_ProcessCompletedCommand()
3832 Command->V1.CommandMailbox.Type3D.Channel = in DAC960_V1_ProcessCompletedCommand()
3901 Controller->V1.DirectCommandActive[KernelCommand->DCDB->Channel] in DAC960_V1_ProcessCompletedCommand()
4136 Event->Channel, Event->TargetID, EventMessage); in DAC960_V2_ReportEvent()
4156 Event->Channel, Event->TargetID, EventMessage); in DAC960_V2_ReportEvent()
4160 Event->Channel, in DAC960_V2_ReportEvent()
4169 Event->Channel, in DAC960_V2_ReportEvent()
4383 (NewPhysicalDeviceInfo->Channel > in DAC960_V2_ProcessCompletedCommand()
4384 PhysicalDeviceInfo->Channel || in DAC960_V2_ProcessCompletedCommand()
4385 (NewPhysicalDeviceInfo->Channel == in DAC960_V2_ProcessCompletedCommand()
4386 PhysicalDeviceInfo->Channel && in DAC960_V2_ProcessCompletedCommand()
4396 PhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4423 (NewPhysicalDeviceInfo->Channel != in DAC960_V2_ProcessCompletedCommand()
4424 PhysicalDeviceInfo->Channel) || in DAC960_V2_ProcessCompletedCommand()
4444 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4481 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4528 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4538 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4573 PhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4595 PhysicalDevice.Channel = NewLogicalDeviceInfo->Channel; in DAC960_V2_ProcessCompletedCommand()
4775 CommandMailbox->SCSI_10.PhysicalDevice.Channel = in DAC960_V2_ProcessCompletedCommand()
4776 Controller->V2.NewPhysicalDeviceInformation.Channel; in DAC960_V2_ProcessCompletedCommand()
4800 Controller->V2.NewPhysicalDeviceInformation.Channel = 0; in DAC960_V2_ProcessCompletedCommand()
4812 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = in DAC960_V2_ProcessCompletedCommand()
4813 Controller->V2.NewPhysicalDeviceInformation.Channel; in DAC960_V2_ProcessCompletedCommand()
5640 if (DCDB.Channel >= DAC960_V1_MaxChannels) return -EINVAL; in DAC960_UserIOCTL()
5677 while (Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_UserIOCTL()
5683 [DCDB.Channel][DCDB.TargetID]); in DAC960_UserIOCTL()
5686 Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_UserIOCTL()
5725 Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_UserIOCTL()
5993 if (DCDB->Channel >= DAC960_V1_MaxChannels) return -EINVAL; in DAC960_KernelIOCTL()
6014 if (!Controller->V1.DirectCommandActive[DCDB->Channel] in DAC960_KernelIOCTL()
6022 else Controller->V1.DirectCommandActive[DCDB->Channel] in DAC960_KernelIOCTL()
6299 unsigned char *Channel, in DAC960_ParsePhysicalDevice() argument
6318 *Channel = XChannel; in DAC960_ParsePhysicalDevice()
6357 unsigned char Channel, in DAC960_V1_SetDeviceState() argument
6365 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_SetDeviceState()
6374 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
6379 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
6384 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
6389 Controller, DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
6394 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
6399 DeviceStateString, Channel, TargetID, in DAC960_V1_SetDeviceState()
6417 unsigned char Channel, TargetID, LogicalDriveNumber; in DAC960_V1_ExecuteUserCommand() local
6434 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6437 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
6441 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
6444 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6448 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6451 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
6455 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
6458 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6463 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6466 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
6470 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
6474 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6478 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6481 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_ExecuteUserCommand()
6488 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6494 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6499 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6504 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6509 "in Progress\n", Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6514 Channel, TargetID, Command->V1.CommandStatus); in DAC960_V1_ExecuteUserCommand()
6608 unsigned char Channel, in DAC960_V2_TranslatePhysicalDevice() argument
6626 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = Channel; in DAC960_V2_TranslatePhysicalDevice()
6656 unsigned char Channel, TargetID, LogicalDriveNumber; in DAC960_V2_ExecuteUserCommand() local
6679 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6680 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6691 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6698 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6699 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6710 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6717 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6718 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6729 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6736 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6737 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6746 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6753 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6754 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6763 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()