Lines Matching refs:pDmacReg
3161 static DECLCALLBACK(int) pdmR3DevHlp_DMACRegister(PPDMDEVINS pDevIns, PPDMDMACREG pDmacReg, PCPDMDMACHLP *ppDmacHlp)
3165 LogFlow(("pdmR3DevHlp_DMACRegister: caller='%s'/%d: pDmacReg=%p:{.u32Version=%#x, .pfnRun=%p, .pfnRegister=%p, .pfnReadMemory=%p, .pfnWriteMemory=%p, .pfnSetDREQ=%p, .pfnGetChannelMode=%p} ppDmacHlp=%p\n",
3166 pDevIns->pReg->szName, pDevIns->iInstance, pDmacReg, pDmacReg->u32Version, pDmacReg->pfnRun, pDmacReg->pfnRegister,
3167 pDmacReg->pfnReadMemory, pDmacReg->pfnWriteMemory, pDmacReg->pfnSetDREQ, pDmacReg->pfnGetChannelMode, ppDmacHlp));
3172 if (pDmacReg->u32Version != PDM_DMACREG_VERSION)
3174 AssertMsgFailed(("u32Version=%#x expected %#x\n", pDmacReg->u32Version,
3180 if ( !pDmacReg->pfnRun
3181 || !pDmacReg->pfnRegister
3182 || !pDmacReg->pfnReadMemory
3183 || !pDmacReg->pfnWriteMemory
3184 || !pDmacReg->pfnSetDREQ
3185 || !pDmacReg->pfnGetChannelMode)
3187 Assert(pDmacReg->pfnRun);
3188 Assert(pDmacReg->pfnRegister);
3189 Assert(pDmacReg->pfnReadMemory);
3190 Assert(pDmacReg->pfnWriteMemory);
3191 Assert(pDmacReg->pfnSetDREQ);
3192 Assert(pDmacReg->pfnGetChannelMode);
3226 pDmac->Reg = *pDmacReg;