Home
last modified time | relevance | path

Searched refs:uphy (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/phy/qualcomm/
H A Dphy-qcom-usb-hs.c45 struct qcom_usb_hs_phy *uphy = phy_get_drvdata(phy); in qcom_usb_hs_phy_set_mode() local
49 if (!uphy->vbus_edev) { in qcom_usb_hs_phy_set_mode()
64 ret = ulpi_write(uphy->ulpi, ULPI_USB_INT_EN_RISE, val); in qcom_usb_hs_phy_set_mode()
67 ret = ulpi_write(uphy->ulpi, ULPI_USB_INT_EN_FALL, val); in qcom_usb_hs_phy_set_mode()
81 ret = ulpi_write(uphy->ulpi, ULPI_SET(ULPI_PWR_CLK_MNG_REG), in qcom_usb_hs_phy_set_mode()
85 ret = ulpi_write(uphy->ulpi, addr, ULPI_MISC_A_VBUSVLDEXTSEL); in qcom_usb_hs_phy_set_mode()
95 struct qcom_usb_hs_phy *uphy; in qcom_usb_hs_phy_vbus_notifier() local
98 uphy = container_of(nb, struct qcom_usb_hs_phy, vbus_notify); in qcom_usb_hs_phy_vbus_notifier()
105 return ulpi_write(uphy->ulpi, addr, ULPI_MISC_A_VBUSVLDEXT); in qcom_usb_hs_phy_vbus_notifier()
110 struct qcom_usb_hs_phy *uphy = phy_get_drvdata(phy); in qcom_usb_hs_phy_power_on() local
[all …]
H A Dphy-qcom-usb-hsic.c28 struct qcom_usb_hsic_phy *uphy = phy_get_drvdata(phy); in qcom_usb_hsic_phy_power_on() local
29 struct ulpi *ulpi = uphy->ulpi; in qcom_usb_hsic_phy_power_on()
33 ret = clk_prepare_enable(uphy->phy_clk); in qcom_usb_hsic_phy_power_on()
37 ret = clk_prepare_enable(uphy->cal_clk); in qcom_usb_hsic_phy_power_on()
41 ret = clk_prepare_enable(uphy->cal_sleep_clk); in qcom_usb_hsic_phy_power_on()
56 pins_default = pinctrl_lookup_state(uphy->pctl, PINCTRL_STATE_DEFAULT); in qcom_usb_hsic_phy_power_on()
62 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on()
79 clk_disable_unprepare(uphy->cal_sleep_clk); in qcom_usb_hsic_phy_power_on()
81 clk_disable_unprepare(uphy->cal_clk); in qcom_usb_hsic_phy_power_on()
83 clk_disable_unprepare(uphy->phy_clk); in qcom_usb_hsic_phy_power_on()
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dphy-rockchip-typec.txt16 "uphy", "uphy-pipe", "uphy-tcphy"
51 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
75 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
/linux/drivers/usb/dwc2/
H A Dhcd.c4393 if (!IS_ERR_OR_NULL(hsotg->uphy)) { in _dwc2_hcd_suspend()
4395 usb_phy_set_suspend(hsotg->uphy, true); in _dwc2_hcd_suspend()
4494 if (!IS_ERR_OR_NULL(hsotg->uphy)) { in _dwc2_hcd_resume()
4496 usb_phy_set_suspend(hsotg->uphy, false); in _dwc2_hcd_resume()
5320 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hcd_init()
5321 otg_set_host(hsotg->uphy->otg, &hcd->self); in dwc2_hcd_init()
5378 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hcd_remove()
5379 otg_set_host(hsotg->uphy->otg, NULL); in dwc2_hcd_remove()
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-base.dtsi1708 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
1733 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";