Searched refs:pCfgHandle (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Devices/Audio/
H A DDrvAudio.cpp114 static PDMAUDIOFMT drvAudioGetConfFormat(PCFGMNODE pCfgHandle, const char *pszKey, argument
117 if ( pCfgHandle == NULL
125 int rc = CFGMR3QueryStringAlloc(pCfgHandle, pszKey, &pszValue);
143 static int drvAudioGetConfInt(PCFGMNODE pCfgHandle, const char *pszKey, argument
147 if ( pCfgHandle == NULL
155 int rc = CFGMR3QueryInteger(pCfgHandle, pszKey, &u64Data);
167 static const char *drvAudioGetConfStr(PCFGMNODE pCfgHandle, const char *pszKey, argument
170 if ( pCfgHandle == NULL
178 int rc = CFGMR3QueryStringAlloc(pCfgHandle, pszKey, &pszValue);
189 static int drvAudioProcessOptions(PCFGMNODE pCfgHandle, cons argument
1223 drvAudioHostInit(PCFGMNODE pCfgHandle, PDRVAUDIO pThis) argument
1348 drvAudioInit(PCFGMNODE pCfgHandle, PPDMDRVINS pDrvIns) argument
1814 drvAudioConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle, uint32_t fFlags) argument
[all...]
H A Daudio.c364 static audfmt_e audio_get_conf_fmt (PCFGMNODE pCfgHandle, const char *envname, argument
371 if(pCfgHandle == NULL || envname == NULL) {
376 rc = CFGMR3QueryStringAlloc(pCfgHandle, envname, &var);
384 static int audio_get_conf_int (PCFGMNODE pCfgHandle, const char *key, int defval, int *defaultp) argument
388 if(pCfgHandle == NULL || key == NULL) {
394 rc = CFGMR3QueryInteger(pCfgHandle, key, &u64Data);
409 static const char *audio_get_conf_str (PCFGMNODE pCfgHandle, const char *key, argument
415 if(pCfgHandle == NULL || key == NULL) {
420 rc = CFGMR3QueryStringAlloc(pCfgHandle, key, &val);
453 static void audio_process_options (PCFGMNODE pCfgHandle, cons argument
1574 audio_driver_init(PCFGMNODE pCfgHandle, AudioState *s, struct audio_driver *drv) argument
1667 AUD_init(PCFGMNODE pCfgHandle, PPDMDRVINS pDrvIns, const char *drvname) argument
2042 drvAudioConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle, uint32_t fFlags) argument
[all...]
H A Daudiosniffer.c552 static DECLCALLBACK(int) audioSnifferR3Construct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle) argument
563 if (!CFGMR3AreValuesValid(pCfgHandle, "InterceptAudioInput\0"))
574 rc = CFGMR3QueryBoolDef(pCfgHandle, "InterceptAudioInput", &pThis->fInterceptAudioInput, false);
H A DDevSB16.cpp2301 static DECLCALLBACK(int) sb16Construct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle)
2311 if (!CFGMR3AreValuesValid(pCfgHandle,
2323 rc = CFGMR3QuerySIntDef(pCfgHandle, "IRQ", &pThis->irq, 5);
2329 rc = CFGMR3QuerySIntDef(pCfgHandle, "DMA", &pThis->dma, 1);
2335 rc = CFGMR3QuerySIntDef(pCfgHandle, "DMA16", &pThis->hdma, 5);
2342 rc = CFGMR3QueryPortDef(pCfgHandle, "Port", &Port, 0x220);
2350 rc = CFGMR3QueryU16Def(pCfgHandle, "Version", &u16Version, 0x0405);
H A DDevIchHda.cpp3682 static DECLCALLBACK(int) hdaConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle)
3691 if (!CFGMR3AreValuesValid(pCfgHandle, "R0Enabled\0"
3696 int rc = CFGMR3QueryBoolDef(pCfgHandle, "RCEnabled", &pThis->fRCEnabled, false);
3700 rc = CFGMR3QueryBoolDef(pCfgHandle, "R0Enabled", &pThis->fR0Enabled, false);
3905 rc = hdaCodecConstruct(pDevIns, pThis->pCodec, 0 /* Codec index */, pCfgHandle);
/vbox/src/VBox/Main/src-client/
H A DPCIRawDevImpl.cpp130 DECLCALLBACK(int) PCIRawDev::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle, uint32_t fFlags) argument
138 if (!CFGMR3AreValuesValid(pCfgHandle, "Object\0"))
159 int rc = CFGMR3QueryPtr(pCfgHandle, "Object", &pv);
H A DVMMDevInterface.cpp779 DECLCALLBACK(int) VMMDev::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle, uint32_t fFlags) argument
788 if (!CFGMR3AreValuesValid(pCfgHandle, "Object\0"))
839 int rc = CFGMR3QueryPtr(pCfgHandle, "Object", &pv);
/vbox/src/VBox/VMM/VMMR3/
H A DTM.cpp307 PCFGMNODE pCfgHandle = CFGMR3GetChild(CFGMR3GetRoot(pVM), "TM");
308 if (!pCfgHandle)
310 rc = CFGMR3InsertNode(CFGMR3GetRoot(pVM), "TM", &pCfgHandle);
317 if (CFGMR3Exists(pCfgHandle, "TSCVirtualized"))
320 if (CFGMR3Exists(pCfgHandle, "UseRealTSC"))
324 if (CFGMR3Exists(pCfgHandle, "MaybeUseOffsettedHostTSC"))
331 rc = CFGMR3ValidateConfig(pCfgHandle, "/TM/",
370 rc = CFGMR3QueryString(pCfgHandle, "TSCMode", szTSCMode, sizeof(szTSCMode));
400 rc = CFGMR3QueryBool(pCfgHandle, "TSCModeSwitchAllowed", &pVM->tm.s.fTSCModeSwitchAllowed);
413 rc = CFGMR3QueryU64(pCfgHandle, "TSCTicksPerSecon
[all...]
H A DPDMDriver.cpp705 pNew->Internal.s.pCfgHandle = pNode;
1010 PCFGMNODE pNode = CFGMR3GetChild(pDrvIns->Internal.s.pCfgHandle, "AttachedDriver");
1090 PCFGMNODE pNode = CFGMR3GetChild(pDrvIns->Internal.s.pCfgHandle, "AttachedDriver");
1107 int rc = CFGMR3InsertNode(pDrvIns->Internal.s.pCfgHandle, "AttachedDriver", &pNode);
H A DPDMAsyncCompletion.cpp820 * @param pCfgHandle Pointer to the CFGM tree.
822 int pdmR3AsyncCompletionEpClassInit(PVM pVM, PCPDMASYNCCOMPLETIONEPCLASSOPS pEpClassOps, PCFGMNODE pCfgHandle) argument
846 PCFGMNODE pCfgNodeClass = CFGMR3GetChild(pCfgHandle, pEpClassOps->pszName);
H A DPDMDevice.cpp330 pDevIns->Internal.s.pCfgHandle = paDevs[i].pNode;
H A DPDMDevHlp.cpp1155 rc = CFGMR3QueryU8Def(pDevIns->Internal.s.pCfgHandle, "PCIBusNo", &u8Bus, 0);
1181 rc = CFGMR3QueryU8(pDevIns->Internal.s.pCfgHandle, "PCIDeviceNo", &u8Device);
1190 rc = CFGMR3QueryU8(pDevIns->Internal.s.pCfgHandle, "PCIFunctionNo", &u8Function);
1624 PCFGMNODE pNode = CFGMR3GetChildF(pDevIns->Internal.s.pCfgHandle, "LUN#%u", iLun);
/vbox/src/VBox/VMM/include/
H A DPDMInternal.h139 R3PTRTYPE(PCFGMNODE) pCfgHandle; member in struct:PDMDEVINSINT
264 R3PTRTYPE(PCFGMNODE) pCfgHandle; member in struct:PDMDRVINSINT
/vbox/src/VBox/VMM/testcase/
H A DtstVMStruct.h477 GEN_CHECK_OFF(PDMDEVINSINT, pCfgHandle);
511 GEN_CHECK_OFF(PDMDRVINSINT, pCfgHandle);

Completed in 85 milliseconds