| /kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
| D | dwmac-visconti.c | 52 struct clk *phy_ref_clk; member 188 dwmac->phy_ref_clk = devm_clk_get(&pdev->dev, "phy_ref_clk"); in visconti_eth_clock_probe() 189 if (IS_ERR(dwmac->phy_ref_clk)) in visconti_eth_clock_probe() 190 return dev_err_probe(&pdev->dev, PTR_ERR(dwmac->phy_ref_clk), in visconti_eth_clock_probe() 191 "phy_ref_clk clock not found.\n"); in visconti_eth_clock_probe() 193 err = clk_prepare_enable(dwmac->phy_ref_clk); in visconti_eth_clock_probe() 208 clk_disable_unprepare(dwmac->phy_ref_clk); in visconti_eth_clock_remove()
|
| D | dwmac-dwc-qos-eth.c | 141 plat_dat->pclk = devm_clk_get(&pdev->dev, "phy_ref_clk"); in dwc_qos_probe() 143 dev_err(&pdev->dev, "phy_ref_clk clock not found.\n"); in dwc_qos_probe()
|
| D | dwmac-meson8b.c | 385 /* enable TX_CLK and PHY_REF_CLK generator */ in meson8b_init_prg_eth()
|
| /kernel/linux/linux-6.6/drivers/phy/freescale/ |
| D | phy-fsl-imx8qm-lvds-phy.c | 62 struct clk *phy_ref_clk; member 92 ret = clk_prepare_enable(priv->phy_ref_clk); in mixel_lvds_phy_power_on() 134 clk_disable_unprepare(priv->phy_ref_clk); in mixel_lvds_phy_power_on() 161 clk_disable_unprepare(priv->phy_ref_clk); in mixel_lvds_phy_power_off() 173 ret = clk_set_rate(priv->phy_ref_clk, cfg->differential_clk_rate); in mixel_lvds_phy_configure() 341 priv->phy_ref_clk = devm_clk_get(dev, NULL); in mixel_lvds_phy_probe() 342 if (IS_ERR(priv->phy_ref_clk)) in mixel_lvds_phy_probe() 343 return dev_err_probe(dev, PTR_ERR(priv->phy_ref_clk), in mixel_lvds_phy_probe()
|
| D | phy-fsl-imx8-mipi-dphy.c | 127 struct clk *phy_ref_clk; member 191 unsigned long ref_clk = clk_get_rate(priv->phy_ref_clk); in mixel_dphy_config_from_opts() 436 clk_set_rate(priv->phy_ref_clk, lvds_opts->differential_clk_rate); in mixel_dphy_configure_lvds_phy() 570 ret = clk_prepare_enable(priv->phy_ref_clk); in mixel_dphy_power_on() 590 clk_disable_unprepare(priv->phy_ref_clk); in mixel_dphy_power_on() 604 clk_disable_unprepare(priv->phy_ref_clk); in mixel_dphy_power_off() 692 priv->phy_ref_clk = devm_clk_get(&pdev->dev, "phy_ref"); in mixel_dphy_probe() 693 if (IS_ERR(priv->phy_ref_clk)) { in mixel_dphy_probe() 695 return PTR_ERR(priv->phy_ref_clk); in mixel_dphy_probe() 698 clk_get_rate(priv->phy_ref_clk)); in mixel_dphy_probe()
|
| /kernel/linux/linux-5.10/drivers/phy/freescale/ |
| D | phy-fsl-imx8-mipi-dphy.c | 98 struct clk *phy_ref_clk; member 159 unsigned long ref_clk = clk_get_rate(priv->phy_ref_clk); in mixel_dphy_config_from_opts() 382 ret = clk_prepare_enable(priv->phy_ref_clk); in mixel_dphy_power_on() 398 clk_disable_unprepare(priv->phy_ref_clk); in mixel_dphy_power_on() 409 clk_disable_unprepare(priv->phy_ref_clk); in mixel_dphy_power_off() 464 priv->phy_ref_clk = devm_clk_get(&pdev->dev, "phy_ref"); in mixel_dphy_probe() 465 if (IS_ERR(priv->phy_ref_clk)) { in mixel_dphy_probe() 467 return PTR_ERR(priv->phy_ref_clk); in mixel_dphy_probe() 470 clk_get_rate(priv->phy_ref_clk)); in mixel_dphy_probe()
|
| /kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
| D | pcie-kirin.c | 89 struct clk *phy_ref_clk; member 124 kirin_pcie->phy_ref_clk = devm_clk_get(dev, "pcie_phy_ref"); in kirin_pcie_get_clk() 125 if (IS_ERR(kirin_pcie->phy_ref_clk)) in kirin_pcie_get_clk() 126 return PTR_ERR(kirin_pcie->phy_ref_clk); in kirin_pcie_get_clk() 223 ret = clk_set_rate(kirin_pcie->phy_ref_clk, REF_CLK_FREQ); in kirin_pcie_clk_ctrl() 227 ret = clk_prepare_enable(kirin_pcie->phy_ref_clk); in kirin_pcie_clk_ctrl() 258 clk_disable_unprepare(kirin_pcie->phy_ref_clk); in kirin_pcie_clk_ctrl()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | socionext,synquacer-netsec.yaml | 29 const: phy_ref_clk 58 clock-names = "phy_ref_clk";
|
| D | toshiba,visconti-dwmac.yaml | 43 - const: phy_ref_clk 68 clock-names = "stmmaceth", "phy_ref_clk";
|
| D | snps,dwc-qos-ethernet.txt | 52 - "phy_ref_clk" 84 - "phy_ref_clk" 139 clock-names = "phy_ref_clk", "apb_pclk";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | socionext-netsec.txt | 10 - clock-names: Should be "phy_ref_clk" 43 clock-names = "phy_ref_clk";
|
| D | snps,dwc-qos-ethernet.txt | 52 - "phy_ref_clk" 84 - "phy_ref_clk" 139 clock-names = "phy_ref_clk", "apb_pclk";
|
| /kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
| D | pcie-kirin.c | 133 struct clk *phy_ref_clk; member 155 phy->phy_ref_clk = devm_clk_get(dev, "pcie_phy_ref"); in hi3660_pcie_phy_get_clk() 156 if (IS_ERR(phy->phy_ref_clk)) in hi3660_pcie_phy_get_clk() 157 return PTR_ERR(phy->phy_ref_clk); in hi3660_pcie_phy_get_clk() 246 ret = clk_set_rate(phy->phy_ref_clk, REF_CLK_FREQ); in hi3660_pcie_phy_clk_ctrl() 250 ret = clk_prepare_enable(phy->phy_ref_clk); in hi3660_pcie_phy_clk_ctrl() 281 clk_disable_unprepare(phy->phy_ref_clk); in hi3660_pcie_phy_clk_ctrl()
|
| /kernel/linux/linux-6.6/drivers/phy/hisilicon/ |
| D | phy-hi3670-pcie.c | 161 struct clk *phy_ref_clk; member 597 ret = clk_set_rate(phy->phy_ref_clk, REF_CLK_FREQ); in kirin_pcie_clk_ctrl() 601 ret = clk_prepare_enable(phy->phy_ref_clk); in kirin_pcie_clk_ctrl() 632 clk_disable_unprepare(phy->phy_ref_clk); in kirin_pcie_clk_ctrl() 764 phy->phy_ref_clk = devm_clk_get(dev, "phy_ref"); in hi3670_pcie_phy_get_resources() 765 if (IS_ERR(phy->phy_ref_clk)) in hi3670_pcie_phy_get_resources() 766 return PTR_ERR(phy->phy_ref_clk); in hi3670_pcie_phy_get_resources()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sprd/ |
| D | megacores_pll.c | 28 #define PHY_REF_CLK 26000 macro 39 pll->ref_clk = PHY_REF_CLK / khz; in dphy_calc_pll_param()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
| D | dwmac-dwc-qos-eth.c | 141 plat_dat->pclk = devm_clk_get(&pdev->dev, "phy_ref_clk"); in dwc_qos_probe() 143 dev_err(&pdev->dev, "phy_ref_clk clock not found.\n"); in dwc_qos_probe()
|
| D | dwmac-meson8b.c | 355 /* enable TX_CLK and PHY_REF_CLK generator */ in meson8b_init_prg_eth()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
| D | nwl-dsi.c | 95 struct clk *phy_ref_clk; member 857 phy_ref_rate = clk_get_rate(dsi->phy_ref_clk); in nwl_dsi_bridge_mode_set() 1014 dsi->phy_ref_clk = clk; in nwl_dsi_parse_dt()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
| D | nwl-dsi.c | 101 struct clk *phy_ref_clk; member 866 phy_ref_rate = clk_get_rate(dsi->phy_ref_clk); in nwl_dsi_bridge_mode_set() 1012 dsi->phy_ref_clk = clk; in nwl_dsi_parse_dt()
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/toshiba/ |
| D | tmpv7708.dtsi | 461 clock-names = "stmmaceth", "phy_ref_clk";
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/socionext/ |
| D | netsec.c | 1867 priv->clk = devm_clk_get(&pdev->dev, NULL); /* get by 'phy_ref_clk' */ in netsec_of_probe() 1869 dev_err(&pdev->dev, "phy_ref_clk not found\n"); in netsec_of_probe()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/socionext/ |
| D | netsec.c | 1873 priv->clk = devm_clk_get(&pdev->dev, NULL); /* get by 'phy_ref_clk' */ in netsec_of_probe() 1876 "phy_ref_clk not found\n"); in netsec_of_probe()
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0031_linux_drivers_perf_phy_pinctrl_ptp_pwm.patch | 801 clk_disable_unprepare(priv->phy_ref_clk);
|
| D | 0020_linux_drivers_gpu.patch | 6575 + clk_set_rate(dsi->phy_ref_clk, phyref_rates[i]); 6774 + clk_set_rate(dsi->phy_ref_clk, phy_ref_rate); 6779 - phy_ref_rate = clk_get_rate(dsi->phy_ref_clk); 6783 + phy_ref_rate, clk_get_rate(dsi->phy_ref_clk)); 6889 + ret = clk_set_parent(dsi->phy_ref_clk, phy_parent); 26205 +#define PHY_REF_CLK 27000 26317 + u32 req_rate = PHY_REF_CLK; 26324 + req_rate = PHY_REF_CLK; 26341 + if (WARN_ON(unlikely(req_rate == PHY_REF_CLK))) 26345 + req_rate = PHY_REF_CLK;
|