Lines Matching refs:cfg
223 PVUSBDESCCONFIG cfg;
231 cfg = (PVUSBDESCCONFIG)buf;
232 if ( cfg->bLength < VUSB_DT_CONFIG_MIN_LEN )
234 if ( cfg->bLength > len )
237 for (tmp = buf + cfg->bLength; ((tmp + 1) < end) && *tmp; tmp += *tmp)
416 PVUSBDESCCONFIG cfg;
432 cfg = (PVUSBDESCCONFIG)descs;
433 tot_len = RT_LE2H_U16(cfg->wTotalLength);
440 if ( cfg->bNumInterfaces != cnt.num_if )
442 idx, cfg->bNumInterfaces, cnt.num_if));
463 out->Core.bLength = cfg->bLength;
464 out->Core.bDescriptorType = cfg->bDescriptorType;
467 out->Core.bConfigurationValue = cfg->bConfigurationValue;
468 out->Core.iConfiguration = cfg->iConfiguration;
469 out->Core.bmAttributes = cfg->bmAttributes;
470 out->Core.MaxPower = cfg->MaxPower;