Home
last modified time | relevance | path

Searched refs:wTotalLength (Results 1 – 22 of 22) sorted by relevance

/freebsd/lib/libusb/
H A Dlibusb10_desc.c184 pconfd->wTotalLength = pconf->desc.wTotalLength; in libusb_get_config_descriptor()
471 ptr->wTotalLength = ((const uint8_t *)buf)[2] | in libusb_parse_bos_descriptor()
571 uint16_t wTotalLength; in libusb_get_bos_descriptor() local
580 wTotalLength = bos_header[2] | (bos_header[3] << 8); in libusb_get_bos_descriptor()
581 if (wTotalLength < LIBUSB_DT_BOS_SIZE) in libusb_get_bos_descriptor()
584 bos_data = calloc(wTotalLength, 1); in libusb_get_bos_descriptor()
589 bos_data, wTotalLength); in libusb_get_bos_descriptor()
594 bos_data[2] = (wTotalLength & 0xFF); in libusb_get_bos_descriptor()
595 bos_data[3] = (wTotalLength >> 8); in libusb_get_bos_descriptor()
597 err = libusb_parse_bos_descriptor(bos_data, wTotalLength, bos); in libusb_get_bos_descriptor()
H A Dlibusb20_desc.h254 m(n, UINT16_T, wTotalLength, ) \
304 m(n, UINT16_T, wTotalLength, ) \
H A Dlibusb.h374 uint16_t wTotalLength; member
419 uint16_t wTotalLength; member
H A Dusb.h151 uint16_t wTotalLength; member
H A Dlibusb01.c441 bcfg->wTotalLength = acfg->desc.wTotalLength; in usb_parse_config()
H A Dlibusb20_ugen20.c488 len = UGETW(cdesc.wTotalLength); in ugen20_get_config_desc_full()
/freebsd/sys/dev/usb/
H A Dusb_parse.c87 end = start + UGETW(cd->wTotalLength); in usb_desc_foreach()
H A Dusb.h316 uWord wTotalLength; member
389 uWord wTotalLength; member
H A Dusb_request.c1294 if (UGETW(d->wTotalLength) < (uint16_t)sizeof(*d)) { in usbd_req_get_config_desc()
1368 len = UGETW(cd.wTotalLength); in usbd_req_get_config_desc_full()
1386 USETW(cdesc->wTotalLength, len); in usbd_req_get_config_desc_full()
H A Dusb_generic.c709 len = UGETW(cdesc->wTotalLength); in ugen_get_cdesc()
/freebsd/sys/dev/usb/template/
H A Dusb_template.c485 USETW(cd->wTotalLength, old_size); in usb_make_config_desc()
1129 temp = UGETW(cd->wTotalLength); in usb_temp_get_config_desc()
1134 *pLength = UGETW(cd->wTotalLength); in usb_temp_get_config_desc()
/freebsd/usr.sbin/bhyve/
H A Dusb_mouse.c171 .wTotalLength[0] = sizeof(umouse_confd),
223 HSETW(.wTotalLength, sizeof(umouse_bosd)),
/freebsd/sys/dev/sound/usb/
H A Duaudioreg.h97 uWord wTotalLength; member
H A Duaudio.c4996 wTotalLen = UGETW(acdp->wTotalLength) - acdp->bLength; in uaudio_mixer_fill_info()
/freebsd/sys/dev/usb/controller/
H A Datmegadci.c1475 .wTotalLength[0] = sizeof(atmegadci_confd),
H A Davr32dci.c1424 .wTotalLength[0] = sizeof(avr32dci_confd),
H A Duss820dci.c1769 .wTotalLength[0] = sizeof(uss820dci_confd),
H A Dohci.c2015 .wTotalLength[0] = sizeof(ohci_confd),
H A Duhci.c2269 .wTotalLength[0] = sizeof(uhci_confd),
H A Dmusb_otg.c3501 .wTotalLength[0] = sizeof(musbotg_confd),
H A Dehci.c2921 .wTotalLength[0] = sizeof(ehci_confd),
H A Ddwc_otg.c4256 .wTotalLength[0] = sizeof(dwc_otg_confd),