Lines Matching refs:usb_function
38 static inline struct f_thor *func_to_thor(struct usb_function *f) in func_to_thor()
40 return container_of(f, struct f_thor, usb_function); in func_to_thor()
632 thor_func_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in thor_func_setup()
747 static int thor_func_bind(struct usb_configuration *c, struct usb_function *f) in thor_func_bind()
861 static void thor_unbind(struct usb_configuration *c, struct usb_function *f) in thor_unbind()
872 static void thor_func_disable(struct usb_function *f) in thor_func_disable()
898 static int thor_eps_setup(struct usb_function *f) in thor_eps_setup()
970 static int thor_func_set_alt(struct usb_function *f, in thor_func_set_alt()
1008 f_thor->usb_function.name = "f_thor"; in thor_func_init()
1009 f_thor->usb_function.bind = thor_func_bind; in thor_func_init()
1010 f_thor->usb_function.unbind = thor_unbind; in thor_func_init()
1011 f_thor->usb_function.setup = thor_func_setup; in thor_func_init()
1012 f_thor->usb_function.set_alt = thor_func_set_alt; in thor_func_init()
1013 f_thor->usb_function.disable = thor_func_disable; in thor_func_init()
1015 status = usb_add_function(c, &f_thor->usb_function); in thor_func_init()