Lines Matching refs:pDrvIns
76 PPDMDRVINS pDrvIns;
108 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
109 PDRVACPI pThis = PDMINS_2_DATA(pDrvIns, PDRVACPI);
111 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBASE, &pDrvIns->IBase);
510 * @param pDrvIns The driver instance data.
513 static DECLCALLBACK(int) drvACPIPoller(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
515 PDRVACPI pThis = PDMINS_2_DATA(pDrvIns, PDRVACPI);
899 static DECLCALLBACK(int) drvACPIPollerWakeup(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
901 PDRVACPI pThis = PDMINS_2_DATA(pDrvIns, PDRVACPI);
917 * @param pDrvIns The driver instance data.
919 static DECLCALLBACK(void) drvACPIDestruct(PPDMDRVINS pDrvIns)
921 PDRVACPI pThis = PDMINS_2_DATA(pDrvIns, PDRVACPI);
924 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns);
941 static DECLCALLBACK(int) drvACPIConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
943 PDRVACPI pThis = PDMINS_2_DATA(pDrvIns, PDRVACPI);
944 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
950 pThis->pDrvIns = pDrvIns;
955 pDrvIns->IBase.pfnQueryInterface = drvACPIQueryInterface;
969 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER,
976 pThis->pPort = PDMIBASE_QUERY_INTERFACE(pDrvIns->pUpBase, PDMIACPIPORT);
987 rc = PDMDrvHlpThreadCreate(pDrvIns, &pThis->pPollerThread, pThis, drvACPIPoller,