Home
last modified time | relevance | path

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

/u-boot/include/linux/usb/
A Dcomposite.h144 struct usb_function { struct
164 struct usb_function *); argument
166 struct usb_function *); argument
169 int (*set_alt)(struct usb_function *, argument
171 int (*get_alt)(struct usb_function *, argument
173 void (*disable)(struct usb_function *); argument
174 int (*setup)(struct usb_function *, argument
176 void (*suspend)(struct usb_function *); argument
177 void (*resume)(struct usb_function *); argument
187 int usb_function_deactivate(struct usb_function *);
[all …]
/u-boot/drivers/usb/gadget/
A Df_dfu.c32 struct usb_function usb_function; member
57 return container_of(f, struct f_dfu, usb_function); in func_to_dfu()
228 f_dfu->usb_function.strings = dfu_strings; in to_dfu_mode()
236 f_dfu->usb_function.strings = NULL; in to_runtime_mode()
827 f_dfu->usb_function.name = "dfu"; in dfu_bind_config()
830 f_dfu->usb_function.bind = dfu_bind; in dfu_bind_config()
831 f_dfu->usb_function.unbind = dfu_unbind; in dfu_bind_config()
832 f_dfu->usb_function.set_alt = dfu_set_alt; in dfu_bind_config()
833 f_dfu->usb_function.get_alt = __dfu_get_alt; in dfu_bind_config()
834 f_dfu->usb_function.disable = dfu_disable; in dfu_bind_config()
[all …]
A Df_acm.c47 struct usb_function usb_function; member
61 return container_of(f, struct f_acm, usb_function); in func_to_acm()
448 static void acm_disable(struct usb_function *f) in acm_disable()
537 f_acm->usb_function.name = "f_acm"; in acm_add()
538 f_acm->usb_function.bind = acm_bind; in acm_add()
539 f_acm->usb_function.unbind = acm_unbind; in acm_add()
540 f_acm->usb_function.set_alt = acm_set_alt; in acm_add()
541 f_acm->usb_function.disable = acm_disable; in acm_add()
542 f_acm->usb_function.strings = acm_strings; in acm_add()
543 f_acm->usb_function.descriptors = acm_fs_function; in acm_add()
[all …]
A Df_fastboot.c42 struct usb_function usb_function; member
70 return container_of(f, struct f_fastboot, usb_function); in func_to_fastboot()
278 static void fastboot_disable(struct usb_function *f) in fastboot_disable()
316 static int fastboot_set_alt(struct usb_function *f, in fastboot_set_alt()
384 f_fb->usb_function.name = "f_fastboot"; in fastboot_add()
385 f_fb->usb_function.bind = fastboot_bind; in fastboot_add()
386 f_fb->usb_function.unbind = fastboot_unbind; in fastboot_add()
387 f_fb->usb_function.set_alt = fastboot_set_alt; in fastboot_add()
388 f_fb->usb_function.disable = fastboot_disable; in fastboot_add()
389 f_fb->usb_function.strings = fastboot_strings; in fastboot_add()
[all …]
A Df_sdp.c103 struct usb_function usb_function; member
135 return container_of(f, struct f_sdp, usb_function); in func_to_sdp()
658 static void sdp_disable(struct usb_function *f) in sdp_disable()
689 sdp_func->usb_function.name = "sdp"; in sdp_bind_config()
692 sdp_func->usb_function.bind = sdp_bind; in sdp_bind_config()
693 sdp_func->usb_function.unbind = sdp_unbind; in sdp_bind_config()
694 sdp_func->usb_function.set_alt = sdp_set_alt; in sdp_bind_config()
695 sdp_func->usb_function.get_alt = sdp_get_alt; in sdp_bind_config()
696 sdp_func->usb_function.disable = sdp_disable; in sdp_bind_config()
697 sdp_func->usb_function.strings = sdp_generic_strings; in sdp_bind_config()
[all …]
A Df_thor.c44 return container_of(f, struct f_thor, usb_function); in func_to_thor()
878 static void thor_func_disable(struct usb_function *f) in thor_func_disable()
904 static int thor_eps_setup(struct usb_function *f) in thor_eps_setup()
976 static int thor_func_set_alt(struct usb_function *f, in thor_func_set_alt()
1014 f_thor->usb_function.name = "f_thor"; in thor_func_init()
1015 f_thor->usb_function.bind = thor_func_bind; in thor_func_init()
1016 f_thor->usb_function.unbind = thor_unbind; in thor_func_init()
1017 f_thor->usb_function.setup = thor_func_setup; in thor_func_init()
1018 f_thor->usb_function.set_alt = thor_func_set_alt; in thor_func_init()
1019 f_thor->usb_function.disable = thor_func_disable; in thor_func_init()
[all …]
A Df_thor.h116 struct usb_function usb_function; member
A Dcomposite.c203 struct usb_function *f; in config_buf()
354 struct usb_function *f; in reset_config()
378 struct usb_function *f; in set_config()
487 struct usb_function *f; in usb_add_config()
615 struct usb_function *f; in get_string()
856 struct usb_function *f; in count_ext_compat()
880 struct usb_function *f; in fill_ext_compat()
909 struct usb_function *f; in count_ext_prop()
927 struct usb_function *f; in len_ext_prop()
945 struct usb_function *f; in fill_ext_prop()
[all …]
A Df_rockusb.c23 static inline struct f_rockusb *func_to_rockusb(struct usb_function *f) in func_to_rockusb()
25 return container_of(f, struct f_rockusb, usb_function); in func_to_rockusb()
200 static void rockusb_disable(struct usb_function *f) in rockusb_disable()
243 static int rockusb_set_alt(struct usb_function *f, unsigned int interface, in rockusb_set_alt()
302 f_rkusb->usb_function.name = "f_rockusb"; in rockusb_add()
303 f_rkusb->usb_function.bind = rockusb_bind; in rockusb_add()
304 f_rkusb->usb_function.unbind = rockusb_unbind; in rockusb_add()
305 f_rkusb->usb_function.set_alt = rockusb_set_alt; in rockusb_add()
306 f_rkusb->usb_function.disable = rockusb_disable; in rockusb_add()
307 f_rkusb->usb_function.strings = rkusb_strings; in rockusb_add()
[all …]
A Df_mass_storage.c373 struct usb_function function;
407 static inline struct fsg_dev *fsg_from_func(struct usb_function *f) in fsg_from_func()
537 static int fsg_setup(struct usb_function *f, in fsg_setup()
2268 static int fsg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in fsg_set_alt()
2276 static void fsg_disable(struct usb_function *f) in fsg_disable()
2640 static void fsg_unbind(struct usb_configuration *c, struct usb_function *f) in fsg_unbind()
2655 static int fsg_bind(struct usb_configuration *c, struct usb_function *f) in fsg_bind()
/u-boot/arch/arm/include/asm/arch-rockchip/
A Df_rockusb.h116 struct usb_function usb_function; member

Completed in 31 milliseconds