Lines Matching defs:usb_phy
89 struct usb_phy { struct
94 enum usb_phy_type type; argument
95 enum usb_phy_events last_event; argument
100 struct usb_phy_io_ops *io_ops; argument
116 /* for notification of usb_phy_events */ argument
127 int (*init)(struct usb_phy *x); argument
128 void (*shutdown)(struct usb_phy *x); argument
131 int (*set_vbus)(struct usb_phy *x, int on); argument
134 int (*set_power)(struct usb_phy *x, argument
138 int (*set_suspend)(struct usb_phy *x, argument
146 int (*set_wakeup)(struct usb_phy *x, bool enabled); argument
149 int (*notify_connect)(struct usb_phy *x, argument
151 int (*notify_disconnect)(struct usb_phy *x, argument
158 enum usb_charger_type (*charger_detect)(struct usb_phy *x); argument
273 static inline void usb_phy_set_charger_current(struct usb_phy *usb_phy, in usb_phy_set_charger_current()
278 static inline void usb_phy_get_charger_current(struct usb_phy *usb_phy, in usb_phy_get_charger_current()
284 static inline void usb_phy_set_charger_state(struct usb_phy *usb_phy, in usb_phy_set_charger_state()