Home
last modified time | relevance | path

Searched refs:set_vbus (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/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()
/openbmc/linux/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.h137 int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge); member
H A Dtcpci.h210 int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink); member
/openbmc/linux/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()
/openbmc/linux/include/linux/platform_data/
H A Dmv_usb.h38 int (*set_vbus)(unsigned int vbus); member
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_core.h221 void (*set_vbus)(struct musb *musb, int on); member
519 if (musb->ops->set_vbus) in musb_platform_set_vbus()
520 musb->ops->set_vbus(musb, is_on); in musb_platform_set_vbus()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_core.h187 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()
H A Dmpfs.c140 .set_vbus = mpfs_musb_set_vbus
H A Dux500.c185 .set_vbus = ux500_musb_set_vbus,
/openbmc/linux/drivers/phy/ti/
H A Dphy-omap-usb2.c119 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()
/openbmc/u-boot/include/linux/usb/
H A Dmusb.h104 int (*set_vbus)(struct device *dev, int is_on); member
/openbmc/linux/drivers/usb/phy/
H A Dphy-isp1301.c111 phy->set_vbus = isp1301_phy_set_vbus; in isp1301_probe()
H A Dphy-mv-usb.c55 if (mvotg->pdata->set_vbus == NULL) in mv_otg_set_vbus()
58 return mvotg->pdata->set_vbus(on); in mv_otg_set_vbus()
707 otg->set_vbus = mv_otg_set_vbus; in mv_otg_probe()
H A Dphy-ulpi.c255 otg->set_vbus = ulpi_set_vbus; in otg_ulpi_init()
H A Dphy-twl6030-usb.c356 twl->comparator.set_vbus = twl6030_set_vbus; in twl6030_usb_probe()
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c159 priv->tcpci_data.set_vbus = mt6370_tcpc_set_vbus; in mt6370_tcpc_probe()
H A Dtcpci.c488 if (tcpci->data->set_vbus) { in tcpci_set_vbus()
489 ret = tcpci->data->set_vbus(tcpci, tcpci->data, source, sink); in tcpci_set_vbus()
781 tcpci->tcpc.set_vbus = tcpci_set_vbus; in tcpci_register_port()
H A Dtcpci_rt1711h.c369 chip->data.set_vbus = rt1711h_set_vbus; in rt1711h_probe()
H A Dtcpci_maxim_core.c454 chip->data.set_vbus = max_tcpci_set_vbus; in max_tcpci_probe()
/openbmc/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.c203 tcpm->tcpc.set_vbus = qcom_pmic_typec_set_vbus; in qcom_pmic_typec_probe()

12