Lines Matching refs:trans_cfg
93 if (!trans->trans_cfg->base_params->shadow_reg_enable && in iwl_pcie_txq_inc_wr_ptr()
128 for (i = 0; i < trans->trans_cfg->base_params->num_of_queues; i++) { in iwl_pcie_txq_check_wrptrs()
196 if (!trans->trans_cfg->base_params->apmg_wake_up_wa) in iwl_pcie_clear_cmd_in_flight()
358 if (trans->trans_cfg->gen2) in iwl_txq_free_tfd()
459 trans->trans_cfg->base_params->max_tfd_queue_size, in iwl_pcie_txq_free()
481 int nq = trans->trans_cfg->base_params->num_of_queues; in iwl_pcie_tx_start()
510 if (trans->trans_cfg->base_params->scd_chain_ext_wa) in iwl_pcie_tx_start()
532 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_pcie_tx_start()
546 if (WARN_ON_ONCE(trans->trans_cfg->gen2)) in iwl_trans_pcie_tx_reset()
549 for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; in iwl_trans_pcie_tx_reset()
552 if (trans->trans_cfg->gen2) in iwl_trans_pcie_tx_reset()
636 for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; in iwl_pcie_tx_stop()
659 txq_id < trans->trans_cfg->base_params->num_of_queues; in iwl_pcie_tx_free()
681 if (trans->trans_cfg->gen2) { in iwl_txq_log_scd_error()
698 (trans->trans_cfg->base_params->max_tfd_queue_size - 1), in iwl_txq_log_scd_error()
700 (trans->trans_cfg->base_params->max_tfd_queue_size - 1), in iwl_txq_log_scd_error()
726 size_t num_entries = trans->trans_cfg->gen2 ? in iwl_pcie_txq_alloc()
727 slots_num : trans->trans_cfg->base_params->max_tfd_queue_size; in iwl_pcie_txq_alloc()
782 if (trans->trans_cfg->gen2) in iwl_pcie_txq_alloc()
811 u16 bc_tbls_size = trans->trans_cfg->base_params->num_of_queues; in iwl_pcie_tx_alloc()
813 if (WARN_ON(trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210)) in iwl_pcie_tx_alloc()
840 kcalloc(trans->trans_cfg->base_params->num_of_queues, in iwl_pcie_tx_alloc()
849 for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; in iwl_pcie_tx_alloc()
908 trans->trans_cfg->base_params->max_tfd_queue_size; in iwl_txq_init()
966 for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; in iwl_pcie_tx_init()
994 if (trans->trans_cfg->base_params->num_of_queues > 20) in iwl_pcie_tx_init()
1015 if (!trans->trans_cfg->base_params->apmg_wake_up_wa) in iwl_pcie_set_cmd_in_flight()
1093 if (idx >= trans->trans_cfg->base_params->max_tfd_queue_size || in iwl_pcie_cmdq_reclaim()
1098 trans->trans_cfg->base_params->max_tfd_queue_size, in iwl_pcie_cmdq_reclaim()
1209 scd_bug = !trans->trans_cfg->mq_rx_supported && in iwl_trans_pcie_txq_enable()
1313 for (i = 0; i < trans->trans_cfg->base_params->num_of_queues; i++) { in iwl_trans_pcie_block_txq_ptrs()
1655 if (trans->trans_cfg->gen2) in iwl_pcie_hcmd_complete()
2377 trans->trans_cfg->base_params->max_tfd_queue_size, in iwl_pcie_reclaim()
2406 if (!trans->trans_cfg->gen2) in iwl_pcie_reclaim()
2557 if (trans->trans_cfg->gen2) in iwl_trans_pcie_send_hcmd_sync()
2661 if (trans->trans_cfg->gen2) in iwl_trans_pcie_send_hcmd()