Lines Matching refs:pSession

68     PSUPDRVSESSION     pSession;
177 rc = SUPR0ComponentQueryFactory(pVM->pSession, "VBoxRawPci", RAWPCIFACTORY_UUID_STR, (void **)&pFactory);
202 rc = SUPR0ComponentQueryFactory(pVM->pSession, "VBoxRawPci", RAWPCIFACTORY_UUID_STR, (void **)&pFactory);
245 PPCIRAWDEV pDev = (PPCIRAWDEV)RTHandleTableLookupWithCtx(g_State.hHtDevs, hDev, pSession); \
253 #define PUT_PORT() if (pDev->pvObj) SUPR0ObjRelease(pDev->pvObj, pSession)
520 static int pcirawr0OpenDevice(PSUPDRVSESSION pSession,
540 rc = SUPR0ComponentQueryFactory(pSession, "VBoxRawPci", RAWPCIFACTORY_UUID_STR, (void **)&pFactory);
581 pNew->pSession = pSession;
583 pNew->pvObj = SUPR0ObjRegister(pSession, SUPDRVOBJTYPE_RAW_PCI_DEVICE,
587 rc = RTHandleTableAllocWithCtx(g_State.hHtDevs, pNew, pSession, &hHandle);
595 SUPR0ObjRelease(pNew->pvObj, pSession);
608 static int pcirawr0CloseDevice(PSUPDRVSESSION pSession,
620 RTHandleTableFreeWithCtx(g_State.hHtDevs, TargetDevice, pSession);
628 static int pcirawr0GetRegionInfo(PSUPDRVSESSION pSession,
646 static int pcirawr0MapRegion(PSUPDRVSESSION pSession,
674 static int pcirawr0UnmapRegion(PSUPDRVSESSION pSession,
684 NOREF(pSession); NOREF(pvAddressR3);
695 static int pcirawr0PioWrite(PSUPDRVSESSION pSession,
701 NOREF(pSession); NOREF(TargetDevice);
722 static int pcirawr0PioRead(PSUPDRVSESSION pSession,
728 NOREF(pSession); NOREF(TargetDevice);
749 static int pcirawr0MmioRead(PSUPDRVSESSION pSession,
754 NOREF(pSession); NOREF(TargetDevice);
778 static int pcirawr0MmioWrite(PSUPDRVSESSION pSession,
783 NOREF(pSession); NOREF(TargetDevice);
805 static int pcirawr0PciCfgRead(PSUPDRVSESSION pSession,
815 static int pcirawr0PciCfgWrite(PSUPDRVSESSION pSession,
831 static int pcirawr0EnableIrq(PSUPDRVSESSION pSession,
844 static int pcirawr0DisableIrq(PSUPDRVSESSION pSession,
857 static int pcirawr0GetIrq(PSUPDRVSESSION pSession,
908 static int pcirawr0PowerStateChange(PSUPDRVSESSION pSession,
928 PCIRAWR0DECL(int) PciRawR0ProcessReq(PSUPDRVSESSION pSession, PVM pVM, PPCIRAWSENDREQ pReq)
937 rc = pcirawr0OpenDevice(pSession, pVM,
944 rc = pcirawr0CloseDevice(pSession,
949 rc = pcirawr0GetRegionInfo(pSession,
958 rc = pcirawr0MapRegion(pSession,
968 rc = pcirawr0UnmapRegion(pSession,
977 rc = pcirawr0PioWrite(pSession,
984 rc = pcirawr0PioRead(pSession,
991 rc = pcirawr0MmioWrite(pSession,
997 rc = pcirawr0MmioRead(pSession,
1003 rc = pcirawr0PciCfgWrite(pSession,
1009 rc = pcirawr0PciCfgRead(pSession,
1015 rc = pcirawr0EnableIrq(pSession,
1019 rc = pcirawr0DisableIrq(pSession,
1023 rc = pcirawr0GetIrq(pSession,
1029 rc = pcirawr0PowerStateChange(pSession,