Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c599 plat->clk_ptp_ref = devm_clk_get(&pdev->dev, "ptp_ref"); in stmmac_probe_config_dt()
600 if (IS_ERR(plat->clk_ptp_ref)) { in stmmac_probe_config_dt()
602 plat->clk_ptp_ref = NULL; in stmmac_probe_config_dt()
605 plat->clk_ptp_rate = clk_get_rate(plat->clk_ptp_ref); in stmmac_probe_config_dt()
792 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_pltfr_noirq_suspend()
817 ret = clk_prepare_enable(priv->plat->clk_ptp_ref); in stmmac_pltfr_noirq_resume()
Ddwmac-intel-plat.c138 rate = clk_get_rate(plat_dat->clk_ptp_ref); in intel_eth_plat_probe()
142 ret = clk_set_rate(plat_dat->clk_ptp_ref, rate); in intel_eth_plat_probe()
Dstmmac_main.c815 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_release_ptp()
2758 ret = clk_prepare_enable(priv->plat->clk_ptp_ref); in stmmac_hw_setup()
2837 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_hw_teardown()
/kernel/linux/linux-5.10/include/linux/
Dstmmac.h190 struct clk *clk_ptp_ref; member
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst457 struct clk *clk_ptp_ref;