Home
last modified time | relevance | path

Searched refs:USB_COMP_EP0_BUFSIZ (Results 1 – 18 of 18) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_acm_desc.c304 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_cdcacm_device_desc, sizeof(g_cdcacm_device_desc)); in cdcacm_mkdevdesc()
336 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, (const void *)&g_cdcacm_hs_config_desc, (uint32_t)len); in cdcacm_mkcfgdesc()
348 …ret = memcpy_s(buf, (USB_COMP_EP0_BUFSIZ - total_len), (const void *)&g_cdcacm_hs_func_desc, (uint… in cdcacm_mkcfgdesc()
378 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, (const void *)str, (uint32_t)str[0]); in cdcacm_mkstrdesc()
Df_ether.c320 …errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fether_device_desc, sizeof(g_fether_device_des… in rndis_mkdevdesc()
338 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, g_rndis_hs_desc.rndis_config, (uint16_t)len); in rndis_mkcfgdesc()
350 …ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ - (uint16_t)total_len, g_rndis_hs_desc.rndis_func, (uint1… in rndis_mkcfgdesc()
372 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, str, str[0]); in rndis_mkstrdesc()
Df_camera.c160 …errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fcamera_device_desc, sizeof(g_fcamera_device_d… in camera_mkdevdesc()
179 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, str, str[0]); in camera_mkstrdesc()
Dcomposite_desc.c85 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, (void *)g_os_string, g_os_string[0]); in composite_mkstrdesc()
153 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, buf_tmp, new_config_len); in composite_mkcfgdesc_sub()
Df_multi.c190 …errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fmulti_device_desc, sizeof(g_fmulti_device_des… in multi_mkdevdesc()
209 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, str, str[0]); in multi_mkstrdesc()
Dcomposite.c224 cdev->ctrlreq = composite_allocreq(USB_COMP_EP0_BUFSIZ); in usb_composite_bind()
309 ret = memset_s(req->buf, USB_COMP_EP0_BUFSIZ, 0, config_len); in modify_config_descriptor_byspeed()
316 ret = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, config_tmp_buf, new_config_len); in modify_config_descriptor_byspeed()
526 …ret = memcpy_s(usb_req->buf, USB_COMP_EP0_BUFSIZ, (void *)g_bos_desc_buf, SKB_DATA_ALIGN(usb_req->… in usb_composite_setup()
Ddfu.c207 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_dfu_config_desc, (uint16_t)len); in usbclass_mkcfgdesc()
219 ret = memcpy_s(buf, (size_t)(USB_COMP_EP0_BUFSIZ - total_len), &g_dfu_cfgdesc, (uint16_t)len); in usbclass_mkcfgdesc()
Df_hid.c621 ret = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, in usbclass_hid_get_report()
830 errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fhid_device_desc, sizeof(g_fhid_device_desc)); in hid_mkdevdesc()
851 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, des, total_len); in hid_mkcfgdesc()
875 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, (const void *)str, (uint32_t)str[0]); in hid_mkstrdesc()
Dcomposite.h54 #define USB_COMP_EP0_BUFSIZ 4096U macro
Df_uvc.c2000 err = memset_s(req->buf, USB_COMP_EP0_BUFSIZ, 0, 64); in fuvc_handle_class_setup_control()
2080 errnum = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, in fuvc_handle_streaming_probe()
2085 errnum = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, in fuvc_handle_streaming_probe()
2109 errnum = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, in fuvc_handle_streaming_probe()
2149 errnum = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, &fuvc->probe, SKB_DATA_ALIGN(n_len)); in fuvc_handle_class_setup_streaming()
2723 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fuvc_device_desc, sizeof(g_fuvc_device_desc)); in uvc_mkdevdesc()
2743 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, des, total_len); in uvc_mkcfgdesc()
2767 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, str, str[0]); in uvc_mkstrdesc()
Df_uac.c855 errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fuac_device_desc, sizeof(g_fuac_device_desc)); in uac_mkdevdesc()
878 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, des, total_len); in uac_mkcfgdesc()
902 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, str, str[0]); in uac_mkstrdesc()
Df_mass_storage.c1761 ret = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, &nlun_info, sizeof(nlun_info)); in usbclass_mass_setup()
1836 …errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fmass_device_desc, sizeof(g_fmass_device_desc)… in mass_mkdevdesc()
1849 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fmass_confd, total); in mass_mkcfgdesc()
1870 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, str, str[0]); in mass_mkstrdesc()
Df_dfu.c1182 errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_dfu_device_desc, sizeof(g_dfu_device_desc)); in usbdev_dfu_mkdevdesc()
1201 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, str, str[0]); in usbdev_dfu_mkstrdesc()
Drndis.c1322 … ret = memcpy_s(resp->buffer, USB_COMP_EP0_BUFSIZ - sizeof(struct rndis_query_cmplt), in rndis_handle_control_message()
1332 … ret = memcpy_s(resp->buffer, USB_COMP_EP0_BUFSIZ - sizeof(struct rndis_query_cmplt), in rndis_handle_control_message()
1342 … ret = memcpy_s(resp->buffer, USB_COMP_EP0_BUFSIZ - sizeof(struct rndis_query_cmplt), in rndis_handle_control_message()
Dcdcacm.c1456 ret = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, &priv->linecoding, (uint32_t)val); in cdcacm_setup()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_config.c145 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, (void *)lang_string, lang_string[0]); in fconfig_mkstrdesc()
216 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, gi->dev_desc, sizeof(*gi->dev_desc)); in fconfig_mkdevdesc()
312 ret = memcpy_s(buf_tmp, USB_COMP_EP0_BUFSIZ, in fconfig_mkcfgdesc()
345 ret = memcpy_s(buf_tmp, (USB_COMP_EP0_BUFSIZ - total_len), in fconfig_mkcfgdesc()
Df_generic.c799 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, in generic_mkcfgdesc()
812 ret = memcpy_s(buf, (USB_COMP_EP0_BUFSIZ - total_len), in generic_mkcfgdesc()
Dusbd_generic_ep0.c508 (void)memcpy_s((void *)req->buf, USB_COMP_EP0_BUFSIZ, (void *)ioData->buf, in generic_ep0_submit_sync()
591 (void)memcpy_s((void *)req->buf, USB_COMP_EP0_BUFSIZ, (void *)ep0req->io_data.buf, in generic_ep0_submit_wait()