Searched refs:g_cdcacm_hs_func_desc (Results 1 – 3 of 3) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_acm_desc.c | 63 struct cdcacm_hs_function_descriptor g_cdcacm_hs_func_desc = variable 185 HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(g_cdcacm_hs_func_desc)), 327 g_cdcacm_hs_func_desc.ifcad.bFirstInterface = (uint8_t)devinfo->ifnobase; in cdcacm_mkcfgdesc() 328 g_cdcacm_hs_func_desc.ifcd.bInterfaceNumber = (uint8_t)devinfo->ifnobase; in cdcacm_mkcfgdesc() 329 g_cdcacm_hs_func_desc.cdc_union_desc.bMasterInterface0 = (uint8_t)devinfo->ifnobase; in cdcacm_mkcfgdesc() 330 g_cdcacm_hs_func_desc.ifdd.bInterfaceNumber = (uint8_t)devinfo->ifnobase + 1; in cdcacm_mkcfgdesc() 331 g_cdcacm_hs_func_desc.cdc_union_desc.bSlaveInterface0 = (uint8_t)devinfo->ifnobase + 1; in cdcacm_mkcfgdesc() 332 g_cdcacm_hs_func_desc.cdc_call_desc.bDataInterface = (uint8_t)devinfo->ifnobase + 1; in cdcacm_mkcfgdesc() 347 len = sizeof(g_cdcacm_hs_func_desc); 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()
|
D | cdcacm.c | 797 … (const usb_endpoint_descriptor_t *)&g_cdcacm_hs_func_desc.nepd, dev, false); in cdcacm_setconfig() 815 … (const usb_endpoint_descriptor_t *)&g_cdcacm_hs_func_desc.iepd, dev, false); in cdcacm_setconfig() 833 … (const usb_endpoint_descriptor_t *)&g_cdcacm_hs_func_desc.oepd, dev, false); in cdcacm_setconfig() 1111 …priv->epintin = DEV_ALLOCEP(dev, g_cdcacm_hs_func_desc.nepd.bEndpointAddress, &g_cdcacm_hs_func_de… in cdcacm_bind() 1131 …priv->epbulkin = DEV_ALLOCEP(dev, g_cdcacm_hs_func_desc.iepd.bEndpointAddress, &g_cdcacm_hs_func_d… in cdcacm_bind() 1143 …priv->epbulkout = DEV_ALLOCEP(dev, g_cdcacm_hs_func_desc.oepd.bEndpointAddress, &g_cdcacm_hs_func_… in cdcacm_bind()
|
D | cdcacm.h | 266 extern struct cdcacm_hs_function_descriptor g_cdcacm_hs_func_desc;
|