Searched refs:usb_function (Results 1 – 10 of 10) sorted by relevance
/u-boot/include/linux/usb/ |
A D | composite.h | 144 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 D | f_dfu.c | 32 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() 809 f_dfu->usb_function.name = "dfu"; in dfu_bind_config() 812 f_dfu->usb_function.bind = dfu_bind; in dfu_bind_config() 813 f_dfu->usb_function.unbind = dfu_unbind; in dfu_bind_config() 814 f_dfu->usb_function.set_alt = dfu_set_alt; in dfu_bind_config() 815 f_dfu->usb_function.get_alt = __dfu_get_alt; in dfu_bind_config() 816 f_dfu->usb_function.disable = dfu_disable; in dfu_bind_config() [all …]
|
A D | f_fastboot.c | 42 struct usb_function usb_function; member 70 return container_of(f, struct f_fastboot, usb_function); in func_to_fastboot() 277 static void fastboot_disable(struct usb_function *f) in fastboot_disable() 315 static int fastboot_set_alt(struct usb_function *f, in fastboot_set_alt() 383 f_fb->usb_function.name = "f_fastboot"; in fastboot_add() 384 f_fb->usb_function.bind = fastboot_bind; in fastboot_add() 385 f_fb->usb_function.unbind = fastboot_unbind; in fastboot_add() 386 f_fb->usb_function.set_alt = fastboot_set_alt; in fastboot_add() 387 f_fb->usb_function.disable = fastboot_disable; in fastboot_add() 388 f_fb->usb_function.strings = fastboot_strings; in fastboot_add() [all …]
|
A D | f_sdp.c | 103 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 D | f_thor.h | 116 struct usb_function usb_function; member
|
A D | f_thor.c | 44 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 D | composite.c | 203 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 D | f_rockusb.c | 24 static inline struct f_rockusb *func_to_rockusb(struct usb_function *f) in func_to_rockusb() 26 return container_of(f, struct f_rockusb, usb_function); in func_to_rockusb() 201 static void rockusb_disable(struct usb_function *f) in rockusb_disable() 244 static int rockusb_set_alt(struct usb_function *f, unsigned int interface, in rockusb_set_alt() 303 f_rkusb->usb_function.name = "f_rockusb"; in rockusb_add() 304 f_rkusb->usb_function.bind = rockusb_bind; in rockusb_add() 305 f_rkusb->usb_function.unbind = rockusb_unbind; in rockusb_add() 306 f_rkusb->usb_function.set_alt = rockusb_set_alt; in rockusb_add() 307 f_rkusb->usb_function.disable = rockusb_disable; in rockusb_add() 308 f_rkusb->usb_function.strings = rkusb_strings; in rockusb_add() [all …]
|
A D | f_mass_storage.c | 373 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() 2269 static int fsg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in fsg_set_alt() 2277 static void fsg_disable(struct usb_function *f) in fsg_disable() 2641 static void fsg_unbind(struct usb_configuration *c, struct usb_function *f) in fsg_unbind() 2656 static int fsg_bind(struct usb_configuration *c, struct usb_function *f) in fsg_bind()
|
/u-boot/arch/arm/include/asm/arch-rockchip/ |
A D | f_rockusb.h | 116 struct usb_function usb_function; member
|
Completed in 25 milliseconds