Lines Matching refs:pDrvIns
54 PPDMDRVINS pDrvIns;
327 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
328 PDRVMAINKEYBOARD pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD);
330 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBASE, &pDrvIns->IBase);
340 * @param pDrvIns The driver instance data.
342 DECLCALLBACK(void) Keyboard::i_drvDestruct(PPDMDRVINS pDrvIns)
344 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns);
345 PDRVMAINKEYBOARD pThis = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD);
346 LogFlow(("Keyboard::drvDestruct: iInstance=%d\n", pDrvIns->iInstance));
366 DECLCALLBACK(int) Keyboard::i_drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
368 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
369 PDRVMAINKEYBOARD pThis = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD);
370 LogFlow(("Keyboard::drvConstruct: iInstance=%d\n", pDrvIns->iInstance));
377 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER,
384 pDrvIns->IBase.pfnQueryInterface = Keyboard::i_drvQueryInterface;
392 pThis->pUpPort = PDMIBASE_QUERY_INTERFACE(pDrvIns->pUpBase, PDMIKEYBOARDPORT);