Lines Matching refs:usb_otg
15 struct usb_otg { struct
27 int (*set_host)(struct usb_otg *otg, struct usb_bus *host); argument
30 int (*set_peripheral)(struct usb_otg *otg, argument
34 int (*set_vbus)(struct usb_otg *otg, bool enabled); argument
37 int (*start_srp)(struct usb_otg *otg); argument
40 int (*start_hnp)(struct usb_otg *otg); argument
48 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp()
58 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus()
68 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
80 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
89 otg_start_srp(struct usb_otg *otg) in otg_start_srp()