Lines Matching refs:usb_function
43 static inline struct f_thor *func_to_thor(struct usb_function *f) in func_to_thor()
45 return container_of(f, struct f_thor, usb_function); in func_to_thor()
639 thor_func_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in thor_func_setup()
756 static int thor_func_bind(struct usb_configuration *c, struct usb_function *f) in thor_func_bind()
870 static void thor_unbind(struct usb_configuration *c, struct usb_function *f) in thor_unbind()
881 static void thor_func_disable(struct usb_function *f) in thor_func_disable()
907 static int thor_eps_setup(struct usb_function *f) in thor_eps_setup()
979 static int thor_func_set_alt(struct usb_function *f, in thor_func_set_alt()
1017 f_thor->usb_function.name = "f_thor"; in thor_func_init()
1018 f_thor->usb_function.bind = thor_func_bind; in thor_func_init()
1019 f_thor->usb_function.unbind = thor_unbind; in thor_func_init()
1020 f_thor->usb_function.setup = thor_func_setup; in thor_func_init()
1021 f_thor->usb_function.set_alt = thor_func_set_alt; in thor_func_init()
1022 f_thor->usb_function.disable = thor_func_disable; in thor_func_init()
1024 status = usb_add_function(c, &f_thor->usb_function); in thor_func_init()