Searched refs:cdesc (Results 1 – 8 of 8) sorted by relevance
/third_party/libusb/libusb/os/ |
D | openbsd_usb.c | 39 usb_config_descriptor_t *cdesc; /* active config descriptor */ member 266 len = MIN(len, (size_t)UGETW(dpriv->cdesc->wTotalLength)); in obsd_get_active_config_descriptor() 270 memcpy(buf, dpriv->cdesc, len); in obsd_get_active_config_descriptor() 308 *config = dpriv->cdesc->bConfigurationValue; in obsd_get_configuration() 418 free(dpriv->cdesc); in obsd_destroy_device() 549 if (dpriv->cdesc) in _cache_active_config_descriptor() 550 free(dpriv->cdesc); in _cache_active_config_descriptor() 551 dpriv->cdesc = buf; in _cache_active_config_descriptor()
|
D | netbsd_usb.c | 39 usb_config_descriptor_t *cdesc; /* active config descriptor */ member 230 len = MIN(len, (size_t)UGETW(dpriv->cdesc->wTotalLength)); in netbsd_get_active_config_descriptor() 234 memcpy(buf, dpriv->cdesc, len); in netbsd_get_active_config_descriptor() 381 free(dpriv->cdesc); in netbsd_destroy_device() 500 if (dpriv->cdesc) in _cache_active_config_descriptor() 501 free(dpriv->cdesc); in _cache_active_config_descriptor() 502 dpriv->cdesc = buf; in _cache_active_config_descriptor()
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_device.c | 294 if (udev->cdesc == NULL) { in usbd_interface_count() 460 if (udev->cdesc != NULL) { in usb_unconfigure() 462 usbd_free_config_desc(udev, udev->cdesc); in usb_unconfigure() 463 udev->cdesc = NULL; in usb_unconfigure() 528 udev->cdesc = cdp; in usbd_set_config_index() 696 while ((id = usb_idesc_foreach(udev->cdesc, &ips))) { in usb_config_parse() 742 while ((ed = usb_edesc_foreach(udev->cdesc, ed))) { in usb_config_parse() 755 ecomp = usb_ed_comp_foreach(udev->cdesc, (void *)ed); in usb_config_parse() 1828 if ((udev->cdesc->bNumInterface < 2) && in usb_alloc_device() 1829 (usbd_get_no_descriptors(udev->cdesc, UDESC_ENDPOINT) == 0)) { in usb_alloc_device() [all …]
|
D | usb_request.c | 1299 struct usb_config_descriptor *cdesc; in usbd_req_get_config_desc_full() local 1313 if (len < (uint32_t)sizeof(*cdesc)) { in usbd_req_get_config_desc_full() 1320 cdesc = usbd_alloc_config_desc(udev, len); in usbd_req_get_config_desc_full() 1321 if (cdesc == NULL) in usbd_req_get_config_desc_full() 1323 err = usbd_req_get_desc(udev, mtx, NULL, cdesc, len, len, 0, in usbd_req_get_config_desc_full() 1326 usbd_free_config_desc(udev, cdesc); in usbd_req_get_config_desc_full() 1330 USETW(cdesc->wTotalLength, len); in usbd_req_get_config_desc_full() 1332 *ppcd = cdesc; in usbd_req_get_config_desc_full()
|
D | usb_generic.c | 616 struct usb_config_descriptor *cdesc = NULL; in ugen_get_cdesc() local 630 cdesc = usbd_get_config_descriptor(udev); in ugen_get_cdesc() 631 if (cdesc == NULL) in ugen_get_cdesc() 638 NULL, &cdesc, ugd->ugd_config_index)) { in ugen_get_cdesc() 648 len = UGETW(cdesc->wTotalLength); in ugen_get_cdesc() 657 error = copyout(cdesc, ugd->ugd_data, len); in ugen_get_cdesc() 660 usbd_free_config_desc(udev, cdesc); in ugen_get_cdesc() 2172 struct usb_config_descriptor *cdesc; in ugen_ioctl_post() member 2274 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 | 162 if (alt_index >= usbd_get_no_alts(udev->cdesc, iface->idesc)) in usb_check_alt_setting()
|
/third_party/boost/boost/gil/extension/io/raw/detail/ |
D | device.hpp | 41 …string get_cdesc() { return std::string(_processor_ptr.get()->imgdata.idata.cdesc); } in get_cdesc()
|