Searched refs:txr_free (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/dev/qlxgb/ |
H A D | qla_hw.c | 496 if (hw->txr_free <= QLA_TX_MIN_FREE) { in qla_fw_cmd() 499 if (hw->txr_free > QLA_TX_MIN_FREE) in qla_fw_cmd() 506 if (hw->txr_free <= QLA_TX_MIN_FREE) { in qla_fw_cmd() 519 hw->txr_free--; in qla_fw_cmd() 975 if (hw->txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in qla_hw_send() 977 if (hw->txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in qla_hw_send() 1113 hw->txr_free = hw->txr_free - tx_cmd_count; in qla_hw_send() 1355 ha->hw.txr_free = NUM_TX_DESCRIPTORS; in qla_init_xmt_cntxt() 1711 hw->txr_free += comp_count; in qla_hw_tx_done_locked() 1714 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 …]
|
H A D | qla_hw.h | 771 volatile uint32_t txr_free; /* # of free entries in tx ring */ member
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_hw.c | 643 ha->tx_ring[txr_idx].txr_free = NUM_TX_DESCRIPTORS; in qls_hw_tx_done() 645 ha->tx_ring[txr_idx].txr_free = txr_done - txr_next; in qls_hw_tx_done() 647 ha->tx_ring[txr_idx].txr_free = NUM_TX_DESCRIPTORS + in qls_hw_tx_done() 651 if (ha->tx_ring[txr_idx].txr_free <= QLA_TX_MIN_FREE) in qls_hw_tx_done() 685 if (ha->tx_ring[txr_idx].txr_free <= (NUM_TX_DESCRIPTORS >> 2)) { in qls_hw_send() 689 ha->tx_ring[txr_idx].txr_free); in qls_hw_send() 763 ha->tx_ring[txr_idx].txr_free--; in qls_hw_send() 1186 txr->txr_free = NUM_TX_DESCRIPTORS; in qls_init_work_queue()
|
H A D | qls_def.h | 120 volatile uint32_t txr_free; /* # of free entries in tx ring */ member
|
H A D | qls_os.c | 181 ha->tx_ring[i].txr_free); in qls_sysctl_get_drvr_stats()
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_ioctl.h | 114 uint32_t txr_free; member
|
H A D | ql_ioctl.c | 419 tx_state->txr_free = ha->hw.tx_cntxt[i].txr_free; in ql_get_tx_state()
|
H A D | ql_hw.c | 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() 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() 3398 hw_tx_cntxt->txr_free = NUM_TX_DESCRIPTORS; in qla_init_xmt_cntxt_i() 3763 hw_tx_cntxt->txr_free += comp_count; in ql_hw_tx_done_locked() 3765 if (hw_tx_cntxt->txr_free > NUM_TX_DESCRIPTORS) in ql_hw_tx_done_locked() 3768 txr_idx, hw_tx_cntxt->txr_free, in ql_hw_tx_done_locked() 3771 QL_ASSERT(ha, (hw_tx_cntxt->txr_free <= NUM_TX_DESCRIPTORS), \ in ql_hw_tx_done_locked() 3773 __func__, __LINE__, txr_idx, hw_tx_cntxt->txr_free, \ in ql_hw_tx_done_locked()
|
H A D | ql_hw.h | 1530 volatile uint32_t txr_free; /* # of free entries in tx ring */ member
|