Lines Matching refs:ControllerInfo
930 CommandMailbox->ControllerInfo.CommandOpcode = DAC960_V2_IOCTL; in DAC960_V2_NewControllerInfo()
931 CommandMailbox->ControllerInfo.CommandControlBits in DAC960_V2_NewControllerInfo()
933 CommandMailbox->ControllerInfo.CommandControlBits in DAC960_V2_NewControllerInfo()
935 CommandMailbox->ControllerInfo.DataTransferSize = sizeof(DAC960_V2_ControllerInfo_T); in DAC960_V2_NewControllerInfo()
936 CommandMailbox->ControllerInfo.ControllerNumber = 0; in DAC960_V2_NewControllerInfo()
937 CommandMailbox->ControllerInfo.IOCTL_Opcode = DAC960_V2_GetControllerInfo; in DAC960_V2_NewControllerInfo()
938 CommandMailbox->ControllerInfo.DataTransferMemoryAddress in DAC960_V2_NewControllerInfo()
942 CommandMailbox->ControllerInfo.DataTransferMemoryAddress in DAC960_V2_NewControllerInfo()
945 CommandMailbox->ControllerInfo.DataTransferSize; in DAC960_V2_NewControllerInfo()
1787 DAC960_V2_ControllerInfo_T *ControllerInfo = in DAC960_V2_ReadControllerConfiguration() local
1795 memcpy(ControllerInfo, Controller->V2.NewControllerInformation, in DAC960_V2_ReadControllerConfiguration()
1805 ModelNameLength = sizeof(ControllerInfo->ControllerName); in DAC960_V2_ReadControllerConfiguration()
1808 memcpy(Controller->ModelName, ControllerInfo->ControllerName, in DAC960_V2_ReadControllerConfiguration()
1821 ControllerInfo->FirmwareMajorVersion, in DAC960_V2_ReadControllerConfiguration()
1822 ControllerInfo->FirmwareMinorVersion, in DAC960_V2_ReadControllerConfiguration()
1823 ControllerInfo->FirmwareTurnNumber); in DAC960_V2_ReadControllerConfiguration()
1824 if (ControllerInfo->FirmwareMajorVersion == 6 && in DAC960_V2_ReadControllerConfiguration()
1825 ControllerInfo->FirmwareMinorVersion == 0 && in DAC960_V2_ReadControllerConfiguration()
1826 ControllerInfo->FirmwareTurnNumber < 1) in DAC960_V2_ReadControllerConfiguration()
1838 Controller->Channels = ControllerInfo->NumberOfPhysicalChannelsPresent; in DAC960_V2_ReadControllerConfiguration()
1840 ControllerInfo->MaximumTargetsPerChannel in DAC960_V2_ReadControllerConfiguration()
1841 [ControllerInfo->NumberOfPhysicalChannelsPresent-1]; in DAC960_V2_ReadControllerConfiguration()
1842 Controller->MemorySize = ControllerInfo->MemorySizeMB; in DAC960_V2_ReadControllerConfiguration()
1850 Controller->ControllerQueueDepth = ControllerInfo->MaximumParallelCommands; in DAC960_V2_ReadControllerConfiguration()
1854 Controller->LogicalDriveCount = ControllerInfo->LogicalDevicesPresent; in DAC960_V2_ReadControllerConfiguration()
1856 ControllerInfo->MaximumDataTransferSizeInBlocks; in DAC960_V2_ReadControllerConfiguration()
1858 ControllerInfo->MaximumScatterGatherEntries; in DAC960_V2_ReadControllerConfiguration()
4710 DAC960_V2_ControllerInfo_T *ControllerInfo = in DAC960_V2_ProcessCompletedCommand() local
4723 memcpy(ControllerInfo, NewControllerInfo, in DAC960_V2_ProcessCompletedCommand()
5596 CommandMailbox->ControllerInfo.CommandOpcode = DAC960_V2_IOCTL; in DAC960_V2_QueueMonitoringCommand()
5597 CommandMailbox->ControllerInfo.CommandControlBits in DAC960_V2_QueueMonitoringCommand()
5599 CommandMailbox->ControllerInfo.CommandControlBits in DAC960_V2_QueueMonitoringCommand()
5601 CommandMailbox->ControllerInfo.DataTransferSize = in DAC960_V2_QueueMonitoringCommand()
5603 CommandMailbox->ControllerInfo.ControllerNumber = 0; in DAC960_V2_QueueMonitoringCommand()
5604 CommandMailbox->ControllerInfo.IOCTL_Opcode = DAC960_V2_GetControllerInfo; in DAC960_V2_QueueMonitoringCommand()
5605 CommandMailbox->ControllerInfo.DataTransferMemoryAddress in DAC960_V2_QueueMonitoringCommand()
5609 CommandMailbox->ControllerInfo.DataTransferMemoryAddress in DAC960_V2_QueueMonitoringCommand()
5612 CommandMailbox->ControllerInfo.DataTransferSize; in DAC960_V2_QueueMonitoringCommand()
5642 DAC960_V2_ControllerInfo_T *ControllerInfo = in DAC960_MonitoringTimerFunction() local
5670 (ControllerInfo->BackgroundInitializationsActive + in DAC960_MonitoringTimerFunction()
5671 ControllerInfo->LogicalDeviceInitializationsActive + in DAC960_MonitoringTimerFunction()
5672 ControllerInfo->PhysicalDeviceInitializationsActive + in DAC960_MonitoringTimerFunction()
5673 ControllerInfo->ConsistencyChecksActive + in DAC960_MonitoringTimerFunction()
5674 ControllerInfo->RebuildsActive + in DAC960_MonitoringTimerFunction()
5675 ControllerInfo->OnlineExpansionsActive == 0 || in DAC960_MonitoringTimerFunction()
6394 CommandMailbox->ControllerInfo.CommandOpcode = DAC960_V2_IOCTL; in DAC960_V2_ExecuteUserCommand()
6395 CommandMailbox->ControllerInfo.CommandControlBits in DAC960_V2_ExecuteUserCommand()
6397 CommandMailbox->ControllerInfo.CommandControlBits in DAC960_V2_ExecuteUserCommand()
6399 CommandMailbox->ControllerInfo.DataTransferSize = in DAC960_V2_ExecuteUserCommand()
6401 CommandMailbox->ControllerInfo.ControllerNumber = 0; in DAC960_V2_ExecuteUserCommand()
6402 CommandMailbox->ControllerInfo.IOCTL_Opcode = in DAC960_V2_ExecuteUserCommand()
6408 CommandMailbox->ControllerInfo.DataTransferMemoryAddress in DAC960_V2_ExecuteUserCommand()
6412 CommandMailbox->ControllerInfo.DataTransferMemoryAddress in DAC960_V2_ExecuteUserCommand()
6415 CommandMailbox->ControllerInfo.DataTransferSize; in DAC960_V2_ExecuteUserCommand()
6589 DAC960_ControllerInfo_T ControllerInfo; in DAC960_gam_get_controller_info() local
6608 memset(&ControllerInfo, 0, sizeof(DAC960_ControllerInfo_T)); in DAC960_gam_get_controller_info()
6609 ControllerInfo.ControllerNumber = ControllerNumber; in DAC960_gam_get_controller_info()
6610 ControllerInfo.FirmwareType = Controller->FirmwareType; in DAC960_gam_get_controller_info()
6611 ControllerInfo.Channels = Controller->Channels; in DAC960_gam_get_controller_info()
6612 ControllerInfo.Targets = Controller->Targets; in DAC960_gam_get_controller_info()
6613 ControllerInfo.PCI_Bus = Controller->Bus; in DAC960_gam_get_controller_info()
6614 ControllerInfo.PCI_Device = Controller->Device; in DAC960_gam_get_controller_info()
6615 ControllerInfo.PCI_Function = Controller->Function; in DAC960_gam_get_controller_info()
6616 ControllerInfo.IRQ_Channel = Controller->IRQ_Channel; in DAC960_gam_get_controller_info()
6617 ControllerInfo.PCI_Address = Controller->PCI_Address; in DAC960_gam_get_controller_info()
6618 strcpy(ControllerInfo.ModelName, Controller->ModelName); in DAC960_gam_get_controller_info()
6619 strcpy(ControllerInfo.FirmwareVersion, Controller->FirmwareVersion); in DAC960_gam_get_controller_info()
6620 ErrorCode = (copy_to_user(UserSpaceControllerInfo, &ControllerInfo, in DAC960_gam_get_controller_info()