Lines Matching refs:txr_next
636 uint32_t txr_done, txr_next;
639 txr_next = ha->tx_ring[txr_idx].txr_next;
641 if (txr_done == txr_next) {
643 } else if (txr_done > txr_next) {
644 ha->tx_ring[txr_idx].txr_free = txr_done - txr_next;
647 txr_done - txr_next;
665 uint32_t txr_next, struct mbuf *mp, uint32_t txr_idx)
693 tx_mac = (q81_tx_mac_t *)&ha->tx_ring[txr_idx].wq_vaddr[txr_next];
721 tx_mac->tid_lo = txr_next;
739 ha->tx_ring[txr_idx].tx_buf[txr_next].oal_paddr;
744 tx_desc = ha->tx_ring[txr_idx].tx_buf[txr_next].oal_vaddr;
759 txr_next = (txr_next + 1) & (NUM_TX_DESCRIPTORS - 1);
760 ha->tx_ring[txr_idx].txr_next = txr_next;
764 Q81_WR_WQ_PROD_IDX(txr_idx, txr_next);
1188 txr->txr_next = 0;