Lines Matching refs:usb_otg
16 struct usb_otg { struct
28 int (*set_host)(struct usb_otg *otg, struct usb_bus *host); argument
31 int (*set_peripheral)(struct usb_otg *otg, argument
35 int (*set_vbus)(struct usb_otg *otg, bool enabled); argument
38 int (*start_srp)(struct usb_otg *otg); argument
41 int (*start_hnp)(struct usb_otg *otg); argument
64 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp()
74 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus()
84 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
105 otg_start_srp(struct usb_otg *otg) in otg_start_srp()