Home
last modified time | relevance | path

Searched refs:phy_clk (Results 1 – 9 of 9) sorted by relevance

/drivers/phy/
Dphy-pistachio-usb.c37 struct clk *phy_clk; member
59 ret = clk_prepare_enable(p_phy->phy_clk); in pistachio_usb_phy_power_on()
70 rate = clk_get_rate(p_phy->phy_clk); in pistachio_usb_phy_power_on()
113 clk_disable_unprepare(p_phy->phy_clk); in pistachio_usb_phy_power_on()
121 clk_disable_unprepare(p_phy->phy_clk); in pistachio_usb_phy_power_off()
153 p_phy->phy_clk = devm_clk_get(p_phy->dev, "usb_phy"); in pistachio_usb_phy_probe()
154 if (IS_ERR(p_phy->phy_clk)) { in pistachio_usb_phy_probe()
156 PTR_ERR(p_phy->phy_clk)); in pistachio_usb_phy_probe()
157 return PTR_ERR(p_phy->phy_clk); in pistachio_usb_phy_probe()
/drivers/usb/musb/
Dam35x.c74 struct clk *phy_clk; member
449 struct clk *phy_clk; in am35x_probe() local
458 phy_clk = clk_get(&pdev->dev, "fck"); in am35x_probe()
459 if (IS_ERR(phy_clk)) { in am35x_probe()
461 ret = PTR_ERR(phy_clk); in am35x_probe()
472 ret = clk_enable(phy_clk); in am35x_probe()
485 glue->phy_clk = phy_clk; in am35x_probe()
520 clk_disable(phy_clk); in am35x_probe()
526 clk_put(phy_clk); in am35x_probe()
542 clk_disable(glue->phy_clk); in am35x_remove()
[all …]
/drivers/phy/qualcomm/
Dphy-qcom-usb-hsic.c21 struct clk *phy_clk; member
33 ret = clk_prepare_enable(uphy->phy_clk); in qcom_usb_hsic_phy_power_on()
81 clk_disable_unprepare(uphy->phy_clk); in qcom_usb_hsic_phy_power_on()
91 clk_disable_unprepare(uphy->phy_clk); in qcom_usb_hsic_phy_power_off()
118 uphy->phy_clk = clk = devm_clk_get(&ulpi->dev, "phy"); in qcom_usb_hsic_phy_probe()
/drivers/phy/lantiq/
Dphy-lantiq-vrx200-pcie.c91 struct clk *phy_clk; member
321 ret = clk_prepare_enable(priv->phy_clk); in ltq_vrx200_pcie_phy_power_on()
335 clk_disable_unprepare(priv->phy_clk); in ltq_vrx200_pcie_phy_power_on()
346 clk_disable_unprepare(priv->phy_clk); in ltq_vrx200_pcie_phy_power_off()
447 priv->phy_clk = devm_clk_get(dev, "phy"); in ltq_vrx200_pcie_phy_probe()
448 if (IS_ERR(priv->phy_clk)) in ltq_vrx200_pcie_phy_probe()
449 return PTR_ERR(priv->phy_clk); in ltq_vrx200_pcie_phy_probe()
/drivers/pci/controller/dwc/
Dpcie-qcom.c90 struct clk *phy_clk; member
245 res->phy_clk = devm_clk_get(dev, "phy"); in qcom_pcie_get_resources_2_1_0()
246 if (IS_ERR(res->phy_clk)) in qcom_pcie_get_resources_2_1_0()
247 return PTR_ERR(res->phy_clk); in qcom_pcie_get_resources_2_1_0()
280 clk_disable_unprepare(res->phy_clk); in qcom_pcie_deinit_2_1_0()
310 ret = clk_prepare_enable(res->phy_clk); in qcom_pcie_init_2_1_0()
377 clk_disable_unprepare(res->phy_clk); in qcom_pcie_init_2_1_0()
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h317 struct clk *phy_clk; member
Dbcm63xx_enet.c1769 priv->phy_clk = devm_clk_get(&pdev->dev, "ephy"); in bcm_enet_probe()
1770 if (IS_ERR(priv->phy_clk)) { in bcm_enet_probe()
1771 ret = PTR_ERR(priv->phy_clk); in bcm_enet_probe()
1772 priv->phy_clk = NULL; in bcm_enet_probe()
1775 ret = clk_prepare_enable(priv->phy_clk); in bcm_enet_probe()
1869 clk_disable_unprepare(priv->phy_clk); in bcm_enet_probe()
1908 clk_disable_unprepare(priv->phy_clk); in bcm_enet_remove()
/drivers/net/ethernet/aurora/
Dnb8800.c595 u32 phy_clk; in nb8800_mac_config() local
606 phy_clk = 125000000; in nb8800_mac_config()
611 phy_clk = 25000000; in nb8800_mac_config()
615 ict = DIV_ROUND_UP(phy_clk, clk_get_rate(priv->clk)); in nb8800_mac_config()
/drivers/gpu/drm/exynos/
Dexynos_hdmi.c137 struct exynos_drm_clk phy_clk; member
1730 phy_clk); in hdmiphy_clk_enable()
1849 hdata->phy_clk.enable = hdmiphy_clk_enable; in hdmi_bind()
1861 crtc->pipe_clk = &hdata->phy_clk; in hdmi_bind()