Searched refs:TFD_QUEUE_SIZE_MAX (Results 1 – 7 of 7) sorted by relevance
79 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 …]
165 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()
1770 (TFD_QUEUE_SIZE_MAX - 1), in iwl_trans_pcie_wait_txq_empty()
460 #define TFD_QUEUE_SIZE_MAX (256) macro462 #define TFD_QUEUE_BC_SIZE (TFD_QUEUE_SIZE_MAX + TFD_QUEUE_SIZE_BC_DUP)
1558 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()
2947 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()
2411 #define TFD_QUEUE_SIZE_MAX 256 macro2413 #define TFD_QUEUE_BC_SIZE (TFD_QUEUE_SIZE_MAX + TFD_QUEUE_SIZE_BC_DUP)