Lines Matching defs:StatusRegister
342 union BusLogic_StatusRegister StatusRegister;
366 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
367 if (StatusRegister.sr.HostAdapterReady && !StatusRegister.sr.CommandParameterRegisterBusy)
400 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
405 if (StatusRegister.sr.DataInRegisterReady)
407 if (StatusRegister.sr.CommandParameterRegisterBusy)
421 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
422 if (StatusRegister.sr.CommandInvalid) {
428 BusLogic_Notice("BusLogic_Command(%02X) Status = %02X: " "(Modify I/O Address)\n", HostAdapter, OperationCode, StatusRegister.All);
454 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
459 if (StatusRegister.sr.DataInRegisterReady) {
465 if (OperationCode == BusLogic_FetchHostAdapterLocalRAM && StatusRegister.sr.HostAdapterReady)
483 BusLogic_Notice("BusLogic_Command(%02X) Status = %02X: %2d ==> %2d:", HostAdapter, OperationCode, StatusRegister.All, ReplyLength, ReplyBytes);
493 if (StatusRegister.sr.CommandInvalid) {
503 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
504 if (StatusRegister.sr.CommandInvalid ||
505 StatusRegister.sr.Reserved ||
506 StatusRegister.sr.DataInRegisterReady ||
507 StatusRegister.sr.CommandParameterRegisterBusy || !StatusRegister.sr.HostAdapterReady || !StatusRegister.sr.InitializationRequired || StatusRegister.sr.DiagnosticActive || StatusRegister.sr.DiagnosticFailure) {
1041 union BusLogic_StatusRegister StatusRegister;
1072 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
1076 BusLogic_Notice("BusLogic_Probe(0x%X): Status 0x%02X, Interrupt 0x%02X, " "Geometry 0x%02X\n", HostAdapter, HostAdapter->IO_Address, StatusRegister.All, InterruptRegister.All, GeometryRegister.All);
1077 if (StatusRegister.All == 0 || StatusRegister.sr.DiagnosticActive || StatusRegister.sr.CommandParameterRegisterBusy || StatusRegister.sr.Reserved || StatusRegister.sr.CommandInvalid || InterruptRegister.ir.Reserved != 0)
1113 union BusLogic_StatusRegister StatusRegister;
1143 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
1144 if (StatusRegister.sr.DiagnosticActive)
1149 BusLogic_Notice("BusLogic_HardwareReset(0x%X): Diagnostic Active, " "Status 0x%02X\n", HostAdapter, HostAdapter->IO_Address, StatusRegister.All);
1163 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
1164 if (!StatusRegister.sr.DiagnosticActive)
1169 BusLogic_Notice("BusLogic_HardwareReset(0x%X): Diagnostic Completed, " "Status 0x%02X\n", HostAdapter, HostAdapter->IO_Address, StatusRegister.All);
1178 StatusRegister.All = BusLogic_ReadStatusRegister(HostAdapter);
1179 if (StatusRegister.sr.DiagnosticFailure || StatusRegister.sr.HostAdapterReady || StatusRegister.sr.DataInRegisterReady)
1184 BusLogic_Notice("BusLogic_HardwareReset(0x%X): Host Adapter Ready, " "Status 0x%02X\n", HostAdapter, HostAdapter->IO_Address, StatusRegister.All);
1192 if (StatusRegister.sr.DiagnosticFailure || !StatusRegister.sr.HostAdapterReady) {
1195 BusLogic_Error("HOST ADAPTER STATUS REGISTER = %02X\n", HostAdapter, StatusRegister.All);
1196 if (StatusRegister.sr.DataInRegisterReady) {