Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c587 plat->clk_ptp_ref = devm_clk_get(&pdev->dev, "ptp_ref"); in stmmac_probe_config_dt()
588 if (IS_ERR(plat->clk_ptp_ref)) { in stmmac_probe_config_dt()
590 plat->clk_ptp_ref = NULL; in stmmac_probe_config_dt()
593 plat->clk_ptp_rate = clk_get_rate(plat->clk_ptp_ref); in stmmac_probe_config_dt()
Dstmmac_main.c789 if (priv->plat->clk_ptp_ref) in stmmac_release_ptp()
790 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_release_ptp()
2593 ret = clk_prepare_enable(priv->plat->clk_ptp_ref); in stmmac_hw_setup()
2644 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_hw_teardown()
4752 if (priv->plat->clk_ptp_ref) in stmmac_suspend()
4753 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_suspend()
4820 if (priv->plat->clk_ptp_ref) in stmmac_resume()
4821 clk_prepare_enable(priv->plat->clk_ptp_ref); in stmmac_resume()
/Linux-v5.4/include/linux/
Dstmmac.h169 struct clk *clk_ptp_ref; member