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 ERR_CAST(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()306 data->stmmac_clk = eqos->clk_slave; in tegra_eqos_probe()
307 plat->stmmac_clk = clk_register_fixed_rate(&pdev->dev, in intel_mgbe_common_data()311 if (IS_ERR(plat->stmmac_clk)) { in intel_mgbe_common_data()313 plat->stmmac_clk = NULL; in intel_mgbe_common_data()316 ret = clk_prepare_enable(plat->stmmac_clk); in intel_mgbe_common_data()318 clk_unregister_fixed_rate(plat->stmmac_clk); in intel_mgbe_common_data()649 clk_disable_unprepare(plat->stmmac_clk); in intel_eth_pci_probe()650 clk_unregister_fixed_rate(plat->stmmac_clk); in intel_eth_pci_probe()672 clk_disable_unprepare(priv->plat->stmmac_clk); in intel_eth_pci_remove()673 clk_unregister_fixed_rate(priv->plat->stmmac_clk); in intel_eth_pci_remove()
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()601 plat->clk_ptp_rate = clk_get_rate(plat->stmmac_clk); in stmmac_probe_config_dt()624 clk_disable_unprepare(plat->stmmac_clk); in stmmac_probe_config_dt()639 clk_disable_unprepare(plat->stmmac_clk); in stmmac_remove_config_dt()
746 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_usec2riwt()759 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_riwt2usec()
129 ret = clk_prepare_enable(priv->plat->stmmac_clk); in stmmac_bus_clks_config()134 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_bus_clks_config()138 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_bus_clks_config()239 clk_rate = clk_get_rate(priv->plat->stmmac_clk); in stmmac_clk_csr_set()
188 struct clk *stmmac_clk; member
455 struct clk *stmmac_clk;
2604 struct clk *stmmac_clk;