Home
last modified time | relevance | path

Searched refs:wTotalLength (Results 1 - 23 of 23) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
H A Df_uac.c206 HSETW(.wTotalLength, 0x006c), /* Size of all descriptors, set later */
245 .wTotalLength = 0x1e, /* total length, currently not set */
427 g_fuac_config_desc.wTotalLength[0] = (uint8_t)ds; in link_fuac_descriptors()
428 g_fuac_config_desc.wTotalLength[1] = (uint8_t)(ds >> 8); in link_fuac_descriptors()
436 g_fuac_ac_head_desc.wTotalLength = (uint16_t)cs; in link_fuac_descriptors()
H A Dcomposite_desc.c208 USETW(config_desc->wTotalLength, config_len); in composite_mkcfgdesc()
H A Df_uvc.c184 HSETW(.wTotalLength, 0), /* Size of all descriptors, set later */
237 .wTotalLength = 0, /* total length, currently not set */
403 .wTotalLength = 0, /* total length, set later */
1347 g_fuvc_config_desc.wTotalLength[0] = (uint8_t)ds; in link_fuvc_descriptors()
1348 g_fuvc_config_desc.wTotalLength[1] = (uint8_t)(ds >> 8); in link_fuvc_descriptors()
1361 g_fuvc_vc_head_desc.wTotalLength = (uint16_t)cs; in link_fuvc_descriptors()
1369 g_fuvc_vs_head_desc.wTotalLength = (uint16_t)ds; in link_fuvc_descriptors()
H A Df_uac.h96 uint16_t wTotalLength; member
H A Ddfu.c203 USETW(g_dfu_config_desc.wTotalLength, (USB_CONFIG_DESC_SIZE + sizeof(g_dfu_cfgdesc))); in usbclass_mkcfgdesc()
H A Df_uvc.h65 u16 wTotalLength; member
283 u16 wTotalLength; member
H A Df_acm_desc.c185 HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(g_cdcacm_hs_func_desc)),
H A Df_hid.c138 HSETW(.wTotalLength, 0x0029), /* Size of all descriptors, set later */
809 USETW(g_fhid_config_desc.wTotalLength, ds); in linkg_fhid_descriptors()
H A Dcomposite.c324 USETW(config_des->wTotalLength, new_config_len); in modify_config_descriptor_byspeed()
H A Df_dfu.c110 /* HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(usb_dfu_func) + sizeof(usb_dfu_intf_desc)), */
112 HSETW(.wTotalLength, 0), /* Modify according to the actual length */
H A Df_mass_storage.c196 HSETW(.wTotalLength, sizeof(g_fmass_confd)),
1846 uint16_t total = UGETW(g_fmass_confd.confd.wTotalLength); in mass_mkcfgdesc()
H A Drndis.c341 HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(g_rndis_hs_func_desc)),
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_parse.c55 /* We assume that the "wTotalLength" has been checked. */ in usb_desc_foreach()
57 end = start + UGETW(cd->wTotalLength); in usb_desc_foreach()
H A Dusb.h305 uWord wTotalLength; member
381 uWord wTotalLength; member
H A Dusb_request.c1244 if (UGETW(d->wTotalLength) < (uint16_t)sizeof(*d)) { in usbd_req_get_config_desc()
1293 * ensures that "wTotalLength" is correct. The returned configuration
1318 len = UGETW(cd.wTotalLength); in usbd_req_get_config_desc_full()
1336 USETW(cdesc->wTotalLength, len); in usbd_req_get_config_desc_full()
H A Dusb_generic.c644 len = UGETW(cdesc->wTotalLength); in ugen_get_cdesc()
/third_party/backends/include/sane/
H A Dusb_manager.h375 uint16_t wTotalLength; member
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Df_config.c357 USETW(config_desc->wTotalLength, total_len); in fconfig_mkcfgdesc()
H A Df_generic.c82 .wTotalLength = {0, 0}, /* dynamic */
/third_party/backends/tools/
H A Dsane-find-scanner.c558 printf (" wTotalLength %d\n", c->wTotalLength); in check_libusb_device()
931 printf (" wTotalLength %d\n", c->wTotalLength); in check_libusb_device()
/third_party/FreeBSD/sys/dev/usb/controller/
H A Dxhci.c3159 HSETW(.wTotalLength, sizeof(xhci_bosd)),
3192 .wTotalLength[0] = sizeof(xhci_confd),
H A Dehci.c2968 .wTotalLength[0] = sizeof(ehci_confd),
/third_party/backends/sanei/
H A Dsanei_usb.c3401 UCHAR *pEndPtr = pCurPtr+ pCfgDesc->wTotalLength; in sanei_usb_open()

Completed in 43 milliseconds