Home
last modified time | relevance | path

Searched full:phy_clk (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/phy/
H A 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()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dam35x.c80 struct clk *phy_clk; member
509 struct clk *phy_clk; in am35x_probe() local
526 phy_clk = clk_get(&pdev->dev, "fck"); in am35x_probe()
527 if (IS_ERR(phy_clk)) { in am35x_probe()
529 ret = PTR_ERR(phy_clk); in am35x_probe()
540 ret = clk_enable(phy_clk); in am35x_probe()
558 glue->phy_clk = phy_clk; in am35x_probe()
590 clk_disable(phy_clk); in am35x_probe()
596 clk_put(phy_clk); in am35x_probe()
615 clk_disable(glue->phy_clk); in am35x_remove()
[all …]
/openbmc/linux/drivers/phy/qualcomm/
H A 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()
83 clk_disable_unprepare(uphy->phy_clk); in qcom_usb_hsic_phy_power_on()
93 clk_disable_unprepare(uphy->phy_clk); in qcom_usb_hsic_phy_power_off()
120 uphy->phy_clk = clk = devm_clk_get(&ulpi->dev, "phy"); in qcom_usb_hsic_phy_probe()
/openbmc/linux/drivers/phy/sunplus/
H A Dphy-sunplus-usb2.c72 struct clk *phy_clk; member
117 ret = clk_prepare_enable(usbphy->phy_clk); in sp_uphy_init()
164 clk_disable_unprepare(usbphy->phy_clk); in sp_uphy_init()
220 clk_disable_unprepare(usbphy->phy_clk); in sp_uphy_exit()
265 usbphy->phy_clk = devm_clk_get(&pdev->dev, NULL); in sp_usb_phy_probe()
266 if (IS_ERR(usbphy->phy_clk)) in sp_usb_phy_probe()
267 return PTR_ERR(usbphy->phy_clk); in sp_usb_phy_probe()
/openbmc/linux/drivers/phy/lantiq/
H A 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()
445 priv->phy_clk = devm_clk_get(dev, "phy"); in ltq_vrx200_pcie_phy_probe()
446 if (IS_ERR(priv->phy_clk)) in ltq_vrx200_pcie_phy_probe()
447 return PTR_ERR(priv->phy_clk); in ltq_vrx200_pcie_phy_probe()
/openbmc/linux/Documentation/devicetree/bindings/ufs/
H A Dcdns,ufshc.yaml43 - const: phy_clk
72 clock-names = "core_clk", "phy_clk";
H A Dhisilicon,ufs.yaml44 - const: phy_clk
83 clock-names = "ref_clk", "phy_clk";
/openbmc/linux/sound/soc/fsl/
H A Dfsl_xcvr.c34 struct clk *phy_clk; member
364 clk_disable_unprepare(xcvr->phy_clk); in fsl_xcvr_en_aud_pll()
365 ret = clk_set_rate(xcvr->phy_clk, freq); in fsl_xcvr_en_aud_pll()
370 ret = clk_prepare_enable(xcvr->phy_clk); in fsl_xcvr_en_aud_pll()
1272 xcvr->phy_clk = devm_clk_get(dev, "phy"); in fsl_xcvr_probe()
1273 if (IS_ERR(xcvr->phy_clk)) { in fsl_xcvr_probe()
1275 return PTR_ERR(xcvr->phy_clk); in fsl_xcvr_probe()
1394 clk_disable_unprepare(xcvr->phy_clk); in fsl_xcvr_runtime_suspend()
1424 ret = clk_prepare_enable(xcvr->phy_clk); in fsl_xcvr_runtime_resume()
1476 clk_disable_unprepare(xcvr->phy_clk); in fsl_xcvr_runtime_resume()
/openbmc/u-boot/drivers/video/rockchip/
H A Drk3288_mipi.c94 priv->phy_clk = priv->pix_clk * 6; in rk_mipi_enable()
95 priv->txbyte_clk = priv->phy_clk / 8; in rk_mipi_enable()
H A Drk3399_mipi.c86 priv->phy_clk = priv->pix_clk * 6; in rk_display_enable()
87 priv->txbyte_clk = priv->phy_clk / 8; in rk_display_enable()
H A Drk_mipi.h18 u32 phy_clk; member
H A Drk_mipi.c206 u64 ddr_clk = priv->phy_clk; in rk_mipi_phy_enable()
282 priv->phy_clk = ddr_clk; in rk_mipi_phy_enable()
/openbmc/linux/arch/sh/drivers/pci/
H A Dpcie-sh7786.c26 struct clk *fclk, phy_clk; member
235 clk = &port->phy_clk; in pcie_clk_init()
263 clk_enable(&port->phy_clk); in phy_init()
279 clk_disable(&port->phy_clk); in phy_init()
/openbmc/linux/arch/arm/boot/dts/actions/
H A Dowl-s500-roseapplepi.dts238 phy_clk-pinmux {
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.h323 struct clk *phy_clk; member
H A Dbcm63xx_enet.c1792 priv->phy_clk = devm_clk_get(&pdev->dev, "ephy"); in bcm_enet_probe()
1793 if (IS_ERR(priv->phy_clk)) { in bcm_enet_probe()
1794 ret = PTR_ERR(priv->phy_clk); in bcm_enet_probe()
1795 priv->phy_clk = NULL; in bcm_enet_probe()
1798 ret = clk_prepare_enable(priv->phy_clk); in bcm_enet_probe()
1892 clk_disable_unprepare(priv->phy_clk); in bcm_enet_probe()
1931 clk_disable_unprepare(priv->phy_clk); in bcm_enet_remove()
/openbmc/linux/drivers/phy/cadence/
H A Dphy-cadence-sierra.c235 PHY_CLK, enumerator
1181 clk = devm_clk_get_optional(dev, "phy_clk"); in cdns_sierra_phy_clk()
1183 dev_err(dev, "failed to get clock phy_clk\n"); in cdns_sierra_phy_clk()
1186 sp->input_clks[PHY_CLK] = clk; in cdns_sierra_phy_clk()
1188 ret = clk_prepare_enable(sp->input_clks[PHY_CLK]); in cdns_sierra_phy_clk()
1220 clk_disable_unprepare(sp->input_clks[PHY_CLK]); in cdns_sierra_phy_disable_clocks()
/openbmc/linux/drivers/usb/host/
H A Docteon-hcd.h665 * performing any operations. This bit takes 8 clocks (of phy_clk
1642 * the phy_clk functionality in the USB Subsystem is
1644 * until the time it takes 6 clocks (hclk or phy_clk,
1651 * until 12ms after phy_clk is stable. Under normal
1802 * '1': The phy_clk and free_clk outputs are
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_hdmi.c139 struct exynos_drm_clk phy_clk; member
1748 phy_clk); in hdmiphy_clk_enable()
1856 hdata->phy_clk.enable = hdmiphy_clk_enable; in hdmi_bind()
1869 crtc->pipe_clk = &hdata->phy_clk; in hdmi_bind()
/openbmc/linux/arch/arm64/boot/dts/hisilicon/
H A Dhi3670.dtsi673 clock-names = "ref_clk", "phy_clk";
H A Dhi3660.dtsi1051 clock-names = "ref_clk", "phy_clk";
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-j784s4-main.dtsi1395 clock-names = "core_clk", "phy_clk", "ref_clk";
H A Dk3-j721e-main.dtsi1710 clock-names = "core_clk", "phy_clk", "ref_clk";