Lines Matching refs:slots_num
975 static int iwl_queue_init(struct iwl_txq *q, int slots_num) in iwl_queue_init() argument
977 q->n_window = slots_num; in iwl_queue_init()
981 if (WARN_ON(!is_power_of_2(slots_num))) in iwl_queue_init()
998 int iwl_txq_init(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, in iwl_txq_init() argument
1015 ret = iwl_queue_init(txq, slots_num); in iwl_txq_init()
1098 int iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, in iwl_txq_alloc() argument
1110 tfd_sz = trans->txqs.tfd.size * slots_num; in iwl_txq_alloc()
1115 txq->n_window = slots_num; in iwl_txq_alloc()
1117 txq->entries = kcalloc(slots_num, in iwl_txq_alloc()
1125 for (i = 0; i < slots_num; i++) { in iwl_txq_alloc()
1142 tb0_buf_sz = sizeof(*txq->first_tb_bufs) * slots_num; in iwl_txq_alloc()
1155 for (i = 0; i < slots_num; i++) in iwl_txq_alloc()