Home
last modified time | relevance | path

Searched refs:generic_dev_s (Results 1 – 7 of 7) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_generic.c143 static void generic_discard_events(struct generic_dev_s *dev, in generic_discard_events()
166 static void __generic_event_add(struct generic_dev_s *dev, in __generic_event_add()
209 static void generic_event_add(struct generic_dev_s *dev, in generic_event_add()
218 static inline void generic_dev_get(struct generic_dev_s *dev) in generic_dev_get()
223 static inline void generic_dev_put(struct generic_dev_s *dev) in generic_dev_put()
228 static struct generic_dev_s *generic_dev_find_by_name(const char *name) in generic_dev_find_by_name()
244 return container_of(obj, struct generic_dev_s, obj); in generic_dev_find_by_name()
249 struct generic_dev_s *dev = container_of(obj, struct generic_dev_s, obj); in usbobj_minor_match()
254 static struct generic_dev_s *__generic_dev_find_by_minor(int minor) in __generic_dev_find_by_minor()
265 return container_of(obj, struct generic_dev_s, obj); in __generic_dev_find_by_minor()
[all …]
Dusbd_generic_ep0.c105 static int generic_parse_single_desc(struct generic_dev_s *dev, uint32_t desc_idx, in generic_parse_single_desc()
213 static int generic_parse_descs(struct generic_dev_s *dev, uint32_t desc_idx, in generic_parse_descs()
245 static int generic_got_descs(struct generic_dev_s *dev, in generic_got_descs()
348 static int generic_got_strings(struct generic_dev_s *dev, in generic_got_strings()
481 struct generic_dev_s *dev = (struct generic_dev_s *)req->priv; in generic_ep0_req_sync_complete()
498 static int generic_ep0_submit_sync(struct generic_dev_s *dev, struct IoData *ioData) in generic_ep0_submit_sync()
544 struct generic_dev_s *dev = NULL; in generic_ep0_complete()
558 dev = (struct generic_dev_s *)ep0req->priv; in generic_ep0_complete()
585 struct generic_dev_s *dev = (struct generic_dev_s *)ep0req->priv; in generic_ep0_submit_wait()
607 static ssize_t generic_ep0_read_events(struct generic_dev_s *dev, in generic_ep0_read_events()
[all …]
Dusbd_generic_epfile.c487 struct generic_dev_s *dev = epfile->dev; in generic_epfile_handle_ioctl()
607 int generic_remove_epfiles(struct generic_dev_s *dev) in generic_remove_epfiles()
628 int generic_epfiles_create(struct generic_dev_s *dev) in generic_epfiles_create()
684 void generic_eps_disable(struct generic_dev_s *dev) in generic_eps_disable()
718 int generic_eps_enable(struct generic_dev_s *dev) in generic_eps_enable()
Df_config.c324 struct generic_dev_s *dev = drvr->dev; in fconfig_mkcfgdesc()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Dusbd_generic_epfile.h74 struct generic_dev_s *dev;
92 extern int generic_epfiles_create(struct generic_dev_s *dev);
93 extern int generic_eps_enable(struct generic_dev_s *dev);
94 extern void generic_eps_disable(struct generic_dev_s *dev);
95 extern int generic_remove_epfiles(struct generic_dev_s *dev);
Df_generic.h156 struct generic_dev_s struct
224 struct generic_dev_s *dev; argument
229 struct generic_dev_s dev;
283 extern void generic_dev_closed(struct generic_dev_s *dev);
284 extern void generic_dev_opened(struct generic_dev_s *dev);
Dusbd_generic_ep0.h96 extern int generic_create_ep0(struct generic_dev_s *dev);
97 extern int generic_remove_ep0(struct generic_dev_s *dev);