Home
last modified time | relevance | path

Searched refs:trans_cfg (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans-gen2.c90 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) in iwl_pcie_gen2_apm_stop()
105 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_fw_reset_handshake()
108 else if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_fw_reset_handshake()
164 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in _iwl_trans_pcie_gen2_stop_device()
333 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_gen2_fw_alive()
367 if ((trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_AX210 || in iwl_pcie_set_ltr()
368 trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_22000) && in iwl_pcie_set_ltr()
369 !trans->trans_cfg->integrated) { in iwl_pcie_set_ltr()
371 } else if (trans->trans_cfg->integrated && in iwl_pcie_set_ltr()
372 trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_22000) { in iwl_pcie_set_ltr()
[all …]
Dtrans.c134 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) in iwl_trans_pcie_sw_reset()
294 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_pcie_apm_init()
318 if (trans->trans_cfg->base_params->pll_cfg) in iwl_pcie_apm_init()
470 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) { in iwl_pcie_apm_stop_master()
502 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_7000) in iwl_pcie_apm_stop()
505 else if (trans->trans_cfg->device_family >= in iwl_pcie_apm_stop()
566 if (trans->trans_cfg->base_params->shadow_reg_enable) { in iwl_pcie_nic_init()
634 if (trans->trans_cfg->device_family != in iwl_pcie_prepare_card_hw()
819 if (trans->trans_cfg->use_tfh) { in iwl_pcie_load_cpu_sections_8000()
977 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_8000) in iwl_pcie_apply_destination()
[all …]
Dtx.c86 if (!trans->trans_cfg->base_params->shadow_reg_enable && in iwl_pcie_txq_inc_wr_ptr()
120 for (i = 0; i < trans->trans_cfg->base_params->num_of_queues; i++) { in iwl_pcie_txq_check_wrptrs()
184 if (!trans->trans_cfg->base_params->apmg_wake_up_wa) in iwl_pcie_clear_cmd_in_flight()
275 trans->trans_cfg->base_params->max_tfd_queue_size, in iwl_pcie_txq_free()
297 int nq = trans->trans_cfg->base_params->num_of_queues; in iwl_pcie_tx_start()
325 if (trans->trans_cfg->base_params->scd_chain_ext_wa) in iwl_pcie_tx_start()
347 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_pcie_tx_start()
361 if (WARN_ON_ONCE(trans->trans_cfg->gen2)) in iwl_trans_pcie_tx_reset()
364 for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; in iwl_trans_pcie_tx_reset()
367 if (trans->trans_cfg->use_tfh) in iwl_trans_pcie_tx_reset()
[all …]
Drx.c146 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_pcie_rx_stop()
151 } else if (trans->trans_cfg->mq_rx_supported) { in iwl_pcie_rx_stop()
178 if (!trans->trans_cfg->base_params->shadow_reg_enable && in iwl_pcie_rxq_inc_wr_ptr()
193 if (!trans->trans_cfg->mq_rx_supported) in iwl_pcie_rxq_inc_wr_ptr()
195 else if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) in iwl_pcie_rxq_inc_wr_ptr()
224 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_pcie_restock_bd()
351 if (trans->trans_cfg->mq_rx_supported) in iwl_pcie_rxq_restock()
660 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in iwl_pcie_free_bd_size()
663 return trans->trans_cfg->mq_rx_supported ? in iwl_pcie_free_bd_size()
669 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) in iwl_pcie_used_bd_size()
[all …]
Dctxt-info-gen3.c128 if (trans->trans_cfg->imr_enabled) in iwl_pcie_ctxt_info_gen3_init()
288 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_ctx_info_gen3_set_pnvm()
321 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_ctx_info_gen3_set_reduce_power()
Dinternal.h195 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_get_closed_rb_stts()
736 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_9000) { in iwl_enable_rfkill_int()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c32 trans->trans_cfg = cfg_trans; in iwl_trans_alloc()
45 if (trans->trans_cfg->use_tfh) { in iwl_trans_alloc()
63 if (!trans->trans_cfg->gen2) { in iwl_trans_init()
66 } else if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) { in iwl_trans_init()
78 if (WARN_ON(trans->trans_cfg->gen2 && txcmd_size >= txcmd_align)) in iwl_trans_init()
81 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) in iwl_trans_init()
84 else if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in iwl_trans_init()
94 if (trans->trans_cfg->gen2) { in iwl_trans_init()
104 (trans->trans_cfg->use_tfh ? 64 : 36)); in iwl_trans_init()
Diwl-io.h67 return ofs + trans->trans_cfg->umac_prph_offset; in iwl_umac_prph()
73 trans->trans_cfg->umac_prph_offset); in iwl_read_umac_prph_no_grab()
78 return iwl_read_prph(trans, ofs + trans->trans_cfg->umac_prph_offset); in iwl_read_umac_prph()
84 iwl_write_prph_no_grab(trans, ofs + trans->trans_cfg->umac_prph_offset, in iwl_write_umac_prph_no_grab()
91 iwl_write_prph(trans, ofs + trans->trans_cfg->umac_prph_offset, val); in iwl_write_umac_prph()
98 trans->trans_cfg->umac_prph_offset, in iwl_poll_umac_prph_bit()
Diwl-eeprom-read.c152 if (trans->trans_cfg->base_params->shadow_ram_support) in iwl_init_otp_access()
273 } while (usedblocks <= trans->trans_cfg->base_params->max_ll_items); in iwl_find_otp_image()
306 sz = trans->trans_cfg->base_params->eeprom_size; in iwl_read_eeprom()
341 if (!trans->trans_cfg->base_params->shadow_ram_support) { in iwl_read_eeprom()
Diwl-io.c212 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_9000) in iwl_force_nmi()
215 else if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_force_nmi()
218 else if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_BZ) in iwl_force_nmi()
369 if (trans->trans_cfg->mq_rx_supported) in iwl_dump_fh()
424 switch (trans->trans_cfg->device_family) { in iwl_dump_host_monitor()
446 const struct iwl_cfg_trans_params *cfg_trans = trans->trans_cfg; in iwl_finish_nic_init()
Diwl-trans.h603 const struct iwl_trans_config *trans_cfg);
1007 const struct iwl_cfg_trans_params *trans_cfg; member
1066 const struct iwl_trans_config *trans_cfg) in iwl_trans_configure() argument
1068 trans->op_mode = trans_cfg->op_mode; in iwl_trans_configure()
1070 trans->ops->configure(trans, trans_cfg); in iwl_trans_configure()
1071 WARN_ON(iwl_cmd_groups_verify_sorted(trans_cfg)); in iwl_trans_configure()
Diwl-nvm-parse.c489 if (trans->trans_cfg->mq_rx_supported) in iwl_init_vht_hw_capab()
496 if (trans->trans_cfg->mq_rx_supported) in iwl_init_vht_hw_capab()
799 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_22000 && in iwl_nvm_fixup_sband_iftd()
1103 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_7000) { in iwl_nvm_no_wide_in_5ghz()
1619 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_8000 && in iwl_read_external_nvm()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/
Dinit.c73 if (!fwrt->trans->trans_cfg->integrated) in iwl_set_soc_latency()
85 if (fwrt->trans->trans_cfg->ltr_delay != IWL_CFG_TRANS_LTR_DELAY_NONE && in iwl_set_soc_latency()
86 !WARN_ON(!fwrt->trans->trans_cfg->integrated)) in iwl_set_soc_latency()
87 cmd.flags |= le32_encode_bits(fwrt->trans->trans_cfg->ltr_delay, in iwl_set_soc_latency()
92 fwrt->trans->trans_cfg->low_latency_xtal) in iwl_set_soc_latency()
95 cmd.latency = cpu_to_le32(fwrt->trans->trans_cfg->xtal_latency); in iwl_set_soc_latency()
120 if (fwrt->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_22000) in iwl_configure_rxq()
Ddump.c368 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_22000) { in iwl_fwrt_dump_iml_error_log()
371 } else if (fwrt->trans->trans_cfg->device_family >= in iwl_fwrt_dump_iml_error_log()
390 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_22000) in iwl_fwrt_dump_iml_error_log()
451 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) { in iwl_fwrt_dump_error_logs()
Dsmem.c105 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_22000) in iwl_get_shared_mem_conf()
Ddbg.c191 fwrt->trans->trans_cfg->umac_prph_offset, 1); in iwl_fw_dump_rxf()
628 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_fw_prph_handler()
631 } else if (fwrt->trans->trans_cfg->device_family >= in iwl_fw_prph_handler()
639 if (fwrt->trans->trans_cfg->mq_rx_supported) { in iwl_fw_prph_handler()
812 if (fwrt->trans->trans_cfg->device_family == in iwl_fw_error_dump_file()
1068 if (fwrt->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_dump_ini_prph_phy_iter()
1203 if (!fwrt->trans->trans_cfg->gen2) in iwl_dump_ini_paging_iter()
1682 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_dump_ini_mon_fill_header()
1784 if (fwrt->trans->trans_cfg->gen2) { in iwl_dump_ini_paging_ranges()
1877 if (fwrt->trans->trans_cfg->gen2) in iwl_dump_ini_paging_get_size()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.h41 if (trans->trans_cfg->use_tfh) in iwl_txq_get_tfd()
79 (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_txq_inc_wrap()
89 (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_txq_dec_wrap()
138 if (trans->trans_cfg->use_tfh) { in iwl_txq_gen1_tfd_get_num_tbs()
154 if (trans->trans_cfg->use_tfh) { in iwl_txq_gen1_tfd_tb_get_len()
Dtx.c45 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_pcie_gen2_update_byte_tbl()
654 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_txq_gen2_build_tfd()
688 if (q->n_window < trans->trans_cfg->base_params->max_tfd_queue_size) in iwl_txq_space()
691 max = trans->trans_cfg->base_params->max_tfd_queue_size - 1; in iwl_txq_space()
698 (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_txq_space()
767 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_txq_gen2_tx()
927 trans->trans_cfg->base_params->max_tfd_queue_size; in iwl_txq_init()
981 if (trans->trans_cfg->use_tfh) { in iwl_txq_log_scd_error()
998 (trans->trans_cfg->base_params->max_tfd_queue_size - 1), in iwl_txq_log_scd_error()
1000 (trans->trans_cfg->base_params->max_tfd_queue_size - 1), in iwl_txq_log_scd_error()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dops.c114 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_mvm_nic_config()
1075 struct iwl_trans_config trans_cfg = {}; in iwl_op_mode_mvm_start() local
1127 (trans->trans_cfg->device_family >= in iwl_op_mode_mvm_start()
1213 trans_cfg.op_mode = op_mode; in iwl_op_mode_mvm_start()
1214 trans_cfg.no_reclaim_cmds = no_reclaim_cmds; in iwl_op_mode_mvm_start()
1215 trans_cfg.n_no_reclaim_cmds = ARRAY_SIZE(no_reclaim_cmds); in iwl_op_mode_mvm_start()
1219 trans_cfg.rx_buf_size = IWL_AMSDU_4K; in iwl_op_mode_mvm_start()
1222 trans_cfg.rx_buf_size = IWL_AMSDU_4K; in iwl_op_mode_mvm_start()
1225 trans_cfg.rx_buf_size = IWL_AMSDU_8K; in iwl_op_mode_mvm_start()
1228 trans_cfg.rx_buf_size = IWL_AMSDU_12K; in iwl_op_mode_mvm_start()
[all …]
Dled.c105 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_mvm_leds_sync()
Drxmq.c197 mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_BZ) { in iwl_mvm_create_skb()
428 if (mvm->trans->trans_cfg->gen2 && in iwl_mvm_rx_crypto()
445 if (mvm->trans->trans_cfg->gen2) in iwl_mvm_rx_crypto()
481 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_mvm_rx_csum()
1778 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in iwl_mvm_rx_mpdu_mq()
1788 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_mvm_rx_mpdu_mq()
1872 if (mvm->trans->trans_cfg->device_family >= in iwl_mvm_rx_mpdu_mq()
2021 if (mvm->trans->trans_cfg->device_family == in iwl_mvm_rx_mpdu_mq()
Dfw.c294 enum iwl_device_family device_family = trans->trans_cfg->device_family; in iwl_mvm_print_pd_notification()
361 if (trans->trans_cfg->device_family >= in iwl_mvm_load_ucode_wait_alive()
368 } else if (trans->trans_cfg->device_family >= in iwl_mvm_load_ucode_wait_alive()
379 if (trans->trans_cfg->device_family >= in iwl_mvm_load_ucode_wait_alive()
660 cpu_to_le32(mvm->trans->trans_cfg->extra_phy_cfg_flags); in iwl_send_phy_cfg_cmd()
714 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) { in iwl_run_init_mvm_ucode()
Dnvm.c195 mvm->trans->trans_cfg->base_params->eeprom_size) { in iwl_nvm_read_section()
313 nvm_buffer = kmalloc(mvm->trans->trans_cfg->base_params->eeprom_size, in iwl_nvm_init()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c1236 struct iwl_trans_config trans_cfg = {}; in iwl_op_mode_dvm_start() local
1263 switch (priv->trans->trans_cfg->device_family) { in iwl_op_mode_dvm_start()
1309 trans_cfg.op_mode = op_mode; in iwl_op_mode_dvm_start()
1310 trans_cfg.no_reclaim_cmds = no_reclaim_cmds; in iwl_op_mode_dvm_start()
1311 trans_cfg.n_no_reclaim_cmds = ARRAY_SIZE(no_reclaim_cmds); in iwl_op_mode_dvm_start()
1316 trans_cfg.rx_buf_size = IWL_AMSDU_4K; in iwl_op_mode_dvm_start()
1319 trans_cfg.rx_buf_size = IWL_AMSDU_8K; in iwl_op_mode_dvm_start()
1323 trans_cfg.rx_buf_size = IWL_AMSDU_4K; in iwl_op_mode_dvm_start()
1328 trans_cfg.cmd_q_wdg_timeout = IWL_WATCHDOG_DISABLED; in iwl_op_mode_dvm_start()
1330 trans_cfg.command_groups = iwl_dvm_groups; in iwl_op_mode_dvm_start()
[all …]
Dled.c119 priv->trans->trans_cfg->base_params->led_compensation); in iwl_led_cmd()
121 priv->trans->trans_cfg->base_params->led_compensation); in iwl_led_cmd()

12