Lines Matching refs:grp
23 void sparx5_xtr_flush(struct sparx5 *sparx5, u8 grp) in sparx5_xtr_flush() argument
26 spx5_wr(QS_XTR_FLUSH_FLUSH_SET(BIT(grp)), sparx5, QS_XTR_FLUSH); in sparx5_xtr_flush()
59 static void sparx5_xtr_grp(struct sparx5 *sparx5, u8 grp, bool byte_swap) in sparx5_xtr_grp() argument
72 ifh[i] = spx5_rd(sparx5, QS_XTR_RD(grp)); in sparx5_xtr_grp()
82 sparx5_xtr_flush(sparx5, grp); in sparx5_xtr_grp()
90 sparx5_xtr_flush(sparx5, grp); in sparx5_xtr_grp()
99 u32 val = spx5_rd(sparx5, QS_XTR_RD(grp)); in sparx5_xtr_grp()
131 *rxbuf = spx5_rd(sparx5, QS_XTR_RD(grp)); in sparx5_xtr_grp()
171 int grp = INJ_QUEUE; in sparx5_inject() local
176 if (!(QS_INJ_STATUS_FIFO_RDY_GET(val) & BIT(grp))) { in sparx5_inject()
185 sparx5, QS_INJ_CTRL(grp)); in sparx5_inject()
189 spx5_wr(ifh[w], sparx5, QS_INJ_WR(grp)); in sparx5_inject()
196 spx5_wr(val, sparx5, QS_INJ_WR(grp)); in sparx5_inject()
201 spx5_wr(0, sparx5, QS_INJ_WR(grp)); in sparx5_inject()
209 sparx5, QS_INJ_CTRL(grp)); in sparx5_inject()
212 spx5_wr(0, sparx5, QS_INJ_WR(grp)); in sparx5_inject()
216 if (QS_INJ_STATUS_WMARK_REACHED_GET(val) & BIT(grp)) { in sparx5_inject()
289 int grp = INJ_QUEUE; in sparx5_injection_timeout() local
293 if (QS_INJ_STATUS_WMARK_REACHED_GET(val) & BIT(grp)) { in sparx5_injection_timeout()