Lines Matching refs:paUsbDevs
750 } *paUsbDevs = (struct USBDEVORDER *)alloca(sizeof(paUsbDevs[0]) * (cUsbDevs + 1)); /* (One extra for swapping) */
751 Assert(paUsbDevs);
757 char szName[sizeof(paUsbDevs[0].pUsbDev->pReg->szName)];
791 RTUuidClear(&paUsbDevs[i].Uuid);
797 rc = RTUuidFromStr(&paUsbDevs[i].Uuid, pszUuid);
802 rc = RTUuidCreate(&paUsbDevs[i].Uuid);
805 paUsbDevs[i].pNode = pInstanceNode;
806 paUsbDevs[i].pUsbDev = pUsbDev;
807 paUsbDevs[i].u32Order = u32Order;
814 rc = RTStrToUInt32Ex(szInstance, &pszNext, 0, &paUsbDevs[i].iInstance);
832 if (paUsbDevs[i].u32Order > paUsbDevs[i + 1].u32Order)
834 paUsbDevs[cUsbDevs] = paUsbDevs[i + 1];
835 paUsbDevs[i + 1] = paUsbDevs[i];
836 paUsbDevs[i] = paUsbDevs[cUsbDevs];
850 PCFGMNODE pConfigNode = CFGMR3GetChild(paUsbDevs[i].pNode, "Config/");
853 rc = CFGMR3InsertNode(paUsbDevs[i].pNode, "Config", &pConfigNode);
864 if (paUsbDevs[i].pUsbDev->pReg->fFlags & PDM_USBREG_HIGHSPEED_CAPABLE)
866 if (paUsbDevs[i].pUsbDev->pReg->fFlags & PDM_USBREG_SUPERSPEED_CAPABLE)
889 rc = pdmR3UsbCreateDevice(pVM, pHub, paUsbDevs[i].pUsbDev, paUsbDevs[i].iInstance, &paUsbDevs[i].Uuid,
890 &paUsbDevs[i].pNode, pdmR3UsbVer2Spd(iUsbVersion), NULL);