Lines Matching defs:usb_phy
88 struct usb_phy { struct
93 enum usb_phy_type type; argument
94 enum usb_phy_events last_event; argument
99 struct usb_phy_io_ops *io_ops; argument
115 /* for notification of usb_phy_events */ argument
126 int (*init)(struct usb_phy *x); argument
127 void (*shutdown)(struct usb_phy *x); argument
130 int (*set_vbus)(struct usb_phy *x, int on); argument
133 int (*set_power)(struct usb_phy *x, argument
137 int (*set_suspend)(struct usb_phy *x, argument
145 int (*set_wakeup)(struct usb_phy *x, bool enabled); argument
148 int (*notify_connect)(struct usb_phy *x, argument
150 int (*notify_disconnect)(struct usb_phy *x, argument
157 enum usb_charger_type (*charger_detect)(struct usb_phy *x); argument
270 static inline void usb_phy_set_charger_current(struct usb_phy *usb_phy, in usb_phy_set_charger_current()
275 static inline void usb_phy_get_charger_current(struct usb_phy *usb_phy, in usb_phy_get_charger_current()
281 static inline void usb_phy_set_charger_state(struct usb_phy *usb_phy, in usb_phy_set_charger_state()