Home
last modified time | relevance | path

Searched refs:USB_CONFIG_DESC_SIZE (Results 1 – 10 of 10) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Dcomposite_desc.c125 ret = memcpy_s(buf_tmp, len, buf, USB_CONFIG_DESC_SIZE); in composite_mkcfgdesc_sub()
130 len -= USB_CONFIG_DESC_SIZE; in composite_mkcfgdesc_sub()
131 new_config_len += USB_CONFIG_DESC_SIZE; in composite_mkcfgdesc_sub()
133 desc = (struct usb_descriptor *)(buf + USB_CONFIG_DESC_SIZE); in composite_mkcfgdesc_sub()
143 ret = memcpy_s(buf_tmp + new_config_len, (len + USB_CONFIG_DESC_SIZE - new_config_len), in composite_mkcfgdesc_sub()
Df_acm_desc.c183 .bLength = USB_CONFIG_DESC_SIZE,
185 HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(g_cdcacm_hs_func_desc)),
324 int16_t len = USB_CONFIG_DESC_SIZE; in cdcacm_mkcfgdesc()
346 buf += USB_CONFIG_DESC_SIZE; in cdcacm_mkcfgdesc()
Ddfu.c198 int16_t len = USB_CONFIG_DESC_SIZE; in usbclass_mkcfgdesc()
203 USETW(g_dfu_config_desc.wTotalLength, (USB_CONFIG_DESC_SIZE + sizeof(g_dfu_cfgdesc))); in usbclass_mkcfgdesc()
217 buf += USB_CONFIG_DESC_SIZE; in usbclass_mkcfgdesc()
Df_ether.c331 int16_t len = USB_CONFIG_DESC_SIZE; in rndis_mkcfgdesc()
348 buf += USB_CONFIG_DESC_SIZE; in rndis_mkcfgdesc()
Drndis.c339 .bLength = USB_CONFIG_DESC_SIZE,
341 HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(g_rndis_hs_func_desc)),
Df_dfu.c107 .bLength = USB_CONFIG_DESC_SIZE,
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_generic.c80 .bLength = USB_CONFIG_DESC_SIZE,
792 int16_t len = USB_CONFIG_DESC_SIZE; in generic_mkcfgdesc()
Df_config.c301 int16_t len = USB_CONFIG_DESC_SIZE; in fconfig_mkcfgdesc()
Dusbd_config.c345 cfg_desc->bLength = USB_CONFIG_DESC_SIZE; in fconfig_add_gadget_cfg()
/third_party/FreeBSD/sys/dev/usb/
Dusb.h378 #define USB_CONFIG_DESC_SIZE 9 macro