Searched refs:pcfg (Results 1 – 3 of 3) sorted by relevance
404 struct libusb20_config *pcfg = NULL; in dump_config() local422 pcfg = libusb20_dev_alloc_config(pdev, cfg_index); in dump_config()423 if (!pcfg) { in dump_config()427 cdesc = &(pcfg->desc); in dump_config()429 dump_extra(&(pcfg->extra), " " " "); in dump_config()431 for (x = 0; x != pcfg->num_interface; x++) { in dump_config()433 dump_iface(pdev, pcfg->interface + x); in dump_config()435 for (y = 0; y != (pcfg->interface + x)->num_altsetting; y++) { in dump_config()438 (pcfg->interface + x)->altsetting + y); in dump_config()443 free(pcfg); in dump_config()
950 struct libusb20_config *pcfg; in find_usb_endpoints() local961 pcfg = libusb20_dev_alloc_config(pdev, in find_usb_endpoints()964 if (pcfg == NULL) in find_usb_endpoints()967 for (x = 0; x != pcfg->num_interface; x++) { in find_usb_endpoints()971 iface = (pcfg->interface + x); in find_usb_endpoints()981 if (x == pcfg->num_interface) in find_usb_endpoints()983 iface = (pcfg->interface + x); in find_usb_endpoints()1003 free(pcfg); in find_usb_endpoints()
568 const struct usb_config *pcfg; in cdce_attach() local640 pcfg = cdce_config; /* Default Configuration */ in cdce_attach()650 pcfg = cdce_ncm_config; in cdce_attach()654 pcfg, CDCE_N_TRANSFER, sc, &sc->sc_lock); in cdce_attach()