Home
last modified time | relevance | path

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

/Linux-v6.1/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()
/Linux-v6.1/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()
522 clk_disable(phy_clk); in am35x_probe()
528 clk_put(phy_clk); in am35x_probe()
544 clk_disable(glue->phy_clk); in am35x_remove()
[all …]
/Linux-v6.1/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()
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()
/Linux-v6.1/drivers/phy/sunplus/
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()
262 usbphy->phy_clk = devm_clk_get(&pdev->dev, NULL); in sp_usb_phy_probe()
263 if (IS_ERR(usbphy->phy_clk)) in sp_usb_phy_probe()
264 return PTR_ERR(usbphy->phy_clk); in sp_usb_phy_probe()
/Linux-v6.1/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()
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()
/Linux-v6.1/Documentation/devicetree/bindings/ufs/
Dcdns,ufshc.yaml43 - const: phy_clk
70 clock-names = "core_clk", "phy_clk";
Dhisilicon,ufs.yaml44 - const: phy_clk
83 clock-names = "ref_clk", "phy_clk";
/Linux-v6.1/sound/soc/fsl/
Dfsl_xcvr.c32 struct clk *phy_clk; member
356 clk_disable_unprepare(xcvr->phy_clk); in fsl_xcvr_en_aud_pll()
357 ret = clk_set_rate(xcvr->phy_clk, freq); in fsl_xcvr_en_aud_pll()
362 ret = clk_prepare_enable(xcvr->phy_clk); in fsl_xcvr_en_aud_pll()
1158 xcvr->phy_clk = devm_clk_get(dev, "phy"); in fsl_xcvr_probe()
1159 if (IS_ERR(xcvr->phy_clk)) { in fsl_xcvr_probe()
1161 return PTR_ERR(xcvr->phy_clk); in fsl_xcvr_probe()
1279 clk_disable_unprepare(xcvr->phy_clk); in fsl_xcvr_runtime_suspend()
1309 ret = clk_prepare_enable(xcvr->phy_clk); in fsl_xcvr_runtime_resume()
1358 clk_disable_unprepare(xcvr->phy_clk); in fsl_xcvr_runtime_resume()
/Linux-v6.1/arch/sh/drivers/pci/
Dpcie-sh7786.c26 struct clk *fclk, phy_clk; member
236 clk = &port->phy_clk; in pcie_clk_init()
264 clk_enable(&port->phy_clk); in phy_init()
280 clk_disable(&port->phy_clk); in phy_init()
/Linux-v6.1/arch/arm/boot/dts/
Dowl-s500-roseapplepi.dts238 phy_clk-pinmux {
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h323 struct clk *phy_clk; member
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()
/Linux-v6.1/drivers/phy/cadence/
Dphy-cadence-sierra.c211 PHY_CLK, enumerator
1175 clk = devm_clk_get_optional(dev, "phy_clk"); in cdns_sierra_phy_clk()
1177 dev_err(dev, "failed to get clock phy_clk\n"); in cdns_sierra_phy_clk()
1180 sp->input_clks[PHY_CLK] = clk; in cdns_sierra_phy_clk()
1182 ret = clk_prepare_enable(sp->input_clks[PHY_CLK]); in cdns_sierra_phy_clk()
1214 clk_disable_unprepare(sp->input_clks[PHY_CLK]); in cdns_sierra_phy_disable_clocks()
/Linux-v6.1/drivers/usb/host/
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
/Linux-v6.1/drivers/gpu/drm/exynos/
Dexynos_hdmi.c139 struct exynos_drm_clk phy_clk; member
1745 phy_clk); in hdmiphy_clk_enable()
1853 hdata->phy_clk.enable = hdmiphy_clk_enable; in hdmi_bind()
1864 crtc->pipe_clk = &hdata->phy_clk; in hdmi_bind()
/Linux-v6.1/arch/arm64/boot/dts/hisilicon/
Dhi3670.dtsi673 clock-names = "ref_clk", "phy_clk";
Dhi3660.dtsi1047 clock-names = "ref_clk", "phy_clk";
/Linux-v6.1/arch/arm64/boot/dts/ti/
Dk3-j721e-main.dtsi1307 clock-names = "core_clk", "phy_clk", "ref_clk";