Lines Matching refs:otg
28 int (*set_host)(struct usb_otg *otg, struct usb_bus *host);
31 int (*set_peripheral)(struct usb_otg *otg,
35 int (*set_vbus)(struct usb_otg *otg, bool enabled);
38 int (*start_srp)(struct usb_otg *otg);
41 int (*start_hnp)(struct usb_otg *otg);
64 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp() argument
66 if (otg && otg->start_hnp) in otg_start_hnp()
67 return otg->start_hnp(otg); in otg_start_hnp()
74 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus() argument
76 if (otg && otg->set_vbus) in otg_set_vbus()
77 return otg->set_vbus(otg, enabled); in otg_set_vbus()
84 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host() argument
86 if (otg && otg->set_host) in otg_set_host()
87 return otg->set_host(otg, host); in otg_set_host()
96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral() argument
98 if (otg && otg->set_peripheral) in otg_set_peripheral()
99 return otg->set_peripheral(otg, periph); in otg_set_peripheral()
105 otg_start_srp(struct usb_otg *otg) in otg_start_srp() argument
107 if (otg && otg->start_srp) in otg_start_srp()
108 return otg->start_srp(otg); in otg_start_srp()