Lines Matching refs:LogicalDeviceInfo
971 CommandMailbox->LogicalDeviceInfo.CommandOpcode = in DAC960_V2_NewLogicalDeviceInfo()
973 CommandMailbox->LogicalDeviceInfo.CommandControlBits in DAC960_V2_NewLogicalDeviceInfo()
975 CommandMailbox->LogicalDeviceInfo.CommandControlBits in DAC960_V2_NewLogicalDeviceInfo()
977 CommandMailbox->LogicalDeviceInfo.DataTransferSize = in DAC960_V2_NewLogicalDeviceInfo()
979 CommandMailbox->LogicalDeviceInfo.LogicalDevice.LogicalDeviceNumber = in DAC960_V2_NewLogicalDeviceInfo()
981 CommandMailbox->LogicalDeviceInfo.IOCTL_Opcode = DAC960_V2_GetLogicalDeviceInfoValid; in DAC960_V2_NewLogicalDeviceInfo()
982 CommandMailbox->LogicalDeviceInfo.DataTransferMemoryAddress in DAC960_V2_NewLogicalDeviceInfo()
986 CommandMailbox->LogicalDeviceInfo.DataTransferMemoryAddress in DAC960_V2_NewLogicalDeviceInfo()
989 CommandMailbox->LogicalDeviceInfo.DataTransferSize; in DAC960_V2_NewLogicalDeviceInfo()
1872 DAC960_V2_LogicalDeviceInfo_T *LogicalDeviceInfo; in DAC960_V2_ReadControllerConfiguration() local
1898 LogicalDeviceInfo = kmalloc(sizeof(DAC960_V2_LogicalDeviceInfo_T), in DAC960_V2_ReadControllerConfiguration()
1900 if (LogicalDeviceInfo == NULL) in DAC960_V2_ReadControllerConfiguration()
1903 LogicalDeviceInfo; in DAC960_V2_ReadControllerConfiguration()
1904 memcpy(LogicalDeviceInfo, NewLogicalDeviceInfo, in DAC960_V2_ReadControllerConfiguration()
2431 DAC960_V2_LogicalDeviceInfo_T *LogicalDeviceInfo = in DAC960_V2_ReportDeviceConfiguration() local
2444 if (LogicalDeviceInfo == NULL) continue; in DAC960_V2_ReportDeviceConfiguration()
2445 switch (LogicalDeviceInfo->DriveGeometry) in DAC960_V2_ReportDeviceConfiguration()
2456 Controller, LogicalDeviceInfo->DriveGeometry); in DAC960_V2_ReportDeviceConfiguration()
2461 LogicalDeviceInfo->RAIDLevel, in DAC960_V2_ReportDeviceConfiguration()
2462 (LogicalDeviceInfo->LogicalDeviceState in DAC960_V2_ReportDeviceConfiguration()
2465 : LogicalDeviceInfo->LogicalDeviceState in DAC960_V2_ReportDeviceConfiguration()
2468 LogicalDeviceInfo->ConfigurableDeviceSize); in DAC960_V2_ReportDeviceConfiguration()
2471 (LogicalDeviceInfo->LogicalDeviceControl in DAC960_V2_ReportDeviceConfiguration()
2475 if (LogicalDeviceInfo->StripeSize == 0) in DAC960_V2_ReportDeviceConfiguration()
2477 if (LogicalDeviceInfo->CacheLineSize == 0) in DAC960_V2_ReportDeviceConfiguration()
2483 1 << (LogicalDeviceInfo->CacheLineSize - 2)); in DAC960_V2_ReportDeviceConfiguration()
2487 if (LogicalDeviceInfo->CacheLineSize == 0) in DAC960_V2_ReportDeviceConfiguration()
2490 1 << (LogicalDeviceInfo->StripeSize - 2)); in DAC960_V2_ReportDeviceConfiguration()
2494 1 << (LogicalDeviceInfo->StripeSize - 2), in DAC960_V2_ReportDeviceConfiguration()
2495 1 << (LogicalDeviceInfo->CacheLineSize - 2)); in DAC960_V2_ReportDeviceConfiguration()
2499 LogicalDeviceInfo->LogicalDeviceControl.ReadCache], in DAC960_V2_ReportDeviceConfiguration()
2501 LogicalDeviceInfo->LogicalDeviceControl.WriteCache]); in DAC960_V2_ReportDeviceConfiguration()
2502 if (LogicalDeviceInfo->SoftErrors > 0 || in DAC960_V2_ReportDeviceConfiguration()
2503 LogicalDeviceInfo->CommandsFailed > 0 || in DAC960_V2_ReportDeviceConfiguration()
2504 LogicalDeviceInfo->DeferredWriteErrors) in DAC960_V2_ReportDeviceConfiguration()
2507 LogicalDeviceInfo->SoftErrors, in DAC960_V2_ReportDeviceConfiguration()
2508 LogicalDeviceInfo->CommandsFailed, in DAC960_V2_ReportDeviceConfiguration()
2509 LogicalDeviceInfo->DeferredWriteErrors); in DAC960_V2_ReportDeviceConfiguration()
4950 DAC960_V2_LogicalDeviceInfo_T *LogicalDeviceInfo = in DAC960_V2_ProcessCompletedCommand() local
4952 if (LogicalDeviceInfo == NULL) in DAC960_V2_ProcessCompletedCommand()
4961 LogicalDeviceInfo = kmalloc(sizeof(DAC960_V2_LogicalDeviceInfo_T), in DAC960_V2_ProcessCompletedCommand()
4964 LogicalDeviceInfo; in DAC960_V2_ProcessCompletedCommand()
4970 (LogicalDeviceInfo != NULL in DAC960_V2_ProcessCompletedCommand()
4972 if (LogicalDeviceInfo != NULL) in DAC960_V2_ProcessCompletedCommand()
4974 memset(LogicalDeviceInfo, 0, in DAC960_V2_ProcessCompletedCommand()
4979 if (LogicalDeviceInfo != NULL) in DAC960_V2_ProcessCompletedCommand()
4984 LogicalDeviceInfo->LogicalDeviceState) in DAC960_V2_ProcessCompletedCommand()
4997 LogicalDeviceInfo->SoftErrors) || in DAC960_V2_ProcessCompletedCommand()
4999 LogicalDeviceInfo->CommandsFailed) || in DAC960_V2_ProcessCompletedCommand()
5001 LogicalDeviceInfo->DeferredWriteErrors)) in DAC960_V2_ProcessCompletedCommand()
5052 if (LogicalDeviceInfo->BackgroundInitializationInProgress && in DAC960_V2_ProcessCompletedCommand()
5063 memcpy(LogicalDeviceInfo, NewLogicalDeviceInfo, in DAC960_V2_ProcessCompletedCommand()
5077 DAC960_V2_LogicalDeviceInfo_T *LogicalDeviceInfo = in DAC960_V2_ProcessCompletedCommand() local
5079 if (LogicalDeviceInfo == NULL || in DAC960_V2_ProcessCompletedCommand()
5090 kfree(LogicalDeviceInfo); in DAC960_V2_ProcessCompletedCommand()
5197 CommandMailbox->LogicalDeviceInfo.CommandOpcode = DAC960_V2_IOCTL; in DAC960_V2_ProcessCompletedCommand()
5198 CommandMailbox->LogicalDeviceInfo.DataTransferSize = in DAC960_V2_ProcessCompletedCommand()
5200 CommandMailbox->LogicalDeviceInfo.LogicalDevice.LogicalDeviceNumber = in DAC960_V2_ProcessCompletedCommand()
5202 CommandMailbox->LogicalDeviceInfo.IOCTL_Opcode = in DAC960_V2_ProcessCompletedCommand()
5204 CommandMailbox->LogicalDeviceInfo.DataTransferMemoryAddress in DAC960_V2_ProcessCompletedCommand()
5208 CommandMailbox->LogicalDeviceInfo.DataTransferMemoryAddress in DAC960_V2_ProcessCompletedCommand()
5211 CommandMailbox->LogicalDeviceInfo.DataTransferSize; in DAC960_V2_ProcessCompletedCommand()
5653 DAC960_V2_LogicalDeviceInfo_T *LogicalDeviceInfo = in DAC960_MonitoringTimerFunction() local
5655 if (LogicalDeviceInfo == NULL) continue; in DAC960_MonitoringTimerFunction()
5656 if (!LogicalDeviceInfo->LogicalDeviceControl in DAC960_MonitoringTimerFunction()
6316 CommandMailbox->LogicalDeviceInfo.LogicalDevice.LogicalDeviceNumber = in DAC960_V2_ExecuteUserCommand()
6318 CommandMailbox->LogicalDeviceInfo.IOCTL_Opcode = in DAC960_V2_ExecuteUserCommand()
6333 CommandMailbox->LogicalDeviceInfo.LogicalDevice.LogicalDeviceNumber = in DAC960_V2_ExecuteUserCommand()
6335 CommandMailbox->LogicalDeviceInfo.IOCTL_Opcode = in DAC960_V2_ExecuteUserCommand()