Searched refs:gadget (Results 1 – 3 of 3) sorted by relevance
/include/linux/usb/ |
D | gadget.h | 333 void (*udc_set_ssp_rate)(struct usb_gadget *gadget, 335 void (*udc_async_callbacks)(struct usb_gadget *gadget, bool enable); 339 int (*check_config)(struct usb_gadget *gadget); 470 static inline void set_gadget_data(struct usb_gadget *gadget, void *data) in set_gadget_data() argument 471 { dev_set_drvdata(&gadget->dev, data); } in set_gadget_data() 472 static inline void *get_gadget_data(struct usb_gadget *gadget) in get_gadget_data() argument 473 { return dev_get_drvdata(&gadget->dev); } in get_gadget_data() 478 static inline struct usb_gadget *usb_get_gadget(struct usb_gadget *gadget) in usb_get_gadget() argument 480 get_device(&gadget->dev); in usb_get_gadget() 481 return gadget; in usb_get_gadget() [all …]
|
D | composite.h | 479 struct usb_gadget *gadget; member 527 extern void composite_disconnect(struct usb_gadget *gadget); 528 extern void composite_reset(struct usb_gadget *gadget); 530 extern int composite_setup(struct usb_gadget *gadget, 532 extern void composite_suspend(struct usb_gadget *gadget); 533 extern void composite_resume(struct usb_gadget *gadget); 638 dev_dbg(&(d)->gadget->dev , fmt , ## args) 640 dev_vdbg(&(d)->gadget->dev , fmt , ## args) 642 dev_err(&(d)->gadget->dev , fmt , ## args) 644 dev_warn(&(d)->gadget->dev , fmt , ## args) [all …]
|
D | otg.h | 24 struct usb_gadget *gadget; member 33 struct usb_gadget *gadget);
|