Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/dev/qlxgb/
Dqla_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()
927 if (hw->txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in qla_hw_send()
929 if (hw->txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in qla_hw_send()
1071 hw->txr_free = hw->txr_free - tx_cmd_count; in qla_hw_send()
1316 ha->hw.txr_free = NUM_TX_DESCRIPTORS; in qla_init_xmt_cntxt()
1673 hw->txr_free += comp_count; in qla_hw_tx_done_locked()
1676 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 …]
Dqla_hw.h775 volatile uint32_t txr_free; /* # of free entries in tx ring */ member
/freebsd-9-stable/sys/dev/qlxge/
Dqls_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()
Dqls_def.h121 volatile uint32_t txr_free; /* # of free entries in tx ring */ member
Dqls_os.c186 ha->tx_ring[i].txr_free); in qls_sysctl_get_drvr_stats()
/freebsd-9-stable/sys/dev/qlxgbe/
Dql_ioctl.h114 uint32_t txr_free; member
Dql_ioctl.c426 tx_state->txr_free = ha->hw.tx_cntxt[i].txr_free; in ql_get_tx_state()
Dql_hw.c2563 if (hw->tx_cntxt[txr_idx].txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in ql_hw_send()
2565 if (hw->tx_cntxt[txr_idx].txr_free <= in ql_hw_send()
2746 hw->tx_cntxt[txr_idx].txr_free = in ql_hw_send()
2747 hw->tx_cntxt[txr_idx].txr_free - tx_cmd_count; in ql_hw_send()
3466 hw_tx_cntxt->txr_free = NUM_TX_DESCRIPTORS; in qla_init_xmt_cntxt_i()
3838 hw_tx_cntxt->txr_free += comp_count; in ql_hw_tx_done_locked()
3840 if (hw_tx_cntxt->txr_free > NUM_TX_DESCRIPTORS) in ql_hw_tx_done_locked()
3843 txr_idx, hw_tx_cntxt->txr_free, in ql_hw_tx_done_locked()
3846 QL_ASSERT(ha, (hw_tx_cntxt->txr_free <= NUM_TX_DESCRIPTORS), \ in ql_hw_tx_done_locked()
3848 __func__, __LINE__, txr_idx, hw_tx_cntxt->txr_free, \ in ql_hw_tx_done_locked()
Dql_hw.h1541 volatile uint32_t txr_free; /* # of free entries in tx ring */ member