Searched refs:usb_obj (Results 1 – 14 of 14) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/ |
D | usb_obj.h | 52 struct usb_obj { struct 55 struct usb_obj *parent; argument 61 void (*release)(struct usb_obj *obj); argument 64 typedef int (*usbobj_match_t)(struct usb_obj *obj, void *match_data); 66 extern int usbobj_add(struct usb_obj *obj, struct usb_obj *parent); 67 extern int usbobj_remove(struct usb_obj *obj); 68 extern struct usb_obj *usbobj_find(struct usb_obj *obj, usbobj_match_t match, void *match_data); 69 extern int usbobj_init(struct usb_obj *obj, const char *name, void (*release)(struct usb_obj *obj)); 70 extern void usbobj_get(struct usb_obj *obj); 71 extern void usbobj_put(struct usb_obj *obj); [all …]
|
D | usbd_config.h | 124 struct usb_obj obj; 134 struct usb_obj obj; 142 struct usb_obj obj; 148 struct usb_obj obj; 155 struct usb_obj strings;
|
D | f_generic.h | 144 struct usb_obj obj; 158 struct usb_obj obj; 183 struct usb_obj memory_obj; 218 struct usb_obj epfiles_obj;
|
D | usbd_generic_epfile.h | 71 struct usb_obj obj; 77 struct usb_obj memory_obj;
|
D | usb_handle.h | 61 struct usb_obj *obj; 75 extern int register_handle(char *devName, struct UsbHandleOps *ops, void *priv, struct usb_obj *obj…
|
D | f_config.h | 57 struct usb_obj obj;
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | usb_obj.c | 47 int usbobj_init(struct usb_obj *obj, const char *name, in usbobj_init() 48 void (*release)(struct usb_obj *obj)) in usbobj_init() 68 int usbobj_add(struct usb_obj *obj, struct usb_obj *parent) in usbobj_add() 86 int usbobj_remove(struct usb_obj *obj) in usbobj_remove() 88 struct usb_obj *parent; in usbobj_remove() 105 struct usb_obj *usbobj_find(struct usb_obj *obj, usbobj_match_t match, void *match_data) in usbobj_find() 107 struct usb_obj *child; in usbobj_find() 130 void usbobj_get(struct usb_obj *obj) in usbobj_get() 138 static void usbobj_release_child(struct usb_obj *obj, void *data) in usbobj_release_child() 146 struct usb_obj *obj = container_of(ref, struct usb_obj, ref); in usbobj_release() [all …]
|
D | obj_res.c | 75 void objres_add(struct usb_obj *obj, void *res) in objres_add() 85 static struct obj_res *objres_find(struct usb_obj *obj, void *res) in objres_find() 101 int objres_remove(struct usb_obj *obj, void *res) in objres_remove() 117 void objres_release_all(struct usb_obj *obj) in objres_release_all() 131 void *usbm_malloc(struct usb_obj *obj, size_t size) in usbm_malloc() 150 void *usbm_zalloc(struct usb_obj *obj, size_t size) in usbm_zalloc() 162 void usbm_free(struct usb_obj *obj, void *p) in usbm_free() 178 char *usbm_strdup(struct usb_obj *obj, const char *s) in usbm_strdup()
|
D | usbd_config.c | 63 extern int gadget_strings_match(struct usb_obj *obj, void *match_data); 92 static char *fconfig_get_string(struct usb_obj *obj, struct fconfig_string *str) in fconfig_get_string() 116 static int gadget_match(struct usb_obj *obj, void *match_data) in gadget_match() 126 struct usb_obj *obj = NULL; in gadget_find_by_name() 300 struct usb_obj *obj = NULL; in fconfig_add_gadget_cfg() 367 struct usb_obj *obj = NULL; in fconfig_remove_gadget_cfg() 507 void function_instance_release(struct usb_obj *obj) in function_instance_release() 586 struct usb_obj *obj = NULL; in fconfig_do_drop_function() 616 struct usb_obj *obj = NULL; in fconfig_get_function_info() 716 static int usb_config_match(struct usb_obj *obj, void *match_data) in usb_config_match() [all …]
|
D | f_config.c | 77 static int gadget_match(struct usb_obj *obj, void *match_data) in gadget_match() 89 struct usb_obj *obj; in fconfig_find_gadget() 124 int gadget_strings_match(struct usb_obj *obj, void *match_data) in gadget_strings_match() 138 struct usb_obj *obj; in fconfig_mkstrdesc() 228 static int usb_config_match(struct usb_obj *obj, void *match_data) in usb_config_match() 240 struct usb_obj *obj; in fconfig_find_cfg()
|
D | f_generic.c | 91 static struct usb_obj g_generic_obj; 230 struct usb_obj *obj = NULL; in generic_dev_find_by_name() 247 static int usbobj_minor_match(struct usb_obj *obj, void *match_data) in usbobj_minor_match() 256 struct usb_obj *obj = NULL; in __generic_dev_find_by_minor() 971 struct usb_obj *obj = NULL; in usbdev_generic_alloc_instance()
|
D | usbd_generic_epfile.c | 52 extern struct usb_memory *generic_find_memory_area(struct usb_obj *obj, 591 void generic_epfile_release(struct usb_obj *obj) in generic_epfile_release() 611 struct usb_obj *obj; in generic_remove_epfiles() 711 static int epfile_match_unused(struct usb_obj *obj, void *match_data) in epfile_match_unused() 723 struct usb_obj *obj; in generic_eps_enable()
|
D | usb_handle.c | 128 int register_handle(char *devName, struct UsbHandleOps *ops, void *priv, struct usb_obj *obj) in register_handle()
|
D | usbd_generic_ep0.c | 451 static int memory_area_match(struct usb_obj *obj, void *match_data) in memory_area_match() 465 struct usb_memory *generic_find_memory_area(struct usb_obj *obj, in generic_find_memory_area() 468 struct usb_obj *mem_obj; in generic_find_memory_area()
|