Lines Matching refs:txr_idx

53 static void qla_hw_tx_done_locked(qla_host_t *ha, uint32_t txr_idx);
185 OID_AUTO, "tx_ring_index", CTLFLAG_RW, &ha->txr_idx,
186 ha->txr_idx, "Tx Ring Used");
1318 cmd |= (ha->hw.tx_cntxt[ha->txr_idx].tx_cntxt_id << 16);
1555 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx)
1622 if (hw->tx_cntxt[txr_idx].txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) {
1623 qla_hw_tx_done_locked(ha, txr_idx);
1624 if (hw->tx_cntxt[txr_idx].txr_free <=
1633 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[tx_idx];
1706 txr_next = hw->tx_cntxt[txr_idx].txr_next =
1707 (hw->tx_cntxt[txr_idx].txr_next + 1) &
1714 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next];
1722 txr_next = hw->tx_cntxt[txr_idx].txr_next;
1724 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next];
1760 txr_next = hw->tx_cntxt[txr_idx].txr_next =
1761 (hw->tx_cntxt[txr_idx].txr_next + 1) &
1766 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next];
1775 txr_next = hw->tx_cntxt[txr_idx].txr_next =
1776 (hw->tx_cntxt[txr_idx].txr_next + 1) &
1782 hw->tx_cntxt[txr_idx].txr_free =
1783 hw->tx_cntxt[txr_idx].txr_free - tx_cmd_count;
1785 QL_UPDATE_TX_PRODUCER_INDEX(ha, hw->tx_cntxt[txr_idx].txr_next,\
1786 txr_idx);
2271 qla_init_xmt_cntxt_i(qla_host_t *ha, uint32_t txr_idx)
2280 hw_tx_cntxt = &hw->tx_cntxt[txr_idx];
2339 qla_del_xmt_cntxt_i(qla_host_t *ha, uint32_t txr_idx)
2353 tcntxt->cntxt_id = ha->hw.tx_cntxt[txr_idx].tx_cntxt_id;
2546 qla_hw_tx_done_locked(qla_host_t *ha, uint32_t txr_idx)
2553 hw_tx_cntxt = &hw->tx_cntxt[txr_idx];
2560 txb = &ha->tx_ring[txr_idx].tx_buf[hw_tx_cntxt->txr_comp];