Lines Matching refs:usb_function
191 struct usb_function { struct
212 struct usb_function *); argument
214 struct usb_function *); argument
215 void (*free_func)(struct usb_function *f); argument
219 int (*set_alt)(struct usb_function *, argument
221 int (*get_alt)(struct usb_function *, argument
223 void (*disable)(struct usb_function *); argument
224 int (*setup)(struct usb_function *, argument
226 bool (*req_match)(struct usb_function *, argument
229 void (*suspend)(struct usb_function *); argument
230 void (*resume)(struct usb_function *); argument
233 int (*get_status)(struct usb_function *); argument
234 int (*func_suspend)(struct usb_function *, argument
245 int usb_add_function(struct usb_configuration *, struct usb_function *); argument
247 int usb_function_deactivate(struct usb_function *);
248 int usb_function_activate(struct usb_function *);
250 int usb_interface_id(struct usb_configuration *, struct usb_function *);
252 int config_ep_by_speed_and_alt(struct usb_gadget *g, struct usb_function *f,
255 int config_ep_by_speed(struct usb_gadget *g, struct usb_function *f,
334 struct usb_function *interface[MAX_CONFIG_INTERFACES];
586 struct usb_function *(*alloc_func)(struct usb_function_instance *inst);
601 void usb_put_function(struct usb_function *f);
603 struct usb_function *usb_get_function(struct usb_function_instance *fi);
609 void usb_remove_function(struct usb_configuration *c, struct usb_function *f);