Lines Matching refs:est
71 if (priv->est && priv->est->enable) { in stmmac_adjust_time()
74 priv->est->enable = false; in stmmac_adjust_time()
75 stmmac_est_configure(priv, priv, priv->est, in stmmac_adjust_time()
93 time.tv_nsec = priv->est->btr_reserve[0]; in stmmac_adjust_time()
94 time.tv_sec = priv->est->btr_reserve[1]; in stmmac_adjust_time()
96 cycle_time = (u64)priv->est->ctr[1] * NSEC_PER_SEC + in stmmac_adjust_time()
97 priv->est->ctr[0]; in stmmac_adjust_time()
102 priv->est->btr[0] = (u32)time.tv_nsec; in stmmac_adjust_time()
103 priv->est->btr[1] = (u32)time.tv_sec; in stmmac_adjust_time()
104 priv->est->enable = true; in stmmac_adjust_time()
105 ret = stmmac_est_configure(priv, priv, priv->est, in stmmac_adjust_time()