Searched refs:slots_num (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 915 static int iwl_queue_init(struct iwl_txq *q, int slots_num) in iwl_queue_init() argument 917 q->n_window = slots_num; in iwl_queue_init() 921 if (WARN_ON(!is_power_of_2(slots_num))) in iwl_queue_init() 938 int iwl_txq_init(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, in iwl_txq_init() argument 955 ret = iwl_queue_init(txq, slots_num); in iwl_txq_init() 1047 int iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, in iwl_txq_alloc() argument 1051 slots_num : trans->trans_cfg->base_params->max_tfd_queue_size; in iwl_txq_alloc() 1056 if (WARN_ONCE(slots_num <= 0, "Invalid slots num:%d\n", slots_num)) in iwl_txq_alloc() 1067 txq->n_window = slots_num; in iwl_txq_alloc() 1069 txq->entries = kcalloc(slots_num, in iwl_txq_alloc() [all …]
|
H A D | tx.h | 47 int iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, 126 int iwl_txq_init(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num,
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx.c | 478 int txq_id, slots_num; in iwl_pcie_tx_alloc() local 523 slots_num = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_pcie_tx_alloc() 526 slots_num = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, in iwl_pcie_tx_alloc() 529 ret = iwl_txq_alloc(trans, trans->txqs.txq[txq_id], slots_num, in iwl_pcie_tx_alloc() 550 int txq_id, slots_num; in iwl_pcie_tx_init() local 577 slots_num = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_pcie_tx_init() 580 slots_num = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, in iwl_pcie_tx_init() 582 ret = iwl_txq_init(trans, trans->txqs.txq[txq_id], slots_num, in iwl_pcie_tx_init()
|
/openbmc/linux/sound/soc/sti/ |
H A D | sti_uniperif.c | 214 int slots_num = uni->tdm_slot.slots; in sti_uniperiph_get_tdm_word_pos() local 227 for (i = 0, j = 0, k = 0; (i < slots_num) && (k < WORD_MAX); i++) { in sti_uniperiph_get_tdm_word_pos()
|