Lines Matching refs:usb_function
181 struct usb_function { struct
202 struct usb_function *); argument
204 struct usb_function *); argument
205 void (*free_func)(struct usb_function *f); argument
209 int (*set_alt)(struct usb_function *, argument
211 int (*get_alt)(struct usb_function *, argument
213 void (*disable)(struct usb_function *); argument
214 int (*setup)(struct usb_function *, argument
216 bool (*req_match)(struct usb_function *, argument
219 void (*suspend)(struct usb_function *); argument
220 void (*resume)(struct usb_function *); argument
223 int (*get_status)(struct usb_function *); argument
224 int (*func_suspend)(struct usb_function *, argument
237 int usb_add_function(struct usb_configuration *, struct usb_function *); argument
239 int usb_function_deactivate(struct usb_function *);
240 int usb_function_activate(struct usb_function *);
242 int usb_interface_id(struct usb_configuration *, struct usb_function *);
244 int config_ep_by_speed_and_alt(struct usb_gadget *g, struct usb_function *f,
247 int config_ep_by_speed(struct usb_gadget *g, struct usb_function *f,
249 int usb_func_wakeup(struct usb_function *func);
327 struct usb_function *interface[MAX_CONFIG_INTERFACES];
571 struct usb_function *(*alloc_func)(struct usb_function_instance *inst);
586 void usb_put_function(struct usb_function *f);
588 struct usb_function *usb_get_function(struct usb_function_instance *fi);
594 void usb_remove_function(struct usb_configuration *c, struct usb_function *f);