Home
last modified time | relevance | path

Searched refs:usb_function (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/include/linux/usb/
Dcomposite.h93 struct usb_function { struct
109 struct usb_function *); argument
111 struct usb_function *); argument
114 int (*set_alt)(struct usb_function *, argument
116 int (*get_alt)(struct usb_function *, argument
118 void (*disable)(struct usb_function *); argument
119 int (*setup)(struct usb_function *, argument
121 void (*suspend)(struct usb_function *); argument
122 void (*resume)(struct usb_function *); argument
130 int usb_add_function(struct usb_configuration *, struct usb_function *); argument
[all …]
/external/u-boot/drivers/usb/gadget/
Df_dfu.c30 struct usb_function usb_function; member
53 static inline struct f_dfu *func_to_dfu(struct usb_function *f) in func_to_dfu()
55 return container_of(f, struct f_dfu, usb_function); in func_to_dfu()
226 f_dfu->usb_function.strings = dfu_strings; in to_dfu_mode()
227 f_dfu->usb_function.hs_descriptors = f_dfu->function; in to_dfu_mode()
228 f_dfu->usb_function.descriptors = f_dfu->function; in to_dfu_mode()
234 f_dfu->usb_function.strings = NULL; in to_runtime_mode()
235 f_dfu->usb_function.hs_descriptors = dfu_runtime_descs; in to_runtime_mode()
236 f_dfu->usb_function.descriptors = dfu_runtime_descs; in to_runtime_mode()
584 dfu_handle(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in dfu_handle()
[all …]
Df_sdp.c95 struct usb_function usb_function; member
120 static inline struct f_sdp *func_to_sdp(struct usb_function *f) in func_to_sdp()
122 return container_of(f, struct f_sdp, usb_function); in func_to_sdp()
409 static int sdp_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in sdp_setup()
464 static int sdp_bind(struct usb_configuration *c, struct usb_function *f) in sdp_bind()
493 static void sdp_unbind(struct usb_configuration *c, struct usb_function *f) in sdp_unbind()
533 static int sdp_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in sdp_set_alt()
555 static int sdp_get_alt(struct usb_function *f, unsigned intf) in sdp_get_alt()
562 static void sdp_disable(struct usb_function *f) in sdp_disable()
586 sdp_func->usb_function.name = "sdp"; in sdp_bind_config()
[all …]
Df_fastboot.c39 struct usb_function usb_function; member
46 static inline struct f_fastboot *func_to_fastboot(struct usb_function *f) in func_to_fastboot()
48 return container_of(f, struct f_fastboot, usb_function); in func_to_fastboot()
148 static int fastboot_bind(struct usb_configuration *c, struct usb_function *f) in fastboot_bind()
194 static void fastboot_unbind(struct usb_configuration *c, struct usb_function *f) in fastboot_unbind()
199 static void fastboot_disable(struct usb_function *f) in fastboot_disable()
237 static int fastboot_set_alt(struct usb_function *f, in fastboot_set_alt()
305 f_fb->usb_function.name = "f_fastboot"; in fastboot_add()
306 f_fb->usb_function.bind = fastboot_bind; in fastboot_add()
307 f_fb->usb_function.unbind = fastboot_unbind; in fastboot_add()
[all …]
Df_thor.c37 static inline struct f_thor *func_to_thor(struct usb_function *f) in func_to_thor()
39 return container_of(f, struct f_thor, usb_function); in func_to_thor()
631 thor_func_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in thor_func_setup()
746 static int thor_func_bind(struct usb_configuration *c, struct usb_function *f) in thor_func_bind()
860 static void thor_unbind(struct usb_configuration *c, struct usb_function *f) in thor_unbind()
871 static void thor_func_disable(struct usb_function *f) in thor_func_disable()
897 static int thor_eps_setup(struct usb_function *f) in thor_eps_setup()
962 static int thor_func_set_alt(struct usb_function *f, in thor_func_set_alt()
1000 f_thor->usb_function.name = "f_thor"; in thor_func_init()
1001 f_thor->usb_function.bind = thor_func_bind; in thor_func_init()
[all …]
Df_rockusb.c20 static inline struct f_rockusb *func_to_rockusb(struct usb_function *f) in func_to_rockusb()
22 return container_of(f, struct f_rockusb, usb_function); in func_to_rockusb()
147 static int rockusb_bind(struct usb_configuration *c, struct usb_function *f) in rockusb_bind()
191 static void rockusb_unbind(struct usb_configuration *c, struct usb_function *f) in rockusb_unbind()
197 static void rockusb_disable(struct usb_function *f) in rockusb_disable()
240 static int rockusb_set_alt(struct usb_function *f, unsigned int interface, in rockusb_set_alt()
299 f_rkusb->usb_function.name = "f_rockusb"; in rockusb_add()
300 f_rkusb->usb_function.bind = rockusb_bind; in rockusb_add()
301 f_rkusb->usb_function.unbind = rockusb_unbind; in rockusb_add()
302 f_rkusb->usb_function.set_alt = rockusb_set_alt; in rockusb_add()
[all …]
Dcomposite.c32 struct usb_function *function) in usb_add_function()
86 int usb_function_deactivate(struct usb_function *function) in usb_function_deactivate()
109 int usb_function_activate(struct usb_function *function) in usb_function_activate()
149 struct usb_function *function) in usb_interface_id()
169 struct usb_function *f; in config_buf()
292 struct usb_function *f; in reset_config()
316 struct usb_function *f; in set_config()
420 struct usb_function *f; in usb_add_config()
530 struct usb_function *f; in get_string()
708 struct usb_function *f = NULL; in composite_setup()
[all …]
Df_thor.h116 struct usb_function usb_function; member
Df_mass_storage.c370 struct usb_function function;
400 static inline struct fsg_dev *fsg_from_func(struct usb_function *f) in fsg_from_func()
529 static int fsg_setup(struct usb_function *f, in fsg_setup()
2261 static int fsg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in fsg_set_alt()
2269 static void fsg_disable(struct usb_function *f) in fsg_disable()
2633 static void fsg_unbind(struct usb_configuration *c, struct usb_function *f) in fsg_unbind()
2648 static int fsg_bind(struct usb_configuration *c, struct usb_function *f) in fsg_bind()
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Df_rockusb.h114 struct usb_function usb_function; member