/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans-gen2.c | 90 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() 171 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in _iwl_trans_pcie_gen2_stop_device() 357 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_gen2_fw_alive() 391 if ((trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_AX210 || in iwl_pcie_set_ltr() 392 trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_22000) && in iwl_pcie_set_ltr() 393 !trans->trans_cfg->integrated) { in iwl_pcie_set_ltr() 398 if (trans->trans_cfg->integrated && in iwl_pcie_set_ltr() 399 trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_22000) { in iwl_pcie_set_ltr() [all …]
|
D | trans.c | 133 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) { in iwl_trans_pcie_sw_reset() 295 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_pcie_apm_init() 319 if (trans->trans_cfg->base_params->pll_cfg) in iwl_pcie_apm_init() 471 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) { in iwl_pcie_apm_stop_master() 503 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_7000) in iwl_pcie_apm_stop() 506 else if (trans->trans_cfg->device_family >= in iwl_pcie_apm_stop() 567 if (trans->trans_cfg->base_params->shadow_reg_enable) { in iwl_pcie_nic_init() 636 if (trans->trans_cfg->device_family != in iwl_pcie_prepare_card_hw() 821 if (trans->trans_cfg->gen2) { in iwl_pcie_load_cpu_sections_8000() 979 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_8000) in iwl_pcie_apply_destination() [all …]
|
D | tx.c | 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() [all …]
|
D | rx.c | 146 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 …]
|
D | ctxt-info-gen3.c | 150 if (trans->trans_cfg->imr_enabled) in iwl_pcie_ctxt_info_gen3_init() 420 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_ctx_info_gen3_load_pnvm() 490 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_ctx_info_gen3_set_pnvm() 513 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_ctx_info_gen3_load_reduce_power() 575 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_trans_pcie_ctx_info_gen3_set_reduce_power()
|
D | internal.h | 197 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_get_closed_rb_stts() 678 if (trans->trans_cfg->gen2) in iwl_txq_get_tfd() 717 (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_txq_inc_wrap() 728 (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_txq_dec_wrap() 781 if (trans->trans_cfg->gen2) { in iwl_txq_gen1_tfd_tb_get_len() 1004 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_9000) { in iwl_enable_rfkill_int() 1076 const struct iwl_trans_config *trans_cfg);
|
D | tx-gen2.c | 503 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_txq_gen2_build_tfd() 537 if (q->n_window < trans->trans_cfg->base_params->max_tfd_queue_size) in iwl_txq_space() 540 max = trans->trans_cfg->base_params->max_tfd_queue_size - 1; in iwl_txq_space() 547 (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_txq_space() 583 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_pcie_gen2_update_byte_tbl() 786 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_txq_gen2_tx() 1008 wr_ptr &= (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_pcie_txq_alloc_response() 1044 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_BZ && in iwl_txq_dyn_alloc()
|
D | drv.c | 1168 if (iwl_trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in get_crf_id() 1417 if (iwl_trans->trans_cfg->rf_id && in iwl_pci_probe() 1418 iwl_trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_9000 && in iwl_pci_probe() 1509 if (iwl_trans->trans_cfg->mq_rx_supported) { in iwl_pci_probe() 1519 if (!iwl_trans->trans_cfg->integrated) { in iwl_pci_probe() 1605 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ && in _iwl_pci_resume()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/ |
D | init.c | 75 if (!fwrt->trans->trans_cfg->integrated) in iwl_set_soc_latency() 87 if (fwrt->trans->trans_cfg->ltr_delay != IWL_CFG_TRANS_LTR_DELAY_NONE && in iwl_set_soc_latency() 88 !WARN_ON(!fwrt->trans->trans_cfg->integrated)) in iwl_set_soc_latency() 89 cmd.flags |= le32_encode_bits(fwrt->trans->trans_cfg->ltr_delay, in iwl_set_soc_latency() 94 fwrt->trans->trans_cfg->low_latency_xtal) in iwl_set_soc_latency() 97 cmd.latency = cpu_to_le32(fwrt->trans->trans_cfg->xtal_latency); in iwl_set_soc_latency() 122 if (fwrt->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_22000) in iwl_configure_rxq()
|
D | dump.c | 420 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_22000) { in iwl_fwrt_dump_iml_error_log() 423 } else if (fwrt->trans->trans_cfg->device_family >= in iwl_fwrt_dump_iml_error_log() 442 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_22000) in iwl_fwrt_dump_iml_error_log() 511 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_22000) { in iwl_fwrt_dump_error_logs() 525 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) { in iwl_fwrt_dump_error_logs()
|
D | smem.c | 105 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_22000) in iwl_get_shared_mem_conf()
|
D | dbg.c | 190 fwrt->trans->trans_cfg->umac_prph_offset, 1); in iwl_fw_dump_rxf() 627 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_fw_prph_handler() 630 } else if (fwrt->trans->trans_cfg->device_family >= in iwl_fw_prph_handler() 638 if (fwrt->trans->trans_cfg->mq_rx_supported) { in iwl_fw_prph_handler() 811 if (fwrt->trans->trans_cfg->device_family == in iwl_fw_error_dump_file() 1082 if (fwrt->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_dump_ini_prph_phy_iter_common() 1239 if (!fwrt->trans->trans_cfg->gen2) in iwl_dump_ini_paging_iter() 1763 if (fwrt->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_dump_ini_mon_fill_header() 1882 if (fwrt->trans->trans_cfg->gen2) { in iwl_dump_ini_paging_ranges() 1994 if (fwrt->trans->trans_cfg->gen2) in iwl_dump_ini_paging_get_size() [all …]
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-io.h | 67 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()
|
D | iwl-trans.c | 32 trans->trans_cfg = cfg_trans; in iwl_trans_alloc() 49 if (!trans->trans_cfg->gen2) { in iwl_trans_init() 52 } else if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) { in iwl_trans_init() 64 if (WARN_ON(trans->trans_cfg->gen2 && txcmd_size >= txcmd_align)) in iwl_trans_init() 192 const struct iwl_trans_config *trans_cfg) in iwl_trans_configure() argument 194 trans->op_mode = trans_cfg->op_mode; in iwl_trans_configure() 196 iwl_trans_pcie_configure(trans, trans_cfg); in iwl_trans_configure() 197 WARN_ON(iwl_cmd_groups_verify_sorted(trans_cfg)); in iwl_trans_configure() 360 if (trans->trans_cfg->gen2) in iwl_trans_fw_alive() 378 if (trans->trans_cfg->gen2) in iwl_trans_start_fw() [all …]
|
D | iwl-io.c | 214 if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_9000) in iwl_force_nmi() 217 else if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) in iwl_force_nmi() 220 else if (trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_BZ) in iwl_force_nmi() 371 if (trans->trans_cfg->mq_rx_supported) in iwl_dump_fh() 426 switch (trans->trans_cfg->device_family) { in iwl_dump_host_monitor() 448 const struct iwl_cfg_trans_params *cfg_trans = trans->trans_cfg; in iwl_finish_nic_init()
|
D | iwl-nvm-utils.c | 77 if (trans->trans_cfg->mq_rx_supported || in iwl_init_ht_hw_capab()
|
D | iwl-nvm-parse.c | 539 if (trans->trans_cfg->mq_rx_supported) in iwl_init_vht_hw_capab() 546 if (trans->trans_cfg->mq_rx_supported) in iwl_init_vht_hw_capab() 916 no_320 = (!trans->trans_cfg->integrated && in iwl_nvm_fixup_sband_iftd() 1024 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210 && !is_ap) in iwl_nvm_fixup_sband_iftd() 1069 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_22000 && in iwl_nvm_fixup_sband_iftd() 1429 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_7000) { in iwl_nvm_no_wide_in_5ghz() 1982 if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_8000 && in iwl_read_external_nvm()
|
D | iwl-trans.h | 885 const struct iwl_cfg_trans_params *trans_cfg; member 956 const struct iwl_trans_config *trans_cfg);
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ops.c | 95 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in iwl_mvm_nic_config() 117 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_mvm_nic_config() 1280 struct iwl_trans_config trans_cfg = {}; in iwl_op_mode_mvm_start() local 1307 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) in iwl_op_mode_mvm_start() 1340 (trans->trans_cfg->device_family >= in iwl_op_mode_mvm_start() 1434 trans_cfg.op_mode = op_mode; in iwl_op_mode_mvm_start() 1435 trans_cfg.no_reclaim_cmds = no_reclaim_cmds; in iwl_op_mode_mvm_start() 1436 trans_cfg.n_no_reclaim_cmds = ARRAY_SIZE(no_reclaim_cmds); in iwl_op_mode_mvm_start() 1438 trans_cfg.rx_buf_size = iwl_amsdu_size_to_rxb_size(); in iwl_op_mode_mvm_start() 1441 trans_cfg.bc_table_dword = in iwl_op_mode_mvm_start() [all …]
|
D | fw.c | 285 enum iwl_device_family device_family = trans->trans_cfg->device_family; in iwl_mvm_print_pd_notification() 351 if (mvm->trans->trans_cfg->device_family == in iwl_mvm_load_ucode_wait_alive() 368 if (trans->trans_cfg->device_family >= in iwl_mvm_load_ucode_wait_alive() 375 } else if (trans->trans_cfg->device_family >= in iwl_mvm_load_ucode_wait_alive() 386 if (trans->trans_cfg->device_family >= in iwl_mvm_load_ucode_wait_alive() 394 } else if (trans->trans_cfg->device_family >= in iwl_mvm_load_ucode_wait_alive() 493 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_AX210) { in iwl_mvm_uats_init() 581 cpu_to_le32(mvm->trans->trans_cfg->extra_phy_cfg_flags); in iwl_send_phy_cfg_cmd() 620 if (mvm->trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_AX210) { in iwl_run_unified_mvm_ucode() 653 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ) in iwl_run_unified_mvm_ucode() [all …]
|
D | led.c | 105 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_mvm_leds_sync()
|
D | rxmq.c | 174 else if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_BZ) in iwl_mvm_create_skb() 412 if (mvm->trans->trans_cfg->gen2 && in iwl_mvm_rx_crypto() 429 if (mvm->trans->trans_cfg->gen2) in iwl_mvm_rx_crypto() 465 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_mvm_rx_csum() 741 if (mvm->trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_9000) in iwl_mvm_reorder() 2051 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in iwl_mvm_rx_mpdu_mq() 2061 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_mvm_rx_mpdu_mq() 2148 if (mvm->trans->trans_cfg->device_family >= in iwl_mvm_rx_mpdu_mq() 2306 if (mvm->trans->trans_cfg->device_family == in iwl_mvm_rx_mpdu_mq() 2352 if (mvm->trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_9000 && in iwl_mvm_rx_mpdu_mq()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | main.c | 1236 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.command_groups = iwl_dvm_groups; in iwl_op_mode_dvm_start() 1329 trans_cfg.command_groups_size = ARRAY_SIZE(iwl_dvm_groups); in iwl_op_mode_dvm_start() [all …]
|
D | led.c | 119 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()
|
D | eeprom.c | 787 if (trans->trans_cfg->base_params->shadow_ram_support) in iwl_init_otp_access() 908 } while (usedblocks <= trans->trans_cfg->base_params->max_ll_items); in iwl_find_otp_image() 941 sz = trans->trans_cfg->base_params->eeprom_size; in iwl_read_eeprom() 976 if (!trans->trans_cfg->base_params->shadow_ram_support) { in iwl_read_eeprom()
|