Lines Matching refs:txq_first
92 struct gmac_txdb *txq_first;
723 (txdb - txq->txq_first) * sizeof(*txdb), count * sizeof(*txdb),
735 (txdb - txq->txq_first) * sizeof(*txdb), count * sizeof(*txdb),
1316 size_t desc_count = BCMETH_RINGSIZE / sizeof(txq->txq_first[0]);
1328 txq->txq_first = descs;
1329 txq->txq_last = txq->txq_first + desc_count;
1426 printf("[%zu]: %#x/%#x/%#x/%#x\n", producer - txq->txq_first,
1436 producer = txq->txq_first;
1437 start = txq->txq_first;
1444 printf("[%zu]: %#x/%#x/%#x/%#x\n", producer - txq->txq_first,
1463 txq->txq_producer - txq->txq_first, producer - txq->txq_first);
1467 txq->txq_producer = txq->txq_first;
1614 == txq->txq_last - txq->txq_first - 1);
1619 if (consumer == txq->txq_first + __SHIFTOUT(s0, XMT_CURRDSCR)) {
1664 consumer = txq->txq_first;
1703 bcmeth_txq_desc_postsync(sc, txq, txq->txq_first,
1704 txq->txq_last - txq->txq_first);
1710 for (txdb = txq->txq_first; txdb < txq->txq_last - 1; txdb++) {
1722 txq->txq_consumer = txq->txq_first;
1723 txq->txq_producer = txq->txq_first;
1724 txq->txq_free = txq->txq_last - txq->txq_first - 1;
1843 sc->sc_txq.txq_first,