Lines Matching refs:Value32

64   UINT32                  Value32, Error, Timeout = 0;  in SiI3132AtaPassThruCommand()  local
217 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_SLOTSTATUS_REG, &Value32); in SiI3132AtaPassThruCommand()
219 while (!Timeout && !Value32) { in SiI3132AtaPassThruCommand()
221 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_SLOTSTATUS_REG, &Value32); in SiI3132AtaPassThruCommand()
225 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_INTSTATUS_REG, &Value32); in SiI3132AtaPassThruCommand()
227 while (!(Value32 & IrqMask)) { in SiI3132AtaPassThruCommand()
229 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_INTSTATUS_REG, &Value32); in SiI3132AtaPassThruCommand()
233 while (Timeout && !(Value32 & IrqMask)) { in SiI3132AtaPassThruCommand()
235 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_INTSTATUS_REG, &Value32); in SiI3132AtaPassThruCommand()
252 } else if (Value32 & (SII3132_PORT_INT_CMDERR << 16)) { in SiI3132AtaPassThruCommand()
254 DEBUG ((EFI_D_ERROR, "SiI3132AtaPassThru() CmdErr:0x%X (SiI3132 Err:0x%X)\n", Value32, Error)); in SiI3132AtaPassThruCommand()
257 } else if (Value32 & (SII3132_PORT_INT_CMDCOMPL << 16)) { in SiI3132AtaPassThruCommand()
655 UINT32 Value32; in SiI3132HwResetPort() local
665 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_STATUS_REG, &Value32); in SiI3132HwResetPort()
666 ASSERT (!(Value32 & SII3132_PORT_CONTROL_RESET)); in SiI3132HwResetPort()
680 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_INTSTATUS_REG, &Value32); in SiI3132HwResetPort()
682 while ((Timeout > 0) && ((Value32 & SII3132_PORT_INT_PORTRDY) == 0)) { in SiI3132HwResetPort()
685 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_INTSTATUS_REG, &Value32); in SiI3132HwResetPort()
693 } else if ((Value32 & SII3132_PORT_INT_PORTRDY) == 0) { in SiI3132HwResetPort()
792 UINT32 Value32; in SiI3132ResetDevice() local
812 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_STATUS_REG, &Value32); in SiI3132ResetDevice()
813 while ((Timeout > 0) && ((Value32 & SII3132_PORT_DEVICE_RESET) != 0)) { in SiI3132ResetDevice()
815 SATA_PORT_READ32 (SataPort->RegBase + SII3132_PORT_STATUS_REG, &Value32); in SiI3132ResetDevice()