Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-dwc-qos-eth.c127 plat_dat->stmmac_clk = devm_clk_get(&pdev->dev, "apb_pclk"); in dwc_qos_probe()
128 if (IS_ERR(plat_dat->stmmac_clk)) { in dwc_qos_probe()
130 return ERR_CAST(plat_dat->stmmac_clk); in dwc_qos_probe()
133 err = clk_prepare_enable(plat_dat->stmmac_clk); in dwc_qos_probe()
157 clk_disable_unprepare(plat_dat->stmmac_clk); in dwc_qos_probe()
167 clk_disable_unprepare(priv->plat->stmmac_clk); in dwc_qos_remove()
301 data->stmmac_clk = eqos->clk_slave; in tegra_eqos_probe()
Dstmmac_pci.c181 plat->stmmac_clk = clk_register_fixed_rate(&pdev->dev, in intel_mgbe_common_data()
185 if (IS_ERR(plat->stmmac_clk)) { in intel_mgbe_common_data()
187 plat->stmmac_clk = NULL; in intel_mgbe_common_data()
189 clk_prepare_enable(plat->stmmac_clk); in intel_mgbe_common_data()
532 if (priv->plat->stmmac_clk) in stmmac_pci_remove()
533 clk_unregister_fixed_rate(priv->plat->stmmac_clk); in stmmac_pci_remove()
Dstmmac_platform.c568 plat->stmmac_clk = devm_clk_get(&pdev->dev, in stmmac_probe_config_dt()
570 if (IS_ERR(plat->stmmac_clk)) { in stmmac_probe_config_dt()
572 plat->stmmac_clk = NULL; in stmmac_probe_config_dt()
574 clk_prepare_enable(plat->stmmac_clk); in stmmac_probe_config_dt()
589 plat->clk_ptp_rate = clk_get_rate(plat->stmmac_clk); in stmmac_probe_config_dt()
612 clk_disable_unprepare(plat->stmmac_clk); in stmmac_probe_config_dt()
Dstmmac_ethtool.c688 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_usec2riwt()
701 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_riwt2usec()
Dstmmac_main.c233 clk_rate = clk_get_rate(priv->plat->stmmac_clk); in stmmac_clk_csr_set()
4699 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_dvr_remove()
4755 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_suspend()
4818 clk_prepare_enable(priv->plat->stmmac_clk); in stmmac_resume()
/Linux-v5.4/include/linux/
Dstmmac.h167 struct clk *stmmac_clk; member