/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-io.h | 11 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val); 12 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val); 13 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val); 14 u32 iwl_read32(struct iwl_trans *trans, u32 ofs); 16 static inline void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_set_bit() 21 static inline void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_clear_bit() 26 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, 28 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, 31 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg); 32 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value); [all …]
|
D | iwl-trans.h | 438 struct iwl_trans; 550 int (*start_hw)(struct iwl_trans *iwl_trans); 551 void (*op_mode_leave)(struct iwl_trans *iwl_trans); 552 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw, 554 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr); 555 void (*stop_device)(struct iwl_trans *trans); 557 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset); 558 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status, 561 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd); 563 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb, [all …]
|
D | iwl-scd.h | 13 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans, in iwl_scd_txq_set_chain() 19 static inline void iwl_scd_txq_enable_agg(struct iwl_trans *trans, in iwl_scd_txq_enable_agg() 25 static inline void iwl_scd_txq_disable_agg(struct iwl_trans *trans, in iwl_scd_txq_disable_agg() 31 static inline void iwl_scd_disable_agg(struct iwl_trans *trans) in iwl_scd_disable_agg() 36 static inline void iwl_scd_activate_fifos(struct iwl_trans *trans) in iwl_scd_activate_fifos() 41 static inline void iwl_scd_deactivate_fifos(struct iwl_trans *trans) in iwl_scd_deactivate_fifos() 46 static inline void iwl_scd_enable_set_active(struct iwl_trans *trans, in iwl_scd_enable_set_active() 76 static inline void iwl_scd_txq_set_inactive(struct iwl_trans *trans, in iwl_scd_txq_set_inactive()
|
D | iwl-io.c | 17 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() 24 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() 31 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() 39 u32 iwl_read32(struct iwl_trans *trans, u32 ofs) in iwl_read32() 50 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, in iwl_poll_bit() 66 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg) in iwl_read_direct32() 79 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value) in iwl_write_direct32() 88 void iwl_write_direct64(struct iwl_trans *trans, u64 reg, u64 value) in iwl_write_direct64() 97 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, in iwl_poll_direct_bit() 113 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs) in iwl_read_prph_no_grab() [all …]
|
D | iwl-dbg-tlv.h | 47 struct iwl_trans; 50 void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans); 51 void iwl_dbg_tlv_free(struct iwl_trans *trans); 52 void iwl_dbg_tlv_alloc(struct iwl_trans *trans, const struct iwl_ucode_tlv *tlv, 54 void iwl_dbg_tlv_init(struct iwl_trans *trans); 74 void iwl_dbg_tlv_del_timers(struct iwl_trans *trans);
|
D | iwl-eeprom-read.c | 36 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) in iwl_eeprom_acquire_semaphore() 62 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) in iwl_eeprom_release_semaphore() 68 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) in iwl_eeprom_verify_signature() 104 static void iwl_set_otp_access_absolute(struct iwl_trans *trans) in iwl_set_otp_access_absolute() 112 static int iwl_nvm_is_otp(struct iwl_trans *trans) in iwl_nvm_is_otp() 134 static int iwl_init_otp_access(struct iwl_trans *trans) in iwl_init_otp_access() 159 static int iwl_read_otp_word(struct iwl_trans *trans, u16 addr, in iwl_read_otp_word() 201 static bool iwl_is_otp_empty(struct iwl_trans *trans) in iwl_is_otp_empty() 231 static int iwl_find_otp_image(struct iwl_trans *trans, in iwl_find_otp_image() 288 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) in iwl_read_eeprom()
|
D | iwl-context-info.h | 174 int iwl_pcie_ctxt_info_init(struct iwl_trans *trans, const struct fw_img *fw); 175 void iwl_pcie_ctxt_info_free(struct iwl_trans *trans); 176 void iwl_pcie_ctxt_info_free_paging(struct iwl_trans *trans); 177 int iwl_pcie_init_fw_sec(struct iwl_trans *trans, 180 int iwl_pcie_ctxt_info_alloc_dma(struct iwl_trans *trans,
|
D | iwl-nvm-parse.h | 33 iwl_parse_nvm_data(struct iwl_trans *trans, const struct iwl_cfg *cfg, 70 int iwl_read_external_nvm(struct iwl_trans *trans, 82 struct iwl_nvm_data *iwl_get_nvm(struct iwl_trans *trans, 89 iwl_parse_mei_nvm_data(struct iwl_trans *trans, const struct iwl_cfg *cfg,
|
D | iwl-trans.c | 18 struct iwl_trans *iwl_trans_alloc(unsigned int priv_size, in iwl_trans_alloc() 23 struct iwl_trans *trans; in iwl_trans_alloc() 59 int iwl_trans_init(struct iwl_trans *trans) in iwl_trans_init() 127 void iwl_trans_free(struct iwl_trans *trans) in iwl_trans_free() 146 int iwl_trans_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) in iwl_trans_send_cmd() 216 const char *iwl_get_cmd_string(struct iwl_trans *trans, u32 id) in iwl_get_cmd_string()
|
D | iwl-context-info-gen3.h | 260 int iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans, 262 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive); 264 int iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans, 266 int iwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans,
|
D | iwl-drv.h | 54 struct iwl_trans; 66 struct iwl_drv *iwl_drv_start(struct iwl_trans *trans);
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | internal.h | 192 static inline __le16 iwl_get_closed_rb_stts(struct iwl_trans *trans, in iwl_get_closed_rb_stts() 364 struct iwl_trans *trans; 447 IWL_TRANS_GET_PCIE_TRANS(struct iwl_trans *trans) in IWL_TRANS_GET_PCIE_TRANS() 452 static inline void iwl_pcie_clear_irq(struct iwl_trans *trans, int queue) in iwl_pcie_clear_irq() 465 static inline struct iwl_trans * 468 return container_of((void *)trans_pcie, struct iwl_trans, in iwl_trans_pcie_get_trans() 476 struct iwl_trans 480 void iwl_trans_pcie_free(struct iwl_trans *trans); 482 bool __iwl_trans_pcie_grab_nic_access(struct iwl_trans *trans); 490 int iwl_pcie_rx_init(struct iwl_trans *trans); [all …]
|
D | drv.c | 1356 static int get_crf_id(struct iwl_trans *iwl_trans) in get_crf_id() argument 1363 if (iwl_trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in get_crf_id() 1368 if (!iwl_trans_grab_nic_access(iwl_trans)) { in get_crf_id() 1369 IWL_ERR(iwl_trans, "Failed to grab nic access before reading crf id\n"); in get_crf_id() 1375 val = iwl_read_umac_prph_no_grab(iwl_trans, WFPM_CTRL_REG); in get_crf_id() 1377 iwl_write_umac_prph_no_grab(iwl_trans, WFPM_CTRL_REG, val); in get_crf_id() 1380 val = iwl_read_prph_no_grab(iwl_trans, sd_reg_ver_addr); in get_crf_id() 1383 cdb = iwl_read_umac_prph_no_grab(iwl_trans, WFPM_OTP_CFG1_ADDR); in get_crf_id() 1388 iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_JF1 << 12); in get_crf_id() 1391 iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_JF2 << 12); in get_crf_id() [all …]
|
D | trans.c | 36 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans) in iwl_trans_pcie_dump_regs() 130 static int iwl_trans_pcie_sw_reset(struct iwl_trans *trans, in iwl_trans_pcie_sw_reset() 148 static void iwl_pcie_free_fw_monitor(struct iwl_trans *trans) in iwl_pcie_free_fw_monitor() 163 static void iwl_pcie_alloc_fw_monitor_block(struct iwl_trans *trans, in iwl_pcie_alloc_fw_monitor_block() 202 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) in iwl_pcie_alloc_fw_monitor() 222 static u32 iwl_trans_pcie_read_shr(struct iwl_trans *trans, u32 reg) in iwl_trans_pcie_read_shr() 229 static void iwl_trans_pcie_write_shr(struct iwl_trans *trans, u32 reg, u32 val) in iwl_trans_pcie_write_shr() 236 static void iwl_pcie_set_pwr(struct iwl_trans *trans, bool vaux) in iwl_pcie_set_pwr() 254 void iwl_pcie_apm_config(struct iwl_trans *trans) in iwl_pcie_apm_config() 282 static int iwl_pcie_apm_init(struct iwl_trans *trans) in iwl_pcie_apm_init() [all …]
|
D | trans-gen2.c | 20 int iwl_pcie_gen2_apm_init(struct iwl_trans *trans) in iwl_pcie_gen2_apm_init() 59 static void iwl_pcie_gen2_apm_stop(struct iwl_trans *trans, bool op_mode_leave) in iwl_pcie_gen2_apm_stop() 98 static void iwl_trans_pcie_fw_reset_handshake(struct iwl_trans *trans) in iwl_trans_pcie_fw_reset_handshake() 128 void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) in _iwl_trans_pcie_gen2_stop_device() 205 void iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) in iwl_trans_pcie_gen2_stop_device() 222 static int iwl_pcie_gen2_nic_init(struct iwl_trans *trans) in iwl_pcie_gen2_nic_init() 250 static void iwl_pcie_get_rf_name(struct iwl_trans *trans) in iwl_pcie_get_rf_name() 319 void iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans, u32 scd_addr) in iwl_trans_pcie_gen2_fw_alive() 350 static void iwl_pcie_set_ltr(struct iwl_trans *trans) in iwl_pcie_set_ltr() 378 int iwl_trans_pcie_gen2_start_fw(struct iwl_trans *trans, in iwl_trans_pcie_gen2_start_fw()
|
D | rx.c | 144 int iwl_pcie_rx_stop(struct iwl_trans *trans) in iwl_pcie_rx_stop() 166 static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans, in iwl_pcie_rxq_inc_wr_ptr() 203 static void iwl_pcie_rxq_check_wrptr(struct iwl_trans *trans) in iwl_pcie_rxq_check_wrptr() 220 static void iwl_pcie_restock_bd(struct iwl_trans *trans, in iwl_pcie_restock_bd() 244 static void iwl_pcie_rxmq_restock(struct iwl_trans *trans, in iwl_pcie_rxmq_restock() 291 static void iwl_pcie_rxsq_restock(struct iwl_trans *trans, in iwl_pcie_rxsq_restock() 349 void iwl_pcie_rxq_restock(struct iwl_trans *trans, struct iwl_rxq *rxq) in iwl_pcie_rxq_restock() 361 static struct page *iwl_pcie_rx_alloc_page(struct iwl_trans *trans, in iwl_pcie_rx_alloc_page() 429 void iwl_pcie_rxq_alloc_rbs(struct iwl_trans *trans, gfp_t priority, in iwl_pcie_rxq_alloc_rbs() 488 void iwl_pcie_free_rbs_pool(struct iwl_trans *trans) in iwl_pcie_free_rbs_pool() [all …]
|
D | ctxt-info.c | 12 static void *_iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans, in _iwl_pcie_ctxt_info_dma_alloc_coherent() 41 static void *iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans, in iwl_pcie_ctxt_info_dma_alloc_coherent() 48 int iwl_pcie_ctxt_info_alloc_dma(struct iwl_trans *trans, in iwl_pcie_ctxt_info_alloc_dma() 63 void iwl_pcie_ctxt_info_free_paging(struct iwl_trans *trans) in iwl_pcie_ctxt_info_free_paging() 84 int iwl_pcie_init_fw_sec(struct iwl_trans *trans, in iwl_pcie_init_fw_sec() 163 int iwl_pcie_ctxt_info_init(struct iwl_trans *trans, in iwl_pcie_ctxt_info_init() 249 void iwl_pcie_ctxt_info_free(struct iwl_trans *trans) in iwl_pcie_ctxt_info_free()
|
D | tx.c | 46 int iwl_pcie_alloc_dma_ptr(struct iwl_trans *trans, in iwl_pcie_alloc_dma_ptr() 60 void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, struct iwl_dma_ptr *ptr) in iwl_pcie_free_dma_ptr() 72 static void iwl_pcie_txq_inc_wr_ptr(struct iwl_trans *trans, in iwl_pcie_txq_inc_wr_ptr() 116 void iwl_pcie_txq_check_wrptrs(struct iwl_trans *trans) in iwl_pcie_txq_check_wrptrs() 135 static inline void iwl_pcie_tfd_set_tb(struct iwl_trans *trans, void *tfd, in iwl_pcie_tfd_set_tb() 151 static int iwl_pcie_txq_build_tfd(struct iwl_trans *trans, struct iwl_txq *txq, in iwl_pcie_txq_build_tfd() 180 static void iwl_pcie_clear_cmd_in_flight(struct iwl_trans *trans) in iwl_pcie_clear_cmd_in_flight() 203 static void iwl_pcie_txq_unmap(struct iwl_trans *trans, int txq_id) in iwl_pcie_txq_unmap() 253 static void iwl_pcie_txq_free(struct iwl_trans *trans, int txq_id) in iwl_pcie_txq_free() 294 void iwl_pcie_tx_start(struct iwl_trans *trans, u32 scd_base_addr) in iwl_pcie_tx_start() [all …]
|
D | ctxt-info-gen3.c | 12 iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans, in iwl_pcie_ctxt_info_dbg_enable() 78 int iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans, in iwl_pcie_ctxt_info_gen3_init() 241 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive) in iwl_pcie_ctxt_info_gen3_free() 280 int iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans, in iwl_trans_pcie_ctx_info_gen3_set_pnvm() 313 int iwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans, in iwl_trans_pcie_ctx_info_gen3_set_reduce_power()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/queue/ |
D | tx.h | 27 void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id); 29 static inline void iwl_wake_queue(struct iwl_trans *trans, in iwl_wake_queue() 38 static inline void *iwl_txq_get_tfd(struct iwl_trans *trans, in iwl_txq_get_tfd() 47 int iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, 59 int iwl_txq_space(struct iwl_trans *trans, const struct iwl_txq *q); 61 static inline void iwl_txq_stop(struct iwl_trans *trans, struct iwl_txq *txq) in iwl_txq_stop() 76 static inline int iwl_txq_inc_wrap(struct iwl_trans *trans, int index) in iwl_txq_inc_wrap() 86 static inline int iwl_txq_dec_wrap(struct iwl_trans *trans, int index) in iwl_txq_dec_wrap() 103 void iwl_txq_free_tso_page(struct iwl_trans *trans, struct sk_buff *skb); 105 void iwl_txq_log_scd_error(struct iwl_trans *trans, struct iwl_txq *txq); [all …]
|
D | tx.c | 21 static void iwl_pcie_gen2_update_byte_tbl(struct iwl_trans *trans, in iwl_pcie_gen2_update_byte_tbl() 68 void iwl_txq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_txq *txq) in iwl_txq_inc_wr_ptr() 81 static u8 iwl_txq_gen2_get_num_tbs(struct iwl_trans *trans, in iwl_txq_gen2_get_num_tbs() 87 void iwl_txq_gen2_tfd_unmap(struct iwl_trans *trans, struct iwl_cmd_meta *meta, in iwl_txq_gen2_tfd_unmap() 117 void iwl_txq_gen2_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq) in iwl_txq_gen2_free_tfd() 145 int iwl_txq_gen2_set_tb(struct iwl_trans *trans, struct iwl_tfh_tfd *tfd, in iwl_txq_gen2_set_tb() 181 static struct page *get_workaround_page(struct iwl_trans *trans, in get_workaround_page() 206 static int iwl_txq_gen2_set_tb_with_wa(struct iwl_trans *trans, in iwl_txq_gen2_set_tb_with_wa() 282 struct iwl_tso_hdr_page *get_page_hdr(struct iwl_trans *trans, size_t len, in get_page_hdr() 327 static int iwl_txq_gen2_build_amsdu(struct iwl_trans *trans, in iwl_txq_gen2_build_amsdu() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/ |
D | uefi.h | 41 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len); 42 void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len); 45 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_pnvm() 51 void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_reduced_power() 58 void iwl_uefi_get_sgom_table(struct iwl_trans *trans, struct iwl_fw_runtime *fwrt); 61 void iwl_uefi_get_sgom_table(struct iwl_trans *trans, struct iwl_fw_runtime *fwrt) in iwl_uefi_get_sgom_table()
|
D | pnvm.c | 23 struct iwl_trans *trans = (struct iwl_trans *)data; in iwl_pnvm_complete_fn() 33 static int iwl_pnvm_handle_section(struct iwl_trans *trans, const u8 *data, in iwl_pnvm_handle_section() 173 static int iwl_pnvm_parse(struct iwl_trans *trans, const u8 *data, in iwl_pnvm_parse() 230 static int iwl_pnvm_get_from_fs(struct iwl_trans *trans, u8 **data, size_t *len) in iwl_pnvm_get_from_fs() 258 int iwl_pnvm_load(struct iwl_trans *trans, in iwl_pnvm_load()
|
D | uefi.c | 20 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_pnvm() 58 static void *iwl_uefi_reduce_power_section(struct iwl_trans *trans, in iwl_uefi_reduce_power_section() 143 static void *iwl_uefi_reduce_power_parse(struct iwl_trans *trans, in iwl_uefi_reduce_power_parse() 201 void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_reduced_power() 282 void iwl_uefi_get_sgom_table(struct iwl_trans *trans, in iwl_uefi_get_sgom_table()
|
D | pnvm.h | 17 int iwl_pnvm_load(struct iwl_trans *trans, 21 void iwl_pnvm_get_fs_name(struct iwl_trans *trans, in iwl_pnvm_get_fs_name()
|