Lines Matching refs:ts_first
1735 device_xname(sc->sc_dev), ts, ts->ts_first, ts->ts_last,
1775 if (ts->ts_first == rtw_txring_next(&sc->sc_regs, tdb))
1778 ndesc = 1 + ts->ts_last - ts->ts_first;
1779 if (ts->ts_last < ts->ts_first)
1784 rtw_txdescs_sync(tdb, ts->ts_first, ndesc,
1792 for (next = ts->ts_first; ;
1802 rtw_txdescs_sync(tdb, ts->ts_first, ndesc,
3380 ts->ts_first = tdb->tdb_next;
3382 rtw_txdescs_sync(tdb, ts->ts_first, dmamap->dm_nsegs,
3385 KASSERT(ts->ts_first < tdb->tdb_ndesc);
3398 for (i = 0, lastdesc = desc = ts->ts_first;
3427 tdb->tdb_desc[ts->ts_first].td_ctl0 |=
3431 rtw_print_txdesc(sc, "FS on", ts, tdb, ts->ts_first);
3438 rtw_txdescs_sync(tdb, ts->ts_first, dmamap->dm_nsegs,
3441 tdb->tdb_desc[ts->ts_first].td_ctl0 |=
3445 rtw_print_txdesc(sc, "OWN on", ts, tdb, ts->ts_first);
3448 rtw_txdescs_sync(tdb, ts->ts_first, 1,