Lines Matching refs:clk_csr
224 if (!(priv->clk_csr & MAC_CSR_H_FRQ_MASK)) { in stmmac_clk_csr_set()
226 priv->clk_csr = STMMAC_CSR_20_35M; in stmmac_clk_csr_set()
228 priv->clk_csr = STMMAC_CSR_35_60M; in stmmac_clk_csr_set()
230 priv->clk_csr = STMMAC_CSR_60_100M; in stmmac_clk_csr_set()
232 priv->clk_csr = STMMAC_CSR_100_150M; in stmmac_clk_csr_set()
234 priv->clk_csr = STMMAC_CSR_150_250M; in stmmac_clk_csr_set()
236 priv->clk_csr = STMMAC_CSR_250_300M; in stmmac_clk_csr_set()
241 priv->clk_csr = 0x03; in stmmac_clk_csr_set()
243 priv->clk_csr = 0x02; in stmmac_clk_csr_set()
245 priv->clk_csr = 0x01; in stmmac_clk_csr_set()
247 priv->clk_csr = 0; in stmmac_clk_csr_set()
4295 if (!priv->plat->clk_csr) in stmmac_dvr_probe()
4298 priv->clk_csr = priv->plat->clk_csr; in stmmac_dvr_probe()