Lines Matching refs:usb_function
190 struct usb_function { struct
211 struct usb_function *); argument
213 struct usb_function *); argument
214 void (*free_func)(struct usb_function *f); argument
218 int (*set_alt)(struct usb_function *, argument
220 int (*get_alt)(struct usb_function *, argument
222 void (*disable)(struct usb_function *); argument
223 int (*setup)(struct usb_function *, argument
225 bool (*req_match)(struct usb_function *, argument
228 void (*suspend)(struct usb_function *); argument
229 void (*resume)(struct usb_function *); argument
232 int (*get_status)(struct usb_function *); argument
233 int (*func_suspend)(struct usb_function *, argument
246 int usb_add_function(struct usb_configuration *, struct usb_function *); argument
248 int usb_function_deactivate(struct usb_function *);
249 int usb_function_activate(struct usb_function *);
251 int usb_interface_id(struct usb_configuration *, struct usb_function *);
253 int config_ep_by_speed_and_alt(struct usb_gadget *g, struct usb_function *f,
256 int config_ep_by_speed(struct usb_gadget *g, struct usb_function *f,
258 int usb_func_wakeup(struct usb_function *func);
336 struct usb_function *interface[MAX_CONFIG_INTERFACES];
582 struct usb_function *(*alloc_func)(struct usb_function_instance *inst);
597 void usb_put_function(struct usb_function *f);
599 struct usb_function *usb_get_function(struct usb_function_instance *fi);
605 void usb_remove_function(struct usb_configuration *c, struct usb_function *f);