Home
last modified time | relevance | path

Searched refs:txr_free (Results 1 – 7 of 7) sorted by relevance

/trueos/sys/dev/qlxgb/
HDqla_hw.c500 if (hw->txr_free <= QLA_TX_MIN_FREE) { in qla_fw_cmd()
503 if (hw->txr_free > QLA_TX_MIN_FREE) in qla_fw_cmd()
510 if (hw->txr_free <= QLA_TX_MIN_FREE) { in qla_fw_cmd()
523 hw->txr_free--; in qla_fw_cmd()
984 if (hw->txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in qla_hw_send()
986 if (hw->txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in qla_hw_send()
1124 hw->txr_free = hw->txr_free - tx_cmd_count; in qla_hw_send()
1369 ha->hw.txr_free = NUM_TX_DESCRIPTORS; in qla_init_xmt_cntxt()
1726 hw->txr_free += comp_count; in qla_hw_tx_done_locked()
1729 hw->txr_comp, hw->txr_free, hw->txr_next, READ_REG32(ha, (ha->hw.tx_prod_reg + 0x1b2000)))); in qla_hw_tx_done_locked()
[all …]
HDqla_hw.h777 volatile uint32_t txr_free; /* # of free entries in tx ring */ member
/trueos/sys/dev/qlxge/
HDqls_hw.c649 ha->tx_ring[txr_idx].txr_free = NUM_TX_DESCRIPTORS; in qls_hw_tx_done()
651 ha->tx_ring[txr_idx].txr_free = txr_done - txr_next; in qls_hw_tx_done()
653 ha->tx_ring[txr_idx].txr_free = NUM_TX_DESCRIPTORS + in qls_hw_tx_done()
657 if (ha->tx_ring[txr_idx].txr_free <= QLA_TX_MIN_FREE) in qls_hw_tx_done()
691 if (ha->tx_ring[txr_idx].txr_free <= (NUM_TX_DESCRIPTORS >> 2)) { in qls_hw_send()
695 ha->tx_ring[txr_idx].txr_free); in qls_hw_send()
772 ha->tx_ring[txr_idx].txr_free--; in qls_hw_send()
1200 txr->txr_free = NUM_TX_DESCRIPTORS; in qls_init_work_queue()
HDqls_def.h121 volatile uint32_t txr_free; /* # of free entries in tx ring */ member
HDqls_os.c186 ha->tx_ring[i].txr_free); in qls_sysctl_get_drvr_stats()
/trueos/sys/dev/qlxgbe/
HDql_hw.c1622 if (hw->tx_cntxt[txr_idx].txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in ql_hw_send()
1624 if (hw->tx_cntxt[txr_idx].txr_free <= in ql_hw_send()
1782 hw->tx_cntxt[txr_idx].txr_free = in ql_hw_send()
1783 hw->tx_cntxt[txr_idx].txr_free - tx_cmd_count; in ql_hw_send()
2308 hw_tx_cntxt->txr_free = NUM_TX_DESCRIPTORS; in qla_init_xmt_cntxt_i()
2580 hw_tx_cntxt->txr_free += comp_count; in qla_hw_tx_done_locked()
2601 if (ha->hw.tx_cntxt[i].txr_free <= (NUM_TX_DESCRIPTORS >> 1)) in ql_hw_tx_done()
HDql_hw.h1402 volatile uint32_t txr_free; /* # of free entries in tx ring */ member