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

/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-dwc-qos-eth.c128 plat_dat->stmmac_clk = devm_clk_get(&pdev->dev, "apb_pclk");
129 if (IS_ERR(plat_dat->stmmac_clk)) {
131 return PTR_ERR(plat_dat->stmmac_clk);
134 err = clk_prepare_enable(plat_dat->stmmac_clk);
158 clk_disable_unprepare(plat_dat->stmmac_clk);
168 clk_disable_unprepare(priv->plat->stmmac_clk);
302 data->stmmac_clk = eqos->clk_slave;
H A Ddwmac-intel.c536 plat->stmmac_clk = clk_register_fixed_rate(&pdev->dev,
540 if (IS_ERR(plat->stmmac_clk)) {
542 plat->stmmac_clk = NULL;
545 ret = clk_prepare_enable(plat->stmmac_clk);
547 clk_unregister_fixed_rate(plat->stmmac_clk);
1121 clk_disable_unprepare(plat->stmmac_clk);
1122 clk_unregister_fixed_rate(plat->stmmac_clk);
1140 clk_disable_unprepare(priv->plat->stmmac_clk);
1141 clk_unregister_fixed_rate(priv->plat->stmmac_clk);
H A Dstmmac_platform.c418 clk_disable_unprepare(plat->stmmac_clk);
618 plat->stmmac_clk = devm_clk_get(&pdev->dev,
620 if (IS_ERR(plat->stmmac_clk)) {
622 plat->stmmac_clk = NULL;
624 clk_prepare_enable(plat->stmmac_clk);
637 plat->clk_ptp_rate = clk_get_rate(plat->stmmac_clk);
664 clk_disable_unprepare(plat->stmmac_clk);
H A Ddwmac-visconti.c209 clk_disable_unprepare(priv->plat->stmmac_clk);
H A Dstmmac_ethtool.c944 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk);
957 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk);
H A Ddwmac4_core.c52 clk_rate = clk_get_rate(priv->plat->stmmac_clk);
H A Dstmmac_main.c155 ret = clk_prepare_enable(priv->plat->stmmac_clk);
160 clk_disable_unprepare(priv->plat->stmmac_clk);
166 clk_disable_unprepare(priv->plat->stmmac_clk);
172 clk_disable_unprepare(priv->plat->stmmac_clk);
305 clk_rate = clk_get_rate(priv->plat->stmmac_clk);
/linux-master/include/linux/
H A Dstmmac.h289 struct clk *stmmac_clk; member in struct:plat_stmmacenet_data

Completed in 124 milliseconds