Home
last modified time | relevance | path

Searched refs:eps_count (Results 1 – 4 of 4) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_generic_ep0.c72 unsigned eps_count; member
156 dev->eps_addrmap[helper->eps_count] = ds->bEndpointAddress; in generic_parse_single_desc()
157 dev->eps_descs[helper->eps_count][desc_idx] = ds; in generic_parse_single_desc()
159 helper->eps_count++; in generic_parse_single_desc()
160 if (dev->eps_count >= GENERIC_MAX_EPS_COUNT) in generic_parse_single_desc()
301 helper.eps_count = 0; in generic_got_descs()
308 if (dev->eps_count == 0 && dev->interfaces_count == 0) in generic_got_descs()
310 dev->eps_count = helper.eps_count; in generic_got_descs()
315 if (dev->eps_count != helper.eps_count) in generic_got_descs()
Df_generic.c366 dev->eps_count = 0; in generic_dev_reset()
410 uint16_t count = priv->eps_count; in generic_eps_free()
438 uint16_t eps_count = priv->eps_count; in generic_eps_alloc() local
439 size_t size = sizeof(struct generic_ep) * eps_count; in generic_eps_alloc()
449 for (i = 0; i < eps_count; i++) in generic_eps_alloc()
903 dev->devinfo.nendpoints = priv->eps_count; in generic_get_composite_devdesc()
Dusbd_generic_epfile.c503 if (ep_index < 1 || ep_index > dev->eps_count) in generic_epfile_handle_ioctl()
613 count = dev->eps_count; in generic_remove_epfiles()
634 count = dev->eps_count; in generic_epfiles_create()
687 uint32_t count = dev->eps_count; in generic_eps_disable()
721 uint32_t count = dev->eps_count; in generic_eps_enable()
727 dprintf("%s, dev->eps_count = %d \n",__func__, dev->eps_count); in generic_eps_enable()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Df_generic.h217 uint16_t eps_count; member