Home
last modified time | relevance | path

Searched refs:PHY_MODE_USB_HOST (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c278 : PHY_MODE_USB_HOST); in dwc3_meson_gxl_usb2_init_phy()
284 if (mode == PHY_MODE_USB_HOST) in dwc3_meson_g12a_set_phy_mode()
312 PHY_MODE_USB_HOST); in dwc3_meson_g12a_usb2_init_phy()
479 return PHY_MODE_USB_HOST; in dwc3_meson_g12a_get_id()
490 if (mode == PHY_MODE_USB_HOST) in dwc3_meson_g12a_otg_mode_set()
524 mode = (role == USB_ROLE_HOST) ? PHY_MODE_USB_HOST in dwc3_meson_g12a_role_set()
540 return priv->otg_phy_mode == PHY_MODE_USB_HOST ? in dwc3_meson_g12a_role_get()
767 priv->otg_phy_mode = PHY_MODE_USB_HOST; in dwc3_meson_g12a_probe()
880 if (priv->vbus && priv->otg_phy_mode == PHY_MODE_USB_HOST) { in dwc3_meson_g12a_suspend()
923 if (priv->vbus && priv->otg_phy_mode == PHY_MODE_USB_HOST) { in dwc3_meson_g12a_resume()
H A Dcore.c224 phy_set_mode(dwc->usb2_generic_phy, PHY_MODE_USB_HOST); in __dwc3_set_mode()
225 phy_set_mode(dwc->usb3_generic_phy, PHY_MODE_USB_HOST); in __dwc3_set_mode()
1451 phy_set_mode(dwc->usb2_generic_phy, PHY_MODE_USB_HOST); in dwc3_core_init_mode()
1452 phy_set_mode(dwc->usb3_generic_phy, PHY_MODE_USB_HOST); in dwc3_core_init_mode()
H A Ddrd.c391 PHY_MODE_USB_HOST); in dwc3_otg_update()
/openbmc/linux/drivers/phy/amlogic/
H A Dphy-meson-gxl-usb2.c158 case PHY_MODE_USB_HOST: in phy_meson_gxl_usb2_set_mode()
253 priv->mode = PHY_MODE_USB_HOST; in phy_meson_gxl_usb2_probe()
/openbmc/linux/drivers/phy/qualcomm/
H A Dphy-qcom-usb-hs.c54 case PHY_MODE_USB_HOST: in qcom_usb_hs_phy_set_mode()
74 case PHY_MODE_USB_HOST: in qcom_usb_hs_phy_set_mode()
H A Dphy-qcom-eusb2-repeater.c166 case PHY_MODE_USB_HOST: in eusb2_repeater_set_mode()
H A Dphy-qcom-snps-femto-v2.c187 if (hsphy->mode == PHY_MODE_USB_HOST) { in qcom_snps_hsphy_suspend()
/openbmc/linux/drivers/usb/musb/
H A Dmediatek.c78 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_otg_switch_set()
227 new_mode = PHY_MODE_USB_HOST; in mtk_musb_set_mode()
439 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_musb_probe()
H A Dsunxi.c336 new_mode = PHY_MODE_USB_HOST; in sunxi_musb_set_mode()
700 glue->phy_mode = PHY_MODE_USB_HOST; in sunxi_musb_probe()
H A Dda8xx.c339 phy_mode = PHY_MODE_USB_HOST; in da8xx_musb_set_mode()
H A Dmusb_host.c2737 phy_set_mode(musb->phy, PHY_MODE_USB_HOST); in musb_host_setup()
/openbmc/linux/drivers/phy/starfive/
H A Dphy-jh7110-usb.c50 case PHY_MODE_USB_HOST: in usb2_phy_set_mode()
H A Dphy-jh7110-pcie.c112 case PHY_MODE_USB_HOST: in jh7110_pcie_phy_set_mode()
/openbmc/linux/drivers/usb/cdns3/
H A Ddrd.c200 phy_set_mode(cdns->usb2_phy, PHY_MODE_USB_HOST); in cdns_drd_host_on()
201 phy_set_mode(cdns->usb3_phy, PHY_MODE_USB_HOST); in cdns_drd_host_on()
/openbmc/linux/drivers/phy/renesas/
H A Dphy-rcar-gen3-usb2.c295 return PHY_MODE_USB_HOST; in rcar_gen3_get_phy_mode()
347 new_mode = PHY_MODE_USB_HOST; in role_store()
361 if (new_mode == PHY_MODE_USB_HOST) { /* And is_host must be false */ in role_store()
/openbmc/linux/drivers/phy/ti/
H A Dphy-da8xx-usb.c95 case PHY_MODE_USB_HOST: /* Force VBUS valid, ID = 0 */ in da8xx_usb20_phy_set_mode()
H A Dphy-tusb1210.c134 case PHY_MODE_USB_HOST: in tusb1210_set_mode()
/openbmc/linux/drivers/phy/ingenic/
H A Dphy-ingenic-usb.c162 case PHY_MODE_USB_HOST: in ingenic_usb_phy_set_mode()
/openbmc/linux/include/linux/phy/
H A Dphy.h27 PHY_MODE_USB_HOST, enumerator
/openbmc/linux/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c520 if (mode == PHY_MODE_USB_HOST) in sun4i_usb_phy_set_mode()
526 case PHY_MODE_USB_HOST: in sun4i_usb_phy_set_mode()
/openbmc/linux/drivers/phy/mediatek/
H A Dphy-mtk-xsphy.c219 case PHY_MODE_USB_HOST: in u2_phy_instance_set_mode()
H A Dphy-mtk-tphy.c932 case PHY_MODE_USB_HOST: in u2_phy_instance_set_mode()
/openbmc/linux/drivers/usb/chipidea/
H A Dcore.c419 phy_set_mode(ci->phy, PHY_MODE_USB_HOST); in ci_platform_configure()
/openbmc/linux/drivers/usb/core/
H A Dhcd.c2810 PHY_MODE_USB_HOST); in usb_add_hcd()