Home
last modified time | relevance | path

Searched refs:set_vbus (Results 1 - 25 of 62) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-mv.c42 int (*set_vbus)(unsigned int vbus); member
127 ehci_mv->set_vbus = pdata->set_vbus; in mv_ehci_probe()
200 if (ehci_mv->set_vbus) in mv_ehci_probe()
201 ehci_mv->set_vbus(1); in mv_ehci_probe()
228 if (ehci_mv->set_vbus) in mv_ehci_probe()
229 ehci_mv->set_vbus(0); in mv_ehci_probe()
250 if (ehci_mv->set_vbus) in mv_ehci_remove()
251 ehci_mv->set_vbus(0); in mv_ehci_remove()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-mv.c42 int (*set_vbus)(unsigned int vbus); member
127 ehci_mv->set_vbus = pdata->set_vbus; in mv_ehci_probe()
199 if (ehci_mv->set_vbus) in mv_ehci_probe()
200 ehci_mv->set_vbus(1); in mv_ehci_probe()
227 if (ehci_mv->set_vbus) in mv_ehci_probe()
228 ehci_mv->set_vbus(0); in mv_ehci_probe()
249 if (ehci_mv->set_vbus) in mv_ehci_remove()
250 ehci_mv->set_vbus(0); in mv_ehci_remove()
/kernel/linux/linux-5.10/include/linux/usb/
H A Dotg.h35 int (*set_vbus)(struct usb_otg *otg, bool enabled); member
76 if (otg && otg->set_vbus) in otg_set_vbus()
77 return otg->set_vbus(otg, enabled); in otg_set_vbus()
H A Dphy.h130 int (*set_vbus)(struct usb_phy *x, int on); member
201 if (!x || !x->set_vbus) in usb_phy_vbus_on()
204 return x->set_vbus(x, true); in usb_phy_vbus_on()
210 if (!x || !x->set_vbus) in usb_phy_vbus_off()
213 return x->set_vbus(x, false); in usb_phy_vbus_off()
H A Dphy_companion.h29 int (*set_vbus)(struct phy_companion *x, bool enabled); member
H A Drenesas_usbhs.h91 int (*set_vbus)(struct platform_device *pdev, int enable); member
H A Dmusb.h88 int (*set_vbus)(struct device *dev, int is_on); member
H A Dtcpm.h69 * @set_vbus: Called to enable or disable VBUS
99 int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge); member
/kernel/linux/linux-6.6/include/linux/usb/
H A Dotg.h35 int (*set_vbus)(struct usb_otg *otg, bool enabled); member
76 if (otg && otg->set_vbus) in otg_set_vbus()
77 return otg->set_vbus(otg, enabled); in otg_set_vbus()
H A Dphy.h130 int (*set_vbus)(struct usb_phy *x, int on); member
201 if (!x || !x->set_vbus) in usb_phy_vbus_on()
204 return x->set_vbus(x, true); in usb_phy_vbus_on()
210 if (!x || !x->set_vbus) in usb_phy_vbus_off()
213 return x->set_vbus(x, false); in usb_phy_vbus_off()
H A Dphy_companion.h19 int (*set_vbus)(struct phy_companion *x, bool enabled); member
H A Drenesas_usbhs.h91 int (*set_vbus)(struct platform_device *pdev, int enable); member
H A Dmusb.h88 int (*set_vbus)(struct device *dev, int is_on); member
H A Dtcpm.h75 * @set_vbus: Called to enable or disable VBUS
137 int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge); member
/kernel/linux/linux-5.10/drivers/phy/
H A Dphy-lgm-usb.c91 return phy->set_vbus(phy, true); in phy_init()
109 ta->phy.set_vbus(&ta->phy, false); in phy_shutdown()
167 ret = ta->phy.set_vbus(&ta->phy, connected); in tca_work()
208 phy->set_vbus = phy_set_vbus; in phy_probe()
/kernel/linux/linux-6.6/drivers/phy/
H A Dphy-lgm-usb.c91 return phy->set_vbus(phy, true); in phy_init()
109 ta->phy.set_vbus(&ta->phy, false); in phy_shutdown()
167 ret = ta->phy.set_vbus(&ta->phy, connected); in tca_work()
208 phy->set_vbus = phy_set_vbus; in phy_probe()
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dmv_usb.h38 int (*set_vbus)(unsigned int vbus); member
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dmv_usb.h38 int (*set_vbus)(unsigned int vbus); member
/kernel/linux/linux-5.10/drivers/phy/ti/
H A Dphy-omap-usb2.c97 * filled with set_vbus and start_srp to be used by usb phy.
119 if (!phy->comparator || !phy->comparator->set_vbus) in omap_usb_set_vbus()
122 return phy->comparator->set_vbus(phy->comparator, enabled); in omap_usb_set_vbus()
482 otg->set_vbus = omap_usb_set_vbus; in omap_usb2_probe()
/kernel/linux/linux-5.10/drivers/usb/musb/
H A Dmusb_core.h139 * @set_vbus: forces vbus status
187 void (*set_vbus)(struct musb *musb, int on); member
514 if (musb->ops->set_vbus) in musb_platform_set_vbus()
515 musb->ops->set_vbus(musb, is_on); in musb_platform_set_vbus()
/kernel/linux/linux-6.6/drivers/usb/musb/
H A Dmusb_core.h139 * @set_vbus: forces vbus status
187 void (*set_vbus)(struct musb *musb, int on); member
514 if (musb->ops->set_vbus) in musb_platform_set_vbus()
515 musb->ops->set_vbus(musb, is_on); in musb_platform_set_vbus()
/kernel/linux/linux-6.6/drivers/phy/ti/
H A Dphy-omap-usb2.c97 * filled with set_vbus and start_srp to be used by usb phy.
119 if (!phy->comparator || !phy->comparator->set_vbus) in omap_usb_set_vbus()
122 return phy->comparator->set_vbus(phy->comparator, enabled); in omap_usb_set_vbus()
478 otg->set_vbus = omap_usb_set_vbus; in omap_usb2_probe()
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-isp1301.c111 phy->set_vbus = isp1301_phy_set_vbus; in isp1301_probe()
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
H A Dtcpci.c362 if (tcpci->data->set_vbus) { in tcpci_set_vbus()
363 ret = tcpci->data->set_vbus(tcpci, tcpci->data, source, sink); in tcpci_set_vbus()
638 tcpci->tcpc.set_vbus = tcpci_set_vbus; in tcpci_register_port()
/kernel/linux/linux-5.10/drivers/usb/phy/
H A Dphy-isp1301.c112 phy->set_vbus = isp1301_phy_set_vbus; in isp1301_probe()

Completed in 15 milliseconds

123