Home
last modified time | relevance | path

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

/linux-6.1.9/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 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()
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()
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()
Ddwmac-intel.c539 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()
Ddwmac-visconti.c208 clk_disable_unprepare(priv->plat->stmmac_clk); in visconti_eth_clock_remove()
Dstmmac_ethtool.c824 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()
Dstmmac_main.c154 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()
/linux-6.1.9/include/linux/
Dstmmac.h238 struct clk *stmmac_clk; member
/linux-6.1.9/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst455 struct clk *stmmac_clk;