Lines Matching refs:est
981 if (!plat->est) { in tc_setup_taprio()
982 plat->est = devm_kzalloc(priv->device, sizeof(*plat->est), in tc_setup_taprio()
984 if (!plat->est) in tc_setup_taprio()
990 memset(plat->est, 0, sizeof(*plat->est)); in tc_setup_taprio()
997 priv->plat->est->gcl_size = size; in tc_setup_taprio()
998 priv->plat->est->enable = qopt->cmd == TAPRIO_CMD_REPLACE; in tc_setup_taprio()
1027 priv->plat->est->gcl[i] = delta_ns | (gates << wid); in tc_setup_taprio()
1037 priv->plat->est->btr[0] = (u32)time.tv_nsec; in tc_setup_taprio()
1038 priv->plat->est->btr[1] = (u32)time.tv_sec; in tc_setup_taprio()
1041 priv->plat->est->btr_reserve[0] = (u32)qopt_time.tv_nsec; in tc_setup_taprio()
1042 priv->plat->est->btr_reserve[1] = (u32)qopt_time.tv_sec; in tc_setup_taprio()
1045 priv->plat->est->ctr[0] = do_div(ctr, NSEC_PER_SEC); in tc_setup_taprio()
1046 priv->plat->est->ctr[1] = (u32)ctr; in tc_setup_taprio()
1058 ret = stmmac_est_configure(priv, priv->ioaddr, priv->plat->est, in tc_setup_taprio()
1076 if (priv->plat->est) { in tc_setup_taprio()
1078 priv->plat->est->enable = false; in tc_setup_taprio()
1079 stmmac_est_configure(priv, priv->ioaddr, priv->plat->est, in tc_setup_taprio()