/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | internal.h | 254 static inline int iwl_queue_inc_wrap(struct iwl_trans *trans, int index) in iwl_queue_inc_wrap() 264 static inline __le16 iwl_get_closed_rb_stts(struct iwl_trans *trans, in iwl_get_closed_rb_stts() 282 static inline int iwl_queue_dec_wrap(struct iwl_trans *trans, int index) in iwl_queue_dec_wrap() 529 struct iwl_trans *trans; 610 IWL_TRANS_GET_PCIE_TRANS(struct iwl_trans *trans) in IWL_TRANS_GET_PCIE_TRANS() 615 static inline void iwl_pcie_clear_irq(struct iwl_trans *trans, in iwl_pcie_clear_irq() 629 static inline struct iwl_trans * 632 return container_of((void *)trans_pcie, struct iwl_trans, in iwl_trans_pcie_get_trans() 640 struct iwl_trans 644 void iwl_trans_pcie_free(struct iwl_trans *trans); [all …]
|
D | drv.c | 997 struct iwl_trans *iwl_trans; in iwl_pci_probe() local 1001 iwl_trans = iwl_trans_pcie_alloc(pdev, ent, &cfg->trans); in iwl_pci_probe() 1002 if (IS_ERR(iwl_trans)) in iwl_pci_probe() 1003 return PTR_ERR(iwl_trans); in iwl_pci_probe() 1006 iwl_trans->trans_cfg = &cfg->trans; in iwl_pci_probe() 1008 if (WARN_ONCE(!iwl_trans->trans_cfg->csr, in iwl_pci_probe() 1029 (iwl_trans->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_7265D) in iwl_pci_probe() 1032 iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID); in iwl_pci_probe() 1035 if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_TY) { in iwl_pci_probe() 1037 } else if (CSR_HW_RF_ID_TYPE_CHIP_ID(iwl_trans->hw_rf_id) == in iwl_pci_probe() [all …]
|
D | trans.c | 89 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans) in iwl_trans_pcie_dump_regs() 183 static void iwl_trans_pcie_sw_reset(struct iwl_trans *trans) in iwl_trans_pcie_sw_reset() 191 static void iwl_pcie_free_fw_monitor(struct iwl_trans *trans) in iwl_pcie_free_fw_monitor() 206 static void iwl_pcie_alloc_fw_monitor_block(struct iwl_trans *trans, in iwl_pcie_alloc_fw_monitor_block() 242 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) in iwl_pcie_alloc_fw_monitor() 266 static u32 iwl_trans_pcie_read_shr(struct iwl_trans *trans, u32 reg) in iwl_trans_pcie_read_shr() 273 static void iwl_trans_pcie_write_shr(struct iwl_trans *trans, u32 reg, u32 val) in iwl_trans_pcie_write_shr() 280 static void iwl_pcie_set_pwr(struct iwl_trans *trans, bool vaux) in iwl_pcie_set_pwr() 298 void iwl_pcie_apm_config(struct iwl_trans *trans) in iwl_pcie_apm_config() 331 static int iwl_pcie_apm_init(struct iwl_trans *trans) in iwl_pcie_apm_init() [all …]
|
D | trans-gen2.c | 60 static int iwl_pcie_gen2_force_power_gating(struct iwl_trans *trans) in iwl_pcie_gen2_force_power_gating() 83 int iwl_pcie_gen2_apm_init(struct iwl_trans *trans) in iwl_pcie_gen2_apm_init() 129 static void iwl_pcie_gen2_apm_stop(struct iwl_trans *trans, bool op_mode_leave) in iwl_pcie_gen2_apm_stop() 164 void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) in _iwl_trans_pcie_gen2_stop_device() 243 void iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) in iwl_trans_pcie_gen2_stop_device() 256 static int iwl_pcie_gen2_nic_init(struct iwl_trans *trans) in iwl_pcie_gen2_nic_init() 284 void iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans, u32 scd_addr) in iwl_trans_pcie_gen2_fw_alive() 309 int iwl_trans_pcie_gen2_start_fw(struct iwl_trans *trans, in iwl_trans_pcie_gen2_start_fw()
|
D | rx.c | 201 int iwl_pcie_rx_stop(struct iwl_trans *trans) in iwl_pcie_rx_stop() 223 static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans, in iwl_pcie_rxq_inc_wr_ptr() 261 static void iwl_pcie_rxq_check_wrptr(struct iwl_trans *trans) in iwl_pcie_rxq_check_wrptr() 278 static void iwl_pcie_restock_bd(struct iwl_trans *trans, in iwl_pcie_restock_bd() 302 static void iwl_pcie_rxmq_restock(struct iwl_trans *trans, in iwl_pcie_rxmq_restock() 348 static void iwl_pcie_rxsq_restock(struct iwl_trans *trans, in iwl_pcie_rxsq_restock() 406 void iwl_pcie_rxq_restock(struct iwl_trans *trans, struct iwl_rxq *rxq) in iwl_pcie_rxq_restock() 418 static struct page *iwl_pcie_rx_alloc_page(struct iwl_trans *trans, in iwl_pcie_rx_alloc_page() 455 void iwl_pcie_rxq_alloc_rbs(struct iwl_trans *trans, gfp_t priority, in iwl_pcie_rxq_alloc_rbs() 512 void iwl_pcie_free_rbs_pool(struct iwl_trans *trans) in iwl_pcie_free_rbs_pool() [all …]
|
D | tx-gen2.c | 65 void iwl_pcie_gen2_tx_stop(struct iwl_trans *trans) in iwl_pcie_gen2_tx_stop() 94 struct iwl_trans *trans = iwl_trans_pcie_get_trans(trans_pcie); in iwl_pcie_gen2_update_byte_tbl() 135 void iwl_pcie_gen2_txq_inc_wr_ptr(struct iwl_trans *trans, in iwl_pcie_gen2_txq_inc_wr_ptr() 149 static u8 iwl_pcie_gen2_get_num_tbs(struct iwl_trans *trans, in iwl_pcie_gen2_get_num_tbs() 155 static void iwl_pcie_gen2_tfd_unmap(struct iwl_trans *trans, in iwl_pcie_gen2_tfd_unmap() 187 static void iwl_pcie_gen2_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq) in iwl_pcie_gen2_free_tfd() 216 static int iwl_pcie_gen2_set_tb(struct iwl_trans *trans, in iwl_pcie_gen2_set_tb() 243 static int iwl_pcie_gen2_build_amsdu(struct iwl_trans *trans, in iwl_pcie_gen2_build_amsdu() 372 iwl_tfh_tfd *iwl_pcie_gen2_build_tx_amsdu(struct iwl_trans *trans, in iwl_pcie_gen2_build_tx_amsdu() 422 static int iwl_pcie_gen2_tx_add_frags(struct iwl_trans *trans, in iwl_pcie_gen2_tx_add_frags() [all …]
|
D | tx.c | 105 int iwl_queue_space(struct iwl_trans *trans, const struct iwl_txq *q) in iwl_queue_space() 160 int iwl_pcie_alloc_dma_ptr(struct iwl_trans *trans, in iwl_pcie_alloc_dma_ptr() 174 void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, struct iwl_dma_ptr *ptr) in iwl_pcie_free_dma_ptr() 187 struct iwl_trans *trans = iwl_trans_pcie_get_trans(trans_pcie); in iwl_pcie_txq_stuck_timer() 205 static void iwl_pcie_txq_update_byte_cnt_tbl(struct iwl_trans *trans, in iwl_pcie_txq_update_byte_cnt_tbl() 250 static void iwl_pcie_txq_inval_byte_cnt_tbl(struct iwl_trans *trans, in iwl_pcie_txq_inval_byte_cnt_tbl() 280 static void iwl_pcie_txq_inc_wr_ptr(struct iwl_trans *trans, in iwl_pcie_txq_inc_wr_ptr() 325 void iwl_pcie_txq_check_wrptrs(struct iwl_trans *trans) in iwl_pcie_txq_check_wrptrs() 345 static inline dma_addr_t iwl_pcie_tfd_tb_get_addr(struct iwl_trans *trans, in iwl_pcie_tfd_tb_get_addr() 374 static inline void iwl_pcie_tfd_set_tb(struct iwl_trans *trans, void *tfd, in iwl_pcie_tfd_set_tb() [all …]
|
D | ctxt-info.c | 60 void iwl_pcie_ctxt_info_free_paging(struct iwl_trans *trans) in iwl_pcie_ctxt_info_free_paging() 81 int iwl_pcie_init_fw_sec(struct iwl_trans *trans, in iwl_pcie_init_fw_sec() 157 int iwl_pcie_ctxt_info_init(struct iwl_trans *trans, in iwl_pcie_ctxt_info_init() 240 void iwl_pcie_ctxt_info_free(struct iwl_trans *trans) in iwl_pcie_ctxt_info_free()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-io.h | 64 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val); 65 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val); 66 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val); 67 u32 iwl_read32(struct iwl_trans *trans, u32 ofs); 69 static inline void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_set_bit() 74 static inline void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_clear_bit() 79 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, 81 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, 84 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg); 85 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value); [all …]
|
D | iwl-trans.h | 426 struct iwl_trans; 533 int (*start_hw)(struct iwl_trans *iwl_trans); 534 void (*op_mode_leave)(struct iwl_trans *iwl_trans); 535 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw, 537 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr); 538 void (*stop_device)(struct iwl_trans *trans); 540 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset); 541 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status, 544 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd); 546 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb, [all …]
|
D | iwl-scd.h | 67 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans, in iwl_scd_txq_set_chain() 73 static inline void iwl_scd_txq_enable_agg(struct iwl_trans *trans, in iwl_scd_txq_enable_agg() 79 static inline void iwl_scd_txq_disable_agg(struct iwl_trans *trans, in iwl_scd_txq_disable_agg() 85 static inline void iwl_scd_disable_agg(struct iwl_trans *trans) in iwl_scd_disable_agg() 90 static inline void iwl_scd_activate_fifos(struct iwl_trans *trans) in iwl_scd_activate_fifos() 95 static inline void iwl_scd_deactivate_fifos(struct iwl_trans *trans) in iwl_scd_deactivate_fifos() 100 static inline void iwl_scd_enable_set_active(struct iwl_trans *trans, in iwl_scd_enable_set_active() 130 static inline void iwl_scd_txq_set_inactive(struct iwl_trans *trans, in iwl_scd_txq_set_inactive()
|
D | iwl-io.c | 103 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() 110 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() 117 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() 125 u32 iwl_read32(struct iwl_trans *trans, u32 ofs) in iwl_read32() 136 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, in iwl_poll_bit() 152 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg) in iwl_read_direct32() 165 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value) in iwl_write_direct32() 176 void iwl_write_direct64(struct iwl_trans *trans, u64 reg, u64 value) in iwl_write_direct64() 187 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, in iwl_poll_direct_bit() 203 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs) in iwl_read_prph_no_grab() [all …]
|
D | iwl-dbg-tlv.h | 85 struct iwl_trans; 88 void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans); 89 void iwl_dbg_tlv_free(struct iwl_trans *trans); 90 void iwl_dbg_tlv_alloc(struct iwl_trans *trans, struct iwl_ucode_tlv *tlv, 95 void iwl_dbg_tlv_del_timers(struct iwl_trans *trans);
|
D | iwl-eeprom-read.c | 94 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) in iwl_eeprom_acquire_semaphore() 120 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) in iwl_eeprom_release_semaphore() 126 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) in iwl_eeprom_verify_signature() 162 static void iwl_set_otp_access_absolute(struct iwl_trans *trans) in iwl_set_otp_access_absolute() 170 static int iwl_nvm_is_otp(struct iwl_trans *trans) in iwl_nvm_is_otp() 192 static int iwl_init_otp_access(struct iwl_trans *trans) in iwl_init_otp_access() 217 static int iwl_read_otp_word(struct iwl_trans *trans, u16 addr, in iwl_read_otp_word() 259 static bool iwl_is_otp_empty(struct iwl_trans *trans) in iwl_is_otp_empty() 289 static int iwl_find_otp_image(struct iwl_trans *trans, in iwl_find_otp_image() 346 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) in iwl_read_eeprom()
|
D | iwl-dbg-tlv.c | 121 void iwl_dbg_tlv_alloc(struct iwl_trans *trans, struct iwl_ucode_tlv *tlv, in iwl_dbg_tlv_alloc() 154 void iwl_dbg_tlv_del_timers(struct iwl_trans *trans) in iwl_dbg_tlv_del_timers() 160 void iwl_dbg_tlv_free(struct iwl_trans *trans) in iwl_dbg_tlv_free() 165 static int iwl_dbg_tlv_parse_bin(struct iwl_trans *trans, const u8 *data, in iwl_dbg_tlv_parse_bin() 191 void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans) in iwl_dbg_tlv_load_bin()
|
D | iwl-context-info.h | 222 int iwl_pcie_ctxt_info_init(struct iwl_trans *trans, const struct fw_img *fw); 223 void iwl_pcie_ctxt_info_free(struct iwl_trans *trans); 224 void iwl_pcie_ctxt_info_free_paging(struct iwl_trans *trans); 225 int iwl_pcie_init_fw_sec(struct iwl_trans *trans,
|
D | iwl-trans.c | 67 struct iwl_trans *iwl_trans_alloc(unsigned int priv_size, in iwl_trans_alloc() 71 struct iwl_trans *trans; in iwl_trans_alloc() 105 void iwl_trans_free(struct iwl_trans *trans) in iwl_trans_free() 110 int iwl_trans_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) in iwl_trans_send_cmd() 165 const char *iwl_get_cmd_string(struct iwl_trans *trans, u32 id) in iwl_get_cmd_string()
|
D | iwl-nvm-parse.h | 87 iwl_parse_nvm_data(struct iwl_trans *trans, const struct iwl_cfg *cfg, 123 int iwl_read_external_nvm(struct iwl_trans *trans, 135 struct iwl_nvm_data *iwl_get_nvm(struct iwl_trans *trans,
|
D | iwl-drv.h | 110 struct iwl_trans; 122 struct iwl_drv *iwl_drv_start(struct iwl_trans *trans);
|
D | iwl-eeprom-parse.h | 119 iwl_parse_eeprom_data(struct iwl_trans *trans, const struct iwl_cfg *cfg, 126 void iwl_init_ht_hw_capab(struct iwl_trans *trans,
|
D | iwl-context-info-gen3.h | 282 int iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans, 284 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans);
|
D | iwl-op-mode.h | 71 struct iwl_trans; 145 struct iwl_op_mode *(*start)(struct iwl_trans *trans,
|
D | iwl-eeprom-read.h | 63 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
|
D | iwl-phy-db.h | 67 struct iwl_phy_db *iwl_phy_db_init(struct iwl_trans *trans);
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/ |
D | runtime.h | 123 struct iwl_trans *trans; 185 void iwl_fw_runtime_init(struct iwl_fw_runtime *fwrt, struct iwl_trans *trans,
|