Lines Matching refs:usb_function
42 static inline struct f_thor *func_to_thor(struct usb_function *f) in func_to_thor()
44 return container_of(f, struct f_thor, usb_function); in func_to_thor()
636 thor_func_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in thor_func_setup()
753 static int thor_func_bind(struct usb_configuration *c, struct usb_function *f) in thor_func_bind()
867 static void thor_unbind(struct usb_configuration *c, struct usb_function *f) in thor_unbind()
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()
1021 status = usb_add_function(c, &f_thor->usb_function); in thor_func_init()