Home
last modified time | relevance | path

Searched refs:slots_num (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c975 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()
[all …]
Dtx.h100 int iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num,
181 int iwl_txq_init(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num,
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c590 int txq_id, slots_num; in iwl_pcie_tx_alloc() local
635 slots_num = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_pcie_tx_alloc()
638 slots_num = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, in iwl_pcie_tx_alloc()
641 ret = iwl_txq_alloc(trans, trans->txqs.txq[txq_id], slots_num, in iwl_pcie_tx_alloc()
662 int txq_id, slots_num; in iwl_pcie_tx_init() local
689 slots_num = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_pcie_tx_init()
692 slots_num = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, in iwl_pcie_tx_init()
694 ret = iwl_txq_init(trans, trans->txqs.txq[txq_id], slots_num, in iwl_pcie_tx_init()
/Linux-v5.10/sound/soc/sti/
Dsti_uniperif.c213 int slots_num = uni->tdm_slot.slots; in sti_uniperiph_get_tdm_word_pos() local
226 for (i = 0, j = 0, k = 0; (i < slots_num) && (k < WORD_MAX); i++) { in sti_uniperiph_get_tdm_word_pos()