Searched refs:stmmac_clk (Results 1 – 5 of 5) sorted by relevance
133 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()
530 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()
718 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()
236 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()
183 struct clk *stmmac_clk; member