Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-dwc-qos-eth.c128 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()
Ddwmac-intel.c307 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()
Dstmmac_platform.c580 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()
Dstmmac_ethtool.c746 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()
Dstmmac_main.c129 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()
/kernel/linux/linux-5.10/include/linux/
Dstmmac.h188 struct clk *stmmac_clk; member
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst455 struct clk *stmmac_clk;
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dinclude.patch2604 struct clk *stmmac_clk;