Lines Matching refs:Channel

857 				       unsigned char Channel,  in DAC960_V1_ExecuteType3D()  argument
867 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_ExecuteType3D()
1013 unsigned char Channel, in DAC960_V2_NewPhysicalDeviceInfo() argument
1032 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = Channel; in DAC960_V2_NewPhysicalDeviceInfo()
1052 DAC960_V2_CommandMailbox_T *CommandMailbox, int Channel, int TargetID, in DAC960_V2_ConstructNewUnitSerialNumber() argument
1064 CommandMailbox->SCSI_10.PhysicalDevice.Channel = Channel; in DAC960_V2_ConstructNewUnitSerialNumber()
1098 int Channel, int TargetID, int LogicalUnit) in DAC960_V2_NewInquiryUnitSerialNumber() argument
1110 Channel, TargetID, LogicalUnit); in DAC960_V2_NewInquiryUnitSerialNumber()
1547 int LogicalDriveNumber, Channel, TargetID; in DAC960_V1_ReadControllerConfiguration() local
1584 for (Channel = 0; Channel < Enquiry2->ActualChannels; Channel++) in DAC960_V1_ReadControllerConfiguration()
1587 Channel, TargetID, in DAC960_V1_ReadControllerConfiguration()
1592 memcpy(&Controller->V1.DeviceState[Channel][TargetID], in DAC960_V1_ReadControllerConfiguration()
1888 PhysicalDevice.Channel = NewLogicalDeviceInfo->Channel; in DAC960_V2_ReadControllerConfiguration()
1980 int Channel, TargetID; in DAC960_V1_ReadDeviceConfiguration() local
1989 for (Channel = 0; Channel < Controller->Channels; Channel++) { in DAC960_V1_ReadDeviceConfiguration()
1990 DCDBs_cpu[Channel] = slice_dma_loaf(&local_dma, in DAC960_V1_ReadDeviceConfiguration()
1991 sizeof(DAC960_V1_DCDB_T), DCDBs_dma + Channel); in DAC960_V1_ReadDeviceConfiguration()
1992 SCSI_Inquiry_cpu[Channel] = slice_dma_loaf(&local_dma, in DAC960_V1_ReadDeviceConfiguration()
1994 SCSI_Inquiry_dma + Channel); in DAC960_V1_ReadDeviceConfiguration()
1995 SCSI_NewInquiryUnitSerialNumberCPU[Channel] = slice_dma_loaf(&local_dma, in DAC960_V1_ReadDeviceConfiguration()
1997 SCSI_NewInquiryUnitSerialNumberDMA + Channel); in DAC960_V1_ReadDeviceConfiguration()
2008 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReadDeviceConfiguration()
2010 dma_addr_t NewInquiryStandardDataDMA = SCSI_Inquiry_dma[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2011 DAC960_V1_DCDB_T *DCDB = DCDBs_cpu[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2012 dma_addr_t DCDB_dma = DCDBs_dma[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2013 DAC960_Command_T *Command = Controller->Commands[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2014 struct completion *Completion = &Completions[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2022 DCDB->Channel = Channel; in DAC960_V1_ReadDeviceConfiguration()
2050 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReadDeviceConfiguration()
2053 &Controller->V1.InquiryStandardData[Channel][TargetID]; in DAC960_V1_ReadDeviceConfiguration()
2054 DAC960_SCSI_Inquiry_T *NewInquiryStandardData = SCSI_Inquiry_cpu[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2056 SCSI_NewInquiryUnitSerialNumberDMA[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2058 SCSI_NewInquiryUnitSerialNumberCPU[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2060 &Controller->V1.InquiryUnitSerialNumber[Channel][TargetID]; in DAC960_V1_ReadDeviceConfiguration()
2061 DAC960_Command_T *Command = Controller->Commands[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2062 DAC960_V1_DCDB_T *DCDB = DCDBs_cpu[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2063 struct completion *Completion = &Completions[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2115 unsigned char Channel = 0, TargetID = 0, LogicalUnit = 0; in DAC960_V2_ReadDeviceConfiguration() local
2127 if (!DAC960_V2_NewPhysicalDeviceInfo(Controller, Channel, TargetID, LogicalUnit)) in DAC960_V2_ReadDeviceConfiguration()
2148 Channel = NewPhysicalDeviceInfo->Channel; in DAC960_V2_ReadDeviceConfiguration()
2158 if (!DAC960_V2_NewInquiryUnitSerialNumber(Controller, Channel, TargetID, LogicalUnit)) { in DAC960_V2_ReadDeviceConfiguration()
2239 int LogicalDriveNumber, Channel, TargetID; in DAC960_V1_ReportDeviceConfiguration() local
2241 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReportDeviceConfiguration()
2245 &Controller->V1.InquiryStandardData[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
2247 &Controller->V1.InquiryUnitSerialNumber[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
2249 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
2251 &Controller->V1.ErrorTable.ErrorTableEntries[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
2261 Controller, Channel, TargetID, (TargetID < 10 ? " " : ""), in DAC960_V1_ReportDeviceConfiguration()
2268 if (Controller->V1.DeviceResetCount[Channel][TargetID] > 0) in DAC960_V1_ReportDeviceConfiguration()
2280 Controller->V1.DeviceResetCount[Channel][TargetID]); in DAC960_V1_ReportDeviceConfiguration()
2357 PhysicalDeviceInfo->Channel, in DAC960_V2_ReportDeviceConfiguration()
3769 EventLogEntry->Channel, in DAC960_V1_ProcessCompletedCommand()
3777 Controller->V1.DeviceResetCount[EventLogEntry->Channel] in DAC960_V1_ProcessCompletedCommand()
3789 EventLogEntry->Channel, in DAC960_V1_ProcessCompletedCommand()
3798 EventLogEntry->Channel, in DAC960_V1_ProcessCompletedCommand()
3816 int Channel, TargetID; in DAC960_V1_ProcessCompletedCommand() local
3817 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ProcessCompletedCommand()
3821 &NewErrorTable->ErrorTableEntries[Channel][TargetID]; in DAC960_V1_ProcessCompletedCommand()
3823 &OldErrorTable->ErrorTableEntries[Channel][TargetID]; in DAC960_V1_ProcessCompletedCommand()
3835 Controller, Channel, TargetID, in DAC960_V1_ProcessCompletedCommand()
4171 DCDB->Channel = Controller->V1.DeviceStateChannel; in DAC960_V1_ProcessCompletedCommand()
4201 DCDB->Channel = Controller->V1.DeviceStateChannel; in DAC960_V1_ProcessCompletedCommand()
4240 Command->V1.CommandMailbox.Type3D.Channel = in DAC960_V1_ProcessCompletedCommand()
4309 Controller->V1.DirectCommandActive[KernelCommand->DCDB->Channel] in DAC960_V1_ProcessCompletedCommand()
4539 Event->Channel, Event->TargetID, EventMessage); in DAC960_V2_ReportEvent()
4559 Event->Channel, Event->TargetID, EventMessage); in DAC960_V2_ReportEvent()
4563 Event->Channel, in DAC960_V2_ReportEvent()
4572 Event->Channel, in DAC960_V2_ReportEvent()
4745 (NewPhysicalDeviceInfo->Channel > in DAC960_V2_ProcessCompletedCommand()
4746 PhysicalDeviceInfo->Channel || in DAC960_V2_ProcessCompletedCommand()
4747 (NewPhysicalDeviceInfo->Channel == in DAC960_V2_ProcessCompletedCommand()
4748 PhysicalDeviceInfo->Channel && in DAC960_V2_ProcessCompletedCommand()
4758 PhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4785 (NewPhysicalDeviceInfo->Channel != in DAC960_V2_ProcessCompletedCommand()
4786 PhysicalDeviceInfo->Channel) || in DAC960_V2_ProcessCompletedCommand()
4807 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4844 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4891 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4901 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4936 PhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4958 PhysicalDevice.Channel = NewLogicalDeviceInfo->Channel; in DAC960_V2_ProcessCompletedCommand()
5148 Controller->V2.NewPhysicalDeviceInformation->Channel, in DAC960_V2_ProcessCompletedCommand()
5159 Controller->V2.NewPhysicalDeviceInformation->Channel = 0; in DAC960_V2_ProcessCompletedCommand()
5171 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = in DAC960_V2_ProcessCompletedCommand()
5172 Controller->V2.NewPhysicalDeviceInformation->Channel; in DAC960_V2_ProcessCompletedCommand()
5853 unsigned char *Channel, in DAC960_ParsePhysicalDevice() argument
5872 *Channel = XChannel; in DAC960_ParsePhysicalDevice()
5911 unsigned char Channel, in DAC960_V1_SetDeviceState() argument
5919 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_SetDeviceState()
5928 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5933 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5938 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5943 Controller, DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5948 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5953 DeviceStateString, Channel, TargetID, in DAC960_V1_SetDeviceState()
5971 unsigned char Channel, TargetID, LogicalDriveNumber; in DAC960_V1_ExecuteUserCommand() local
5989 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
5992 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
5996 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
5999 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6003 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6006 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
6010 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
6013 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6018 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6021 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
6025 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
6029 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6033 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6036 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_ExecuteUserCommand()
6043 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6049 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6054 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6059 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6064 "in Progress\n", Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6069 Channel, TargetID, Command->V1.CommandStatus); in DAC960_V1_ExecuteUserCommand()
6181 unsigned char Channel, in DAC960_V2_TranslatePhysicalDevice() argument
6201 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = Channel; in DAC960_V2_TranslatePhysicalDevice()
6233 unsigned char Channel, TargetID, LogicalDriveNumber; in DAC960_V2_ExecuteUserCommand() local
6257 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6258 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6269 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6276 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6277 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6288 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6295 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6296 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6307 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6314 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6315 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6324 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6331 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6332 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6341 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6673 if (DCDB.Channel >= DAC960_V1_MaxChannels) in DAC960_gam_v1_execute_command()
6722 while (Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_gam_v1_execute_command()
6728 [DCDB.Channel][DCDB.TargetID]); in DAC960_gam_v1_execute_command()
6731 Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_gam_v1_execute_command()
6775 Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_gam_v1_execute_command()