Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-dwc-qos-eth.c133 plat_dat->stmmac_clk = devm_clk_get(&pdev->dev, "apb_pclk"); in dwc_qos_probe()
134 if (IS_ERR(plat_dat->stmmac_clk)) { in dwc_qos_probe()
136 return ERR_CAST(plat_dat->stmmac_clk); in dwc_qos_probe()
139 err = clk_prepare_enable(plat_dat->stmmac_clk); in dwc_qos_probe()
163 clk_disable_unprepare(plat_dat->stmmac_clk); in dwc_qos_probe()
173 clk_disable_unprepare(priv->plat->stmmac_clk); in dwc_qos_remove()
307 data->stmmac_clk = eqos->clk_slave; in tegra_eqos_probe()
Dstmmac_platform.c530 plat->stmmac_clk = devm_clk_get(&pdev->dev, in stmmac_probe_config_dt()
532 if (IS_ERR(plat->stmmac_clk)) { in stmmac_probe_config_dt()
534 plat->stmmac_clk = NULL; in stmmac_probe_config_dt()
536 clk_prepare_enable(plat->stmmac_clk); in stmmac_probe_config_dt()
550 plat->clk_ptp_rate = clk_get_rate(plat->stmmac_clk); in stmmac_probe_config_dt()
573 clk_disable_unprepare(plat->stmmac_clk); in stmmac_probe_config_dt()
Dstmmac_ethtool.c718 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_usec2riwt()
728 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_riwt2usec()
Dstmmac_main.c236 clk_rate = clk_get_rate(priv->plat->stmmac_clk); in stmmac_clk_csr_set()
4440 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_dvr_remove()
4490 clk_disable(priv->plat->stmmac_clk); in stmmac_suspend()
4555 clk_enable(priv->plat->stmmac_clk); in stmmac_resume()
/Linux-v4.19/include/linux/
Dstmmac.h183 struct clk *stmmac_clk; member