Home
last modified time | relevance | path

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

/drivers/net/wireless/iwlwifi/pcie/
Dtx.c79 if (q->n_window < TFD_QUEUE_SIZE_MAX) in iwl_queue_space()
82 max = TFD_QUEUE_SIZE_MAX - 1; in iwl_queue_space()
88 used = (q->write_ptr - q->read_ptr) & (TFD_QUEUE_SIZE_MAX - 1); in iwl_queue_space()
196 (TFD_QUEUE_SIZE_MAX - 1), in iwl_pcie_txq_stuck_timer()
240 if (WARN_ON(len > 0xFFF || write_ptr >= TFD_QUEUE_SIZE_MAX)) in iwl_pcie_txq_update_byte_cnt_tbl()
249 tfd_offset[TFD_QUEUE_SIZE_MAX + write_ptr] = bc_ent; in iwl_pcie_txq_update_byte_cnt_tbl()
265 WARN_ON(read_ptr >= TFD_QUEUE_SIZE_MAX); in iwl_pcie_txq_inval_byte_cnt_tbl()
275 tfd_offset[TFD_QUEUE_SIZE_MAX + read_ptr] = bc_ent; in iwl_pcie_txq_inval_byte_cnt_tbl()
486 size_t tfd_sz = sizeof(struct iwl_tfd) * TFD_QUEUE_SIZE_MAX; in iwl_pcie_txq_alloc()
560 BUILD_BUG_ON(TFD_QUEUE_SIZE_MAX & (TFD_QUEUE_SIZE_MAX - 1)); in iwl_pcie_txq_init()
[all …]
Dinternal.h165 return ++index & (TFD_QUEUE_SIZE_MAX - 1); in iwl_queue_inc_wrap()
174 return --index & (TFD_QUEUE_SIZE_MAX - 1); in iwl_queue_dec_wrap()
Dtrans.c1770 (TFD_QUEUE_SIZE_MAX - 1), in iwl_trans_pcie_wait_txq_empty()
/drivers/net/wireless/iwlwifi/
Diwl-fh.h460 #define TFD_QUEUE_SIZE_MAX (256) macro
462 #define TFD_QUEUE_BC_SIZE (TFD_QUEUE_SIZE_MAX + TFD_QUEUE_SIZE_BC_DUP)
/drivers/net/wireless/iwlegacy/
D4965.c1558 WARN_ON(len > 0xFFF || write_ptr >= TFD_QUEUE_SIZE_MAX); in il4965_txq_update_byte_cnt_tbl()
1566 scd_bc_tbl[txq_id].tfd_offset[TFD_QUEUE_SIZE_MAX + write_ptr] = in il4965_txq_update_byte_cnt_tbl()
Dcommon.c2947 BUILD_BUG_ON(TFD_QUEUE_SIZE_MAX & (TFD_QUEUE_SIZE_MAX - 1)); in il_queue_init()
2949 q->n_bd = TFD_QUEUE_SIZE_MAX; in il_queue_init()
2978 size_t tfd_sz = il->hw_params.tfd_size * TFD_QUEUE_SIZE_MAX; in il_tx_queue_alloc()
2983 txq->skbs = kcalloc(TFD_QUEUE_SIZE_MAX, in il_tx_queue_alloc()
Dcommon.h2411 #define TFD_QUEUE_SIZE_MAX 256 macro
2413 #define TFD_QUEUE_BC_SIZE (TFD_QUEUE_SIZE_MAX + TFD_QUEUE_SIZE_BC_DUP)