Lines Matching refs:est
927 priv->est->max_sdu[j] = qopt->max_sdu[i] + ETH_HLEN - ETH_TLEN; in tc_taprio_map_maxsdu_txq()
991 if (!priv->est) { in tc_taprio_configure()
992 priv->est = devm_kzalloc(priv->device, sizeof(*priv->est), in tc_taprio_configure()
994 if (!priv->est) in tc_taprio_configure()
1000 memset(priv->est, 0, sizeof(*priv->est)); in tc_taprio_configure()
1007 priv->est->gcl_size = size; in tc_taprio_configure()
1008 priv->est->enable = qopt->cmd == TAPRIO_CMD_REPLACE; in tc_taprio_configure()
1033 priv->est->gcl[i] = delta_ns | (gates << wid); in tc_taprio_configure()
1043 priv->est->btr[0] = (u32)time.tv_nsec; in tc_taprio_configure()
1044 priv->est->btr[1] = (u32)time.tv_sec; in tc_taprio_configure()
1047 priv->est->btr_reserve[0] = (u32)qopt_time.tv_nsec; in tc_taprio_configure()
1048 priv->est->btr_reserve[1] = (u32)qopt_time.tv_sec; in tc_taprio_configure()
1051 priv->est->ctr[0] = do_div(ctr, NSEC_PER_SEC); in tc_taprio_configure()
1052 priv->est->ctr[1] = (u32)ctr; in tc_taprio_configure()
1054 priv->est->ter = qopt->cycle_time_extension; in tc_taprio_configure()
1058 ret = stmmac_est_configure(priv, priv, priv->est, in tc_taprio_configure()
1074 if (priv->est) { in tc_taprio_configure()
1076 priv->est->enable = false; in tc_taprio_configure()
1077 stmmac_est_configure(priv, priv, priv->est, in tc_taprio_configure()