Lines Matching refs:tx_cntxt
1260 qla_hw_tx_cntxt_t *tx_cntxt; in ql_alloc_dma() local
1287 tx_cntxt = (qla_hw_tx_cntxt_t *)&hw->tx_cntxt[i]; in ql_alloc_dma()
1289 tx_cntxt->tx_ring_base = (q80_tx_cmd_t *)vaddr; in ql_alloc_dma()
1290 tx_cntxt->tx_ring_paddr = paddr; in ql_alloc_dma()
1297 tx_cntxt = (qla_hw_tx_cntxt_t *)&hw->tx_cntxt[i]; in ql_alloc_dma()
1299 tx_cntxt->tx_cons = (uint32_t *)vaddr; in ql_alloc_dma()
1300 tx_cntxt->tx_cons_paddr = paddr; in ql_alloc_dma()
2234 cmd |= (ha->hw.tx_cntxt[i].tx_cntxt_id << 16); in ql_get_stats()
2543 if (hw->tx_cntxt[txr_idx].txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in ql_hw_send()
2545 if (hw->tx_cntxt[txr_idx].txr_free <= in ql_hw_send()
2568 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[tx_idx]; in ql_hw_send()
2646 txr_next = hw->tx_cntxt[txr_idx].txr_next = in ql_hw_send()
2647 (hw->tx_cntxt[txr_idx].txr_next + 1) & in ql_hw_send()
2654 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next]; in ql_hw_send()
2661 txr_next = hw->tx_cntxt[txr_idx].txr_next; in ql_hw_send()
2663 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next]; in ql_hw_send()
2698 txr_next = hw->tx_cntxt[txr_idx].txr_next = in ql_hw_send()
2699 (hw->tx_cntxt[txr_idx].txr_next + 1) & in ql_hw_send()
2704 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next]; in ql_hw_send()
2713 txr_next = hw->tx_cntxt[txr_idx].txr_next = in ql_hw_send()
2714 (hw->tx_cntxt[txr_idx].txr_next + 1) & in ql_hw_send()
2720 hw->tx_cntxt[txr_idx].txr_free = in ql_hw_send()
2721 hw->tx_cntxt[txr_idx].txr_free - tx_cmd_count; in ql_hw_send()
2723 QL_UPDATE_TX_PRODUCER_INDEX(ha, hw->tx_cntxt[txr_idx].txr_next,\ in ql_hw_send()
3379 hw_tx_cntxt = &hw->tx_cntxt[txr_idx]; in qla_init_xmt_cntxt_i()
3470 tcntxt->cntxt_id = ha->hw.tx_cntxt[txr_idx].tx_cntxt_id; in qla_del_xmt_cntxt_i()
3761 hw_tx_cntxt = &hw->tx_cntxt[txr_idx]; in ql_hw_tx_done_locked()