Searched refs:cdesc (Results 1 – 5 of 5) sorted by relevance
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_device.c | 292 if (udev->cdesc == NULL) { in usbd_interface_count() 458 if (udev->cdesc != NULL) { in usb_unconfigure() 460 usbd_free_config_desc(udev, udev->cdesc); in usb_unconfigure() 461 udev->cdesc = NULL; in usb_unconfigure() 526 udev->cdesc = cdp; in usbd_set_config_index() 694 while ((id = usb_idesc_foreach(udev->cdesc, &ips))) { in usb_config_parse() 740 while ((ed = usb_edesc_foreach(udev->cdesc, ed))) { in usb_config_parse() 752 ecomp = usb_ed_comp_foreach(udev->cdesc, (void *)ed); in usb_config_parse() 1816 if ((udev->cdesc->bNumInterface < 2) && in usb_alloc_device() 1817 (usbd_get_no_descriptors(udev->cdesc, UDESC_ENDPOINT) == 0)) { in usb_alloc_device() [all …]
|
D | usb_request.c | 1296 struct usb_config_descriptor *cdesc; in usbd_req_get_config_desc_full() local 1310 if (len < (uint32_t)sizeof(*cdesc)) { in usbd_req_get_config_desc_full() 1317 cdesc = usbd_alloc_config_desc(udev, len); in usbd_req_get_config_desc_full() 1318 if (cdesc == NULL) in usbd_req_get_config_desc_full() 1320 err = usbd_req_get_desc(udev, mtx, NULL, cdesc, len, len, 0, in usbd_req_get_config_desc_full() 1323 usbd_free_config_desc(udev, cdesc); in usbd_req_get_config_desc_full() 1327 USETW(cdesc->wTotalLength, len); in usbd_req_get_config_desc_full() 1329 *ppcd = cdesc; in usbd_req_get_config_desc_full()
|
D | usb_generic.c | 613 struct usb_config_descriptor *cdesc = NULL; in ugen_get_cdesc() local 627 cdesc = usbd_get_config_descriptor(udev); in ugen_get_cdesc() 628 if (cdesc == NULL) in ugen_get_cdesc() 635 NULL, &cdesc, ugd->ugd_config_index)) { in ugen_get_cdesc() 645 len = UGETW(cdesc->wTotalLength); in ugen_get_cdesc() 654 error = copyout(cdesc, ugd->ugd_data, len); in ugen_get_cdesc() 657 usbd_free_config_desc(udev, cdesc); in ugen_get_cdesc() 2111 struct usb_config_descriptor *cdesc; in ugen_ioctl_post() member 2213 error = copyout((const void *)ctemp, u.cdesc, sizeof(struct usb_config_descriptor)); in ugen_ioctl_post()
|
D | usb_device.h | 214 struct usb_config_descriptor *cdesc; /* full config descr */ member
|
D | usb_handle_request.c | 161 if (alt_index >= usbd_get_no_alts(udev->cdesc, iface->idesc)) in usb_check_alt_setting()
|