Lines Matching refs:tx_cntxt
1258 qla_hw_tx_cntxt_t *tx_cntxt; in ql_alloc_dma() local
1285 tx_cntxt = (qla_hw_tx_cntxt_t *)&hw->tx_cntxt[i]; in ql_alloc_dma()
1287 tx_cntxt->tx_ring_base = (q80_tx_cmd_t *)vaddr; in ql_alloc_dma()
1288 tx_cntxt->tx_ring_paddr = paddr; in ql_alloc_dma()
1295 tx_cntxt = (qla_hw_tx_cntxt_t *)&hw->tx_cntxt[i]; in ql_alloc_dma()
1297 tx_cntxt->tx_cons = (uint32_t *)vaddr; in ql_alloc_dma()
1298 tx_cntxt->tx_cons_paddr = paddr; in ql_alloc_dma()
2232 cmd |= (ha->hw.tx_cntxt[i].tx_cntxt_id << 16); in ql_get_stats()
2535 if (hw->tx_cntxt[txr_idx].txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in ql_hw_send()
2537 if (hw->tx_cntxt[txr_idx].txr_free <= in ql_hw_send()
2560 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[tx_idx]; in ql_hw_send()
2638 txr_next = hw->tx_cntxt[txr_idx].txr_next = in ql_hw_send()
2639 (hw->tx_cntxt[txr_idx].txr_next + 1) & in ql_hw_send()
2646 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next]; in ql_hw_send()
2653 txr_next = hw->tx_cntxt[txr_idx].txr_next; in ql_hw_send()
2655 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next]; in ql_hw_send()
2690 txr_next = hw->tx_cntxt[txr_idx].txr_next = in ql_hw_send()
2691 (hw->tx_cntxt[txr_idx].txr_next + 1) & in ql_hw_send()
2696 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[txr_next]; in ql_hw_send()
2705 txr_next = hw->tx_cntxt[txr_idx].txr_next = in ql_hw_send()
2706 (hw->tx_cntxt[txr_idx].txr_next + 1) & in ql_hw_send()
2712 hw->tx_cntxt[txr_idx].txr_free = in ql_hw_send()
2713 hw->tx_cntxt[txr_idx].txr_free - tx_cmd_count; in ql_hw_send()
2715 QL_UPDATE_TX_PRODUCER_INDEX(ha, hw->tx_cntxt[txr_idx].txr_next,\ in ql_hw_send()
3355 hw_tx_cntxt = &hw->tx_cntxt[txr_idx]; in qla_init_xmt_cntxt_i()
3446 tcntxt->cntxt_id = ha->hw.tx_cntxt[txr_idx].tx_cntxt_id; in qla_del_xmt_cntxt_i()
3737 hw_tx_cntxt = &hw->tx_cntxt[txr_idx]; in ql_hw_tx_done_locked()