Lines Matching refs:Channel

858 				       unsigned char Channel,  in DAC960_V1_ExecuteType3D()  argument
868 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_ExecuteType3D()
1014 unsigned char Channel, in DAC960_V2_NewPhysicalDeviceInfo() argument
1033 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = Channel; in DAC960_V2_NewPhysicalDeviceInfo()
1053 DAC960_V2_CommandMailbox_T *CommandMailbox, int Channel, int TargetID, in DAC960_V2_ConstructNewUnitSerialNumber() argument
1065 CommandMailbox->SCSI_10.PhysicalDevice.Channel = Channel; in DAC960_V2_ConstructNewUnitSerialNumber()
1099 int Channel, int TargetID, int LogicalUnit) in DAC960_V2_NewInquiryUnitSerialNumber() argument
1111 Channel, TargetID, LogicalUnit); in DAC960_V2_NewInquiryUnitSerialNumber()
1552 int LogicalDriveNumber, Channel, TargetID; in DAC960_V1_ReadControllerConfiguration() local
1589 for (Channel = 0; Channel < Enquiry2->ActualChannels; Channel++) in DAC960_V1_ReadControllerConfiguration()
1592 Channel, TargetID, in DAC960_V1_ReadControllerConfiguration()
1597 memcpy(&Controller->V1.DeviceState[Channel][TargetID], in DAC960_V1_ReadControllerConfiguration()
1890 PhysicalDevice.Channel = NewLogicalDeviceInfo->Channel; in DAC960_V2_ReadControllerConfiguration()
1982 int Channel, TargetID; in DAC960_V1_ReadDeviceConfiguration() local
1991 for (Channel = 0; Channel < Controller->Channels; Channel++) { in DAC960_V1_ReadDeviceConfiguration()
1992 DCDBs_cpu[Channel] = slice_dma_loaf(&local_dma, in DAC960_V1_ReadDeviceConfiguration()
1993 sizeof(DAC960_V1_DCDB_T), DCDBs_dma + Channel); in DAC960_V1_ReadDeviceConfiguration()
1994 SCSI_Inquiry_cpu[Channel] = slice_dma_loaf(&local_dma, in DAC960_V1_ReadDeviceConfiguration()
1996 SCSI_Inquiry_dma + Channel); in DAC960_V1_ReadDeviceConfiguration()
1997 SCSI_NewInquiryUnitSerialNumberCPU[Channel] = slice_dma_loaf(&local_dma, in DAC960_V1_ReadDeviceConfiguration()
1999 SCSI_NewInquiryUnitSerialNumberDMA + Channel); in DAC960_V1_ReadDeviceConfiguration()
2010 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReadDeviceConfiguration()
2012 dma_addr_t NewInquiryStandardDataDMA = SCSI_Inquiry_dma[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2013 DAC960_V1_DCDB_T *DCDB = DCDBs_cpu[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2014 dma_addr_t DCDB_dma = DCDBs_dma[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2015 DAC960_Command_T *Command = Controller->Commands[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2016 struct completion *Completion = &Completions[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2024 DCDB->Channel = Channel; in DAC960_V1_ReadDeviceConfiguration()
2052 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReadDeviceConfiguration()
2055 &Controller->V1.InquiryStandardData[Channel][TargetID]; in DAC960_V1_ReadDeviceConfiguration()
2056 DAC960_SCSI_Inquiry_T *NewInquiryStandardData = SCSI_Inquiry_cpu[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2058 SCSI_NewInquiryUnitSerialNumberDMA[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2060 SCSI_NewInquiryUnitSerialNumberCPU[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2062 &Controller->V1.InquiryUnitSerialNumber[Channel][TargetID]; in DAC960_V1_ReadDeviceConfiguration()
2063 DAC960_Command_T *Command = Controller->Commands[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2064 DAC960_V1_DCDB_T *DCDB = DCDBs_cpu[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2065 struct completion *Completion = &Completions[Channel]; in DAC960_V1_ReadDeviceConfiguration()
2117 unsigned char Channel = 0, TargetID = 0, LogicalUnit = 0; in DAC960_V2_ReadDeviceConfiguration() local
2129 if (!DAC960_V2_NewPhysicalDeviceInfo(Controller, Channel, TargetID, LogicalUnit)) in DAC960_V2_ReadDeviceConfiguration()
2150 Channel = NewPhysicalDeviceInfo->Channel; in DAC960_V2_ReadDeviceConfiguration()
2160 if (!DAC960_V2_NewInquiryUnitSerialNumber(Controller, Channel, TargetID, LogicalUnit)) { in DAC960_V2_ReadDeviceConfiguration()
2241 int LogicalDriveNumber, Channel, TargetID; in DAC960_V1_ReportDeviceConfiguration() local
2243 for (Channel = 0; Channel < Controller->Channels; Channel++) in DAC960_V1_ReportDeviceConfiguration()
2247 &Controller->V1.InquiryStandardData[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
2249 &Controller->V1.InquiryUnitSerialNumber[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
2251 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
2253 &Controller->V1.ErrorTable.ErrorTableEntries[Channel][TargetID]; in DAC960_V1_ReportDeviceConfiguration()
2263 Controller, Channel, TargetID, (TargetID < 10 ? " " : ""), in DAC960_V1_ReportDeviceConfiguration()
2270 if (Controller->V1.DeviceResetCount[Channel][TargetID] > 0) in DAC960_V1_ReportDeviceConfiguration()
2282 Controller->V1.DeviceResetCount[Channel][TargetID]); in DAC960_V1_ReportDeviceConfiguration()
2359 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()
4537 Event->Channel, Event->TargetID, EventMessage); in DAC960_V2_ReportEvent()
4557 Event->Channel, Event->TargetID, EventMessage); in DAC960_V2_ReportEvent()
4561 Event->Channel, in DAC960_V2_ReportEvent()
4570 Event->Channel, in DAC960_V2_ReportEvent()
4743 (NewPhysicalDeviceInfo->Channel > in DAC960_V2_ProcessCompletedCommand()
4744 PhysicalDeviceInfo->Channel || in DAC960_V2_ProcessCompletedCommand()
4745 (NewPhysicalDeviceInfo->Channel == in DAC960_V2_ProcessCompletedCommand()
4746 PhysicalDeviceInfo->Channel && in DAC960_V2_ProcessCompletedCommand()
4756 PhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4783 (NewPhysicalDeviceInfo->Channel != in DAC960_V2_ProcessCompletedCommand()
4784 PhysicalDeviceInfo->Channel) || in DAC960_V2_ProcessCompletedCommand()
4805 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4842 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4889 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4899 NewPhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4934 PhysicalDeviceInfo->Channel, in DAC960_V2_ProcessCompletedCommand()
4956 PhysicalDevice.Channel = NewLogicalDeviceInfo->Channel; in DAC960_V2_ProcessCompletedCommand()
5146 Controller->V2.NewPhysicalDeviceInformation->Channel, in DAC960_V2_ProcessCompletedCommand()
5157 Controller->V2.NewPhysicalDeviceInformation->Channel = 0; in DAC960_V2_ProcessCompletedCommand()
5169 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = in DAC960_V2_ProcessCompletedCommand()
5170 Controller->V2.NewPhysicalDeviceInformation->Channel; in DAC960_V2_ProcessCompletedCommand()
5851 unsigned char *Channel, in DAC960_ParsePhysicalDevice() argument
5870 *Channel = XChannel; in DAC960_ParsePhysicalDevice()
5909 unsigned char Channel, in DAC960_V1_SetDeviceState() argument
5917 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_SetDeviceState()
5926 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5931 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5936 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5941 Controller, DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5946 DeviceStateString, Channel, TargetID); in DAC960_V1_SetDeviceState()
5951 DeviceStateString, Channel, TargetID, in DAC960_V1_SetDeviceState()
5969 unsigned char Channel, TargetID, LogicalDriveNumber; in DAC960_V1_ExecuteUserCommand() local
5987 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
5990 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
5994 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
5997 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6001 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6004 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
6008 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
6011 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6016 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6019 &Controller->V1.DeviceState[Channel][TargetID]; in DAC960_V1_ExecuteUserCommand()
6023 DAC960_V1_SetDeviceState(Controller, Command, Channel, TargetID, in DAC960_V1_ExecuteUserCommand()
6027 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6031 &Channel, &TargetID)) in DAC960_V1_ExecuteUserCommand()
6034 CommandMailbox->Type3D.Channel = Channel; in DAC960_V1_ExecuteUserCommand()
6041 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6047 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6052 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6057 Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6062 "in Progress\n", Controller, Channel, TargetID); in DAC960_V1_ExecuteUserCommand()
6067 Channel, TargetID, Command->V1.CommandStatus); in DAC960_V1_ExecuteUserCommand()
6179 unsigned char Channel, in DAC960_V2_TranslatePhysicalDevice() argument
6199 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = Channel; in DAC960_V2_TranslatePhysicalDevice()
6231 unsigned char Channel, TargetID, LogicalDriveNumber; in DAC960_V2_ExecuteUserCommand() local
6255 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6256 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6267 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6274 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6275 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6286 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6293 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6294 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6305 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6312 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6313 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6322 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6329 &Channel, &TargetID) && in DAC960_V2_ExecuteUserCommand()
6330 DAC960_V2_TranslatePhysicalDevice(Command, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6339 Controller, Channel, TargetID, in DAC960_V2_ExecuteUserCommand()
6719 if (DCDB.Channel >= DAC960_V1_MaxChannels) in DAC960_gam_ioctl()
6768 while (Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_gam_ioctl()
6774 [DCDB.Channel][DCDB.TargetID]); in DAC960_gam_ioctl()
6777 Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_gam_ioctl()
6821 Controller->V1.DirectCommandActive[DCDB.Channel] in DAC960_gam_ioctl()