Lines Matching defs:u32

1254  * @param   u32         The value being written.
1256 static int lsilogicRegisterWrite(PLSILOGICSCSI pThis, uint32_t offReg, uint32_t u32)
1258 LogFlowFunc(("pThis=%#p offReg=%#x u32=%#x\n", pThis, offReg, u32));
1264 ASMAtomicWriteU32(&pThis->CTX_SUFF(pReplyFreeQueueBase)[pThis->uReplyFreeQueueNextEntryFreeWrite], u32);
1273 ASMAtomicWriteU32(&pThis->CTX_SUFF(pRequestQueueBase)[uNextWrite], u32);
1315 uint32_t uFunction = LSILOGIC_REG_DOORBELL_GET_FUNCTION(u32);
1348 pThis->cMessage = LSILOGIC_REG_DOORBELL_GET_SIZE(u32);
1383 pThis->aMessage[pThis->iMessage++] = u32;
1436 ASMAtomicWriteU32(&pThis->uInterruptMask, u32 & LSILOGIC_REG_HOST_INTR_MASK_W_MASK);
1449 else if ((u32 & 0xf) == g_lsilogicDiagnosticAccess[pThis->iDiagnosticAccess])
1475 if (u32 & LSILOGIC_REG_HOST_DIAGNOSTIC_RESET_ADAPTER)
1477 else if (u32 & LSILOGIC_REG_HOST_DIAGNOSTIC_DIAG_RW_ENABLE)
1490 lsilogicR3DiagRegDataWrite(pThis, u32);
1502 lsilogicR3DiagRegAddressWrite(pThis, u32);
1526 uint32_t u32 = 0;
1543 u32 = pThis->CTX_SUFF(pReplyPostQueueBase)[idxReplyPostQueueRead];
1551 u32 = UINT32_C(0xffffffff);
1556 Log(("%s: Returning address %#x\n", __FUNCTION__, u32));
1561 u32 = LSILOGIC_REG_DOORBELL_SET_STATE(pThis->enmState);
1562 u32 |= LSILOGIC_REG_DOORBELL_SET_USED(pThis->enmDoorbellState);
1563 u32 |= LSILOGIC_REG_DOORBELL_SET_WHOINIT(pThis->enmWhoInit);
1573 u32 |= pThis->u16IOCFaultCode;
1577 u32 |= pThis->ReplyBuffer.au16Reply[pThis->uNextReplyEntryRead++];
1584 u32 |= cReplyFrames & UINT32_C(0xffff);
1593 u32 |= cReplyFrames >> 16;
1601 u32 |= pThis->CTX_SUFF(pReplyFreeQueueBase)[pThis->uReplyFreeQueueNextAddressRead] & UINT32_C(0xffff);
1607 u32 |= pThis->CTX_SUFF(pReplyFreeQueueBase)[pThis->uReplyFreeQueueNextAddressRead] >> 16;
1621 u32 = ASMAtomicReadU32(&pThis->uInterruptStatus);
1626 u32 = ASMAtomicReadU32(&pThis->uInterruptMask);
1632 u32 |= LSILOGIC_REG_HOST_DIAGNOSTIC_DRWE;
1634 u32 |= LSILOGIC_REG_HOST_DIAGNOSTIC_DIAG_RW_ENABLE;
1644 lsilogicR3DiagRegDataRead(pThis, &u32);
1655 lsilogicR3DiagRegAddressRead(pThis, &u32);
1668 *pu32 = u32;
1669 LogFlowFunc(("pThis=%#p offReg=%#x u32=%#x\n", pThis, offReg, u32));
1676 PDMBOTHCBDECL(int) lsilogicIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb)
1684 rc = lsilogicRegisterWrite(pThis, offReg, u32);
1690 Log(("lsilogicIOPortWrite: Ignoring misaligned write - offReg=%#x u32=%#x cb=%#x\n", offReg, u32, cb));
1719 uint32_t u32;
1724 u32 = *(uint32_t const *)pv;
1728 u32 = *(uint32_t const *)pv;
1730 u32 = *(uint16_t const *)pv;
1732 u32 = *(uint8_t const *)pv;
1733 Log(("lsilogicMMIOWrite: Non-DWORD write access - offReg=%#x u32=%#x cb=%#x\n", offReg, u32, cb));
1737 rc = lsilogicRegisterWrite(pThis, offReg, u32);
1740 Log(("lsilogicIOPortWrite: Ignoring misaligned write - offReg=%#x u32=%#x cb=%#x\n", offReg, u32, cb));
3827 static DECLCALLBACK(int) lsilogicR3IsaIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb)
3830 Log2(("#%d %s: pvUser=%#p cb=%d u32=%#x Port=%#x\n", pDevIns->iInstance, __FUNCTION__, pvUser, cb, u32, Port));
3837 int rc = vboxscsiWriteRegister(&pThis->VBoxSCSI, iRegister, (uint8_t)u32);
4860 uint32_t u32;
4861 rc = SSMR3GetU32(pSSM, &u32);
4864 AssertMsgReturn(u32 == ~0U, ("%#x\n", u32), VERR_SSM_DATA_UNIT_FORMAT_CHANGED);