Searched refs:USB_CONFIG_DESC_SIZE (Results 1 – 10 of 10) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/ |
D | composite_desc.c | 125 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()
|
D | f_acm_desc.c | 183 .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()
|
D | dfu.c | 198 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()
|
D | f_ether.c | 331 int16_t len = USB_CONFIG_DESC_SIZE; in rndis_mkcfgdesc() 348 buf += USB_CONFIG_DESC_SIZE; in rndis_mkcfgdesc()
|
D | rndis.c | 339 .bLength = USB_CONFIG_DESC_SIZE, 341 HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(g_rndis_hs_func_desc)),
|
D | f_dfu.c | 107 .bLength = USB_CONFIG_DESC_SIZE,
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | f_generic.c | 80 .bLength = USB_CONFIG_DESC_SIZE, 792 int16_t len = USB_CONFIG_DESC_SIZE; in generic_mkcfgdesc()
|
D | f_config.c | 301 int16_t len = USB_CONFIG_DESC_SIZE; in fconfig_mkcfgdesc()
|
D | usbd_config.c | 345 cfg_desc->bLength = USB_CONFIG_DESC_SIZE; in fconfig_add_gadget_cfg()
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb.h | 378 #define USB_CONFIG_DESC_SIZE 9 macro
|