Searched refs:stmmac_clk (Results 1 – 8 of 8) sorted by relevance
128 plat_dat->stmmac_clk = devm_clk_get(&pdev->dev, "apb_pclk"); in dwc_qos_probe()129 if (IS_ERR(plat_dat->stmmac_clk)) { in dwc_qos_probe()131 return PTR_ERR(plat_dat->stmmac_clk); in dwc_qos_probe()134 err = clk_prepare_enable(plat_dat->stmmac_clk); in dwc_qos_probe()158 clk_disable_unprepare(plat_dat->stmmac_clk); in dwc_qos_probe()168 clk_disable_unprepare(priv->plat->stmmac_clk); in dwc_qos_remove()304 data->stmmac_clk = eqos->clk_slave; in tegra_eqos_probe()
580 plat->stmmac_clk = devm_clk_get(&pdev->dev, in stmmac_probe_config_dt()582 if (IS_ERR(plat->stmmac_clk)) { in stmmac_probe_config_dt()584 plat->stmmac_clk = NULL; in stmmac_probe_config_dt()586 clk_prepare_enable(plat->stmmac_clk); in stmmac_probe_config_dt()599 plat->clk_ptp_rate = clk_get_rate(plat->stmmac_clk); in stmmac_probe_config_dt()626 clk_disable_unprepare(plat->stmmac_clk); in stmmac_probe_config_dt()641 clk_disable_unprepare(plat->stmmac_clk); in stmmac_remove_config_dt()
539 plat->stmmac_clk = clk_register_fixed_rate(&pdev->dev, in intel_mgbe_common_data()543 if (IS_ERR(plat->stmmac_clk)) { in intel_mgbe_common_data()545 plat->stmmac_clk = NULL; in intel_mgbe_common_data()548 ret = clk_prepare_enable(plat->stmmac_clk); in intel_mgbe_common_data()550 clk_unregister_fixed_rate(plat->stmmac_clk); in intel_mgbe_common_data()1124 clk_disable_unprepare(plat->stmmac_clk); in intel_eth_pci_probe()1125 clk_unregister_fixed_rate(plat->stmmac_clk); in intel_eth_pci_probe()1143 clk_disable_unprepare(priv->plat->stmmac_clk); in intel_eth_pci_remove()1144 clk_unregister_fixed_rate(priv->plat->stmmac_clk); in intel_eth_pci_remove()
208 clk_disable_unprepare(priv->plat->stmmac_clk); in visconti_eth_clock_remove()
824 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_usec2riwt()837 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_riwt2usec()
154 ret = clk_prepare_enable(priv->plat->stmmac_clk); in stmmac_bus_clks_config()159 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_bus_clks_config()165 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_bus_clks_config()171 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_bus_clks_config()304 clk_rate = clk_get_rate(priv->plat->stmmac_clk); in stmmac_clk_csr_set()
238 struct clk *stmmac_clk; member
455 struct clk *stmmac_clk;