Lines Matching refs:CommandStatus
472 Command->V1.CommandStatus = 0; in DAC960_V1_ClearCommand()
485 Command->V2.CommandStatus = 0; in DAC960_V2_ClearCommand()
812 DAC960_V1_CommandStatus_T CommandStatus; in DAC960_V1_ExecuteType3() local
818 CommandStatus = Command->V1.CommandStatus; in DAC960_V1_ExecuteType3()
820 return (CommandStatus == DAC960_V1_NormalCompletion); in DAC960_V1_ExecuteType3()
837 DAC960_V1_CommandStatus_T CommandStatus; in DAC960_V1_ExecuteType3B() local
844 CommandStatus = Command->V1.CommandStatus; in DAC960_V1_ExecuteType3B()
846 return (CommandStatus == DAC960_V1_NormalCompletion); in DAC960_V1_ExecuteType3B()
864 DAC960_V1_CommandStatus_T CommandStatus; in DAC960_V1_ExecuteType3D() local
872 CommandStatus = Command->V1.CommandStatus; in DAC960_V1_ExecuteType3D()
874 return (CommandStatus == DAC960_V1_NormalCompletion); in DAC960_V1_ExecuteType3D()
890 DAC960_V2_CommandStatus_T CommandStatus; in DAC960_V2_GeneralInfo() local
909 CommandStatus = Command->V2.CommandStatus; in DAC960_V2_GeneralInfo()
911 return (CommandStatus == DAC960_V2_NormalCompletion); in DAC960_V2_GeneralInfo()
928 DAC960_V2_CommandStatus_T CommandStatus; in DAC960_V2_NewControllerInfo() local
948 CommandStatus = Command->V2.CommandStatus; in DAC960_V2_NewControllerInfo()
950 return (CommandStatus == DAC960_V2_NormalCompletion); in DAC960_V2_NewControllerInfo()
967 DAC960_V2_CommandStatus_T CommandStatus; in DAC960_V2_NewLogicalDeviceInfo() local
991 CommandStatus = Command->V2.CommandStatus; in DAC960_V2_NewLogicalDeviceInfo()
993 return (CommandStatus == DAC960_V2_NormalCompletion); in DAC960_V2_NewLogicalDeviceInfo()
1020 DAC960_V2_CommandStatus_T CommandStatus; in DAC960_V2_NewPhysicalDeviceInfo() local
1045 CommandStatus = Command->V2.CommandStatus; in DAC960_V2_NewPhysicalDeviceInfo()
1047 return (CommandStatus == DAC960_V2_NormalCompletion); in DAC960_V2_NewPhysicalDeviceInfo()
1103 DAC960_V2_CommandStatus_T CommandStatus; in DAC960_V2_NewInquiryUnitSerialNumber() local
1114 CommandStatus = Command->V2.CommandStatus; in DAC960_V2_NewInquiryUnitSerialNumber()
1116 return (CommandStatus == DAC960_V2_NormalCompletion); in DAC960_V2_NewInquiryUnitSerialNumber()
1133 DAC960_V2_CommandStatus_T CommandStatus; in DAC960_V2_DeviceOperation() local
1144 CommandStatus = Command->V2.CommandStatus; in DAC960_V2_DeviceOperation()
1146 return (CommandStatus == DAC960_V2_NormalCompletion); in DAC960_V2_DeviceOperation()
1176 DAC960_V1_CommandStatus_T CommandStatus; in DAC960_V1_EnableMemoryMailboxInterface() local
1311 CommandStatus = DAC960_LA_ReadStatusRegister(ControllerBaseAddress); in DAC960_V1_EnableMemoryMailboxInterface()
1314 if (CommandStatus == DAC960_V1_NormalCompletion) return true; in DAC960_V1_EnableMemoryMailboxInterface()
1339 CommandStatus = DAC960_PG_ReadStatusRegister(ControllerBaseAddress); in DAC960_V1_EnableMemoryMailboxInterface()
1342 if (CommandStatus == DAC960_V1_NormalCompletion) return true; in DAC960_V1_EnableMemoryMailboxInterface()
1383 DAC960_V2_CommandStatus_T CommandStatus; in DAC960_V2_EnableMemoryMailboxInterface() local
1503 CommandStatus = DAC960_GEM_ReadCommandStatus(ControllerBaseAddress); in DAC960_V2_EnableMemoryMailboxInterface()
1514 CommandStatus = DAC960_BA_ReadCommandStatus(ControllerBaseAddress); in DAC960_V2_EnableMemoryMailboxInterface()
1525 CommandStatus = DAC960_LP_ReadCommandStatus(ControllerBaseAddress); in DAC960_V2_EnableMemoryMailboxInterface()
1531 CommandStatus = DAC960_V2_AbormalCompletion; in DAC960_V2_EnableMemoryMailboxInterface()
1536 return (CommandStatus == DAC960_V2_NormalCompletion); in DAC960_V2_EnableMemoryMailboxInterface()
2069 if (Command->V1.CommandStatus != DAC960_V1_NormalCompletion) { in DAC960_V1_ReadDeviceConfiguration()
2093 if (Command->V1.CommandStatus != DAC960_V1_NormalCompletion) { in DAC960_V1_ReadDeviceConfiguration()
3506 switch (Command->V1.CommandStatus) in DAC960_V1_ReadWriteError()
3525 Controller, Command->V1.CommandStatus, CommandName); in DAC960_V1_ReadWriteError()
3546 DAC960_V1_CommandStatus_T CommandStatus = Command->V1.CommandStatus; in DAC960_V1_ProcessCompletedCommand() local
3553 CommandStatus = DAC960_V1_IrrecoverableDataError; in DAC960_V1_ProcessCompletedCommand()
3556 if (CommandStatus == DAC960_V1_NormalCompletion) { in DAC960_V1_ProcessCompletedCommand()
3561 } else if (CommandStatus == DAC960_V1_IrrecoverableDataError || in DAC960_V1_ProcessCompletedCommand()
3562 CommandStatus == DAC960_V1_BadDataEncountered) in DAC960_V1_ProcessCompletedCommand()
3573 if (CommandStatus != DAC960_V1_LogicalDriveNonexistentOrOffline) in DAC960_V1_ProcessCompletedCommand()
3592 if (CommandStatus != DAC960_V1_NormalCompletion) { in DAC960_V1_ProcessCompletedCommand()
3594 if (CommandStatus != DAC960_V1_LogicalDriveNonexistentOrOffline) in DAC960_V1_ProcessCompletedCommand()
3922 if (CommandStatus == DAC960_V1_NoRebuildOrCheckInProgress && in DAC960_V1_ProcessCompletedCommand()
3924 CommandStatus = DAC960_V1_RebuildSuccessful; in DAC960_V1_ProcessCompletedCommand()
3925 switch (CommandStatus) in DAC960_V1_ProcessCompletedCommand()
3960 Controller->V1.LastRebuildStatus = CommandStatus; in DAC960_V1_ProcessCompletedCommand()
3964 Command->V1.CommandStatus = Controller->V1.PendingRebuildStatus; in DAC960_V1_ProcessCompletedCommand()
3968 CommandStatus != DAC960_V1_NormalCompletion && in DAC960_V1_ProcessCompletedCommand()
3969 CommandStatus != DAC960_V1_NoRebuildOrCheckInProgress) in DAC960_V1_ProcessCompletedCommand()
3971 Controller->V1.PendingRebuildStatus = CommandStatus; in DAC960_V1_ProcessCompletedCommand()
3983 if (CommandStatus == DAC960_V1_NormalCompletion) in DAC960_V1_ProcessCompletedCommand()
4005 switch (CommandStatus) in DAC960_V1_ProcessCompletedCommand()
4089 if (CommandStatus != DAC960_V1_NormalCompletion) in DAC960_V1_ProcessCompletedCommand()
4107 if (CommandStatus != DAC960_V1_NormalCompletion) in DAC960_V1_ProcessCompletedCommand()
4306 KernelCommand->CommandStatus = Command->V1.CommandStatus; in DAC960_V1_ProcessCompletedCommand()
4633 DAC960_V2_CommandStatus_T CommandStatus = Command->V2.CommandStatus; in DAC960_V2_ProcessCompletedCommand() local
4640 CommandStatus = DAC960_V2_AbormalCompletion; in DAC960_V2_ProcessCompletedCommand()
4644 if (CommandStatus == DAC960_V2_NormalCompletion) { in DAC960_V2_ProcessCompletedCommand()
4681 if (CommandStatus != DAC960_V2_NormalCompletion) { in DAC960_V2_ProcessCompletedCommand()
4726 if (CommandStatus == DAC960_V2_NormalCompletion) { in DAC960_V2_ProcessCompletedCommand()
4732 CommandStatus == DAC960_V2_NormalCompletion) in DAC960_V2_ProcessCompletedCommand()
4944 CommandStatus == DAC960_V2_NormalCompletion) in DAC960_V2_ProcessCompletedCommand()
5102 if (CommandStatus != DAC960_V2_NormalCompletion) { in DAC960_V2_ProcessCompletedCommand()
5229 KernelCommand->CommandStatus = CommandStatus; in DAC960_V2_ProcessCompletedCommand()
5279 Command->V2.CommandStatus = NextStatusMailbox->Fields.CommandStatus; in DAC960_GEM_InterruptHandler()
5320 Command->V2.CommandStatus = NextStatusMailbox->Fields.CommandStatus; in DAC960_BA_InterruptHandler()
5362 Command->V2.CommandStatus = NextStatusMailbox->Fields.CommandStatus; in DAC960_LP_InterruptHandler()
5404 Command->V1.CommandStatus = NextStatusMailbox->Fields.CommandStatus; in DAC960_LA_InterruptHandler()
5442 Command->V1.CommandStatus = NextStatusMailbox->Fields.CommandStatus; in DAC960_PG_InterruptHandler()
5477 Command->V1.CommandStatus = in DAC960_PD_InterruptHandler()
5518 Command->V1.CommandStatus = in DAC960_P_InterruptHandler()
5922 switch (Command->V1.CommandStatus) in DAC960_V1_SetDeviceState()
5952 Command->V1.CommandStatus); in DAC960_V1_SetDeviceState()
6037 switch (Command->V1.CommandStatus) in DAC960_V1_ExecuteUserCommand()
6067 Channel, TargetID, Command->V1.CommandStatus); in DAC960_V1_ExecuteUserCommand()
6079 switch (Command->V1.CommandStatus) in DAC960_V1_ExecuteUserCommand()
6118 LogicalDriveNumber, Command->V1.CommandStatus); in DAC960_V1_ExecuteUserCommand()
6145 switch (Command->V1.CommandStatus) in DAC960_V1_ExecuteUserCommand()
6155 Controller, Command->V1.CommandStatus); in DAC960_V1_ExecuteUserCommand()
6216 return (Command->V2.CommandStatus == DAC960_V2_NormalCompletion); in DAC960_V2_TranslatePhysicalDevice()
6268 (Command->V2.CommandStatus in DAC960_V2_ExecuteUserCommand()
6287 (Command->V2.CommandStatus in DAC960_V2_ExecuteUserCommand()
6306 (Command->V2.CommandStatus in DAC960_V2_ExecuteUserCommand()
6323 (Command->V2.CommandStatus in DAC960_V2_ExecuteUserCommand()
6340 (Command->V2.CommandStatus in DAC960_V2_ExecuteUserCommand()
6360 (Command->V2.CommandStatus in DAC960_V2_ExecuteUserCommand()
6378 (Command->V2.CommandStatus in DAC960_V2_ExecuteUserCommand()
6387 (Command->V2.CommandStatus in DAC960_V2_ExecuteUserCommand()
6390 if (Command->V2.CommandStatus == DAC960_V2_NormalCompletion) in DAC960_V2_ExecuteUserCommand()
6680 DAC960_V1_CommandStatus_T CommandStatus; in DAC960_gam_ioctl() local
6803 CommandStatus = Command->V1.CommandStatus; in DAC960_gam_ioctl()
6829 ErrorCode = CommandStatus; in DAC960_gam_ioctl()
6847 DAC960_V2_CommandStatus_T CommandStatus; in DAC960_gam_ioctl() local
6959 CommandStatus = Command->V2.CommandStatus; in DAC960_gam_ioctl()
6994 ErrorCode = CommandStatus; in DAC960_gam_ioctl()