Lines Matching full:est
659 if (!plat->est) { in tc_setup_taprio()
660 plat->est = devm_kzalloc(priv->device, sizeof(*plat->est), in tc_setup_taprio()
662 if (!plat->est) in tc_setup_taprio()
665 memset(plat->est, 0, sizeof(*plat->est)); in tc_setup_taprio()
670 priv->plat->est->gcl_size = size; in tc_setup_taprio()
671 priv->plat->est->enable = qopt->enable; in tc_setup_taprio()
699 priv->plat->est->gcl[i] = delta_ns | (gates << wid); in tc_setup_taprio()
704 priv->plat->est->btr[0] = (u32)time.tv_nsec; in tc_setup_taprio()
705 priv->plat->est->btr[1] = (u32)time.tv_sec; in tc_setup_taprio()
708 priv->plat->est->ctr[0] = do_div(ctr, NSEC_PER_SEC); in tc_setup_taprio()
709 priv->plat->est->ctr[1] = (u32)ctr; in tc_setup_taprio()
722 ret = stmmac_est_configure(priv, priv->ioaddr, priv->plat->est, in tc_setup_taprio()
725 netdev_err(priv->dev, "failed to configure EST\n"); in tc_setup_taprio()
729 netdev_info(priv->dev, "configured EST\n"); in tc_setup_taprio()
733 priv->plat->est->enable = false; in tc_setup_taprio()
734 stmmac_est_configure(priv, priv->ioaddr, priv->plat->est, in tc_setup_taprio()