| /linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
| A D | internal.h | 340 struct iwl_trans *trans; 440 static inline struct iwl_trans * 451 struct iwl_trans 465 int iwl_pcie_rx_init(struct iwl_trans *trans); 471 int iwl_pcie_rx_stop(struct iwl_trans *trans); 472 void iwl_pcie_rx_free(struct iwl_trans *trans); 482 int iwl_pcie_alloc_ict(struct iwl_trans *trans); 483 void iwl_pcie_free_ict(struct iwl_trans *trans); 490 int iwl_pcie_tx_init(struct iwl_trans *trans); 492 int iwl_pcie_tx_stop(struct iwl_trans *trans); [all …]
|
| A D | drv.c | 1249 static int get_crf_id(struct iwl_trans *iwl_trans) in get_crf_id() argument 1311 IWL_ERR(iwl_trans, in get_crf_id() 1398 struct iwl_trans *iwl_trans; in iwl_pci_probe() local 1417 if (IS_ERR(iwl_trans)) in iwl_pci_probe() 1440 iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID); in iwl_pci_probe() 1449 !CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) && get_crf_id(iwl_trans)) { in iwl_pci_probe() 1542 if (!iwl_trans->cfg) { in iwl_pci_probe() 1546 iwl_trans->hw_rev, iwl_trans->hw_rf_id); in iwl_pci_probe() 1554 if (!iwl_trans->name) in iwl_pci_probe() 1555 iwl_trans->name = iwl_trans->cfg->name; in iwl_pci_probe() [all …]
|
| A D | trans.c | 35 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans) in iwl_trans_pcie_dump_regs() 247 void iwl_pcie_apm_config(struct iwl_trans *trans) in iwl_pcie_apm_config() 1154 struct iwl_trans *trans = trans_pcie->trans; in iwl_pcie_conf_msix_hw() 1185 struct iwl_trans *trans = trans_pcie->trans; in iwl_pcie_init_msix() 1599 struct iwl_trans *trans, in iwl_pcie_set_interrupt_capa() 2495 struct iwl_trans *trans; 2540 struct iwl_trans *trans = priv->trans; in iwl_dbgfs_tx_queue_seq_show() 2588 struct iwl_trans *trans = file->private_data; in iwl_dbgfs_rx_queue_read() 2639 struct iwl_trans *trans = file->private_data; in iwl_dbgfs_interrupt_read() 2783 struct iwl_trans *trans = inode->i_private; in iwl_dbgfs_monitor_data_open() [all …]
|
| A D | rx.c | 144 int iwl_pcie_rx_stop(struct iwl_trans *trans) in iwl_pcie_rx_stop() 990 struct iwl_trans *trans; in iwl_pcie_napi_poll() 1017 struct iwl_trans *trans; in iwl_pcie_napi_poll_msix() 1132 int iwl_pcie_rx_init(struct iwl_trans *trans) in iwl_pcie_rx_init() 1166 void iwl_pcie_rx_free(struct iwl_trans *trans) in iwl_pcie_rx_free() 1603 struct iwl_trans *trans = trans_pcie->trans; in iwl_pcie_irq_rx_msix_handler() 1787 struct iwl_trans *trans = dev_id; in iwl_pcie_irq_handler() 2042 void iwl_pcie_free_ict(struct iwl_trans *trans) in iwl_pcie_free_ict() 2060 int iwl_pcie_alloc_ict(struct iwl_trans *trans) in iwl_pcie_alloc_ict() 2123 struct iwl_trans *trans = data; in iwl_pcie_isr() [all …]
|
| A 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() 125 void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) in _iwl_trans_pcie_gen2_stop_device() 204 void iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) in iwl_trans_pcie_gen2_stop_device() 221 static int iwl_pcie_gen2_nic_init(struct iwl_trans *trans) in iwl_pcie_gen2_nic_init() 249 static void iwl_pcie_get_rf_name(struct iwl_trans *trans) in iwl_pcie_get_rf_name() 318 void iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans, u32 scd_addr) in iwl_trans_pcie_gen2_fw_alive() 349 static void iwl_pcie_set_ltr(struct iwl_trans *trans) in iwl_pcie_set_ltr() 377 int iwl_trans_pcie_gen2_start_fw(struct iwl_trans *trans, in iwl_trans_pcie_gen2_start_fw()
|
| A D | tx.c | 46 int iwl_pcie_alloc_dma_ptr(struct iwl_trans *trans, in iwl_pcie_alloc_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() 352 void iwl_trans_pcie_tx_reset(struct iwl_trans *trans) in iwl_trans_pcie_tx_reset() 392 static void iwl_pcie_tx_stop_fh(struct iwl_trans *trans) in iwl_pcie_tx_stop_fh() 425 int iwl_pcie_tx_stop(struct iwl_trans *trans) in iwl_pcie_tx_stop() 462 void iwl_pcie_tx_free(struct iwl_trans *trans) in iwl_pcie_tx_free() 491 static int iwl_pcie_tx_alloc(struct iwl_trans *trans) in iwl_pcie_tx_alloc() 562 int iwl_pcie_tx_init(struct iwl_trans *trans) in iwl_pcie_tx_init() 901 int iwl_pcie_enqueue_hcmd(struct iwl_trans *trans, in iwl_pcie_enqueue_hcmd() [all …]
|
| A 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()
|
| A 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() 238 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive) in iwl_pcie_ctxt_info_gen3_free() 277 int iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans, in iwl_trans_pcie_ctx_info_gen3_set_pnvm() 310 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/drivers/net/wireless/intel/iwlwifi/ |
| A 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); 26 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, 31 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg); 37 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs); 47 int iwl_poll_prph_bit(struct iwl_trans *trans, u32 addr, 53 void iwl_force_nmi(struct iwl_trans *trans); 55 int iwl_finish_nic_init(struct iwl_trans *trans); [all …]
|
| A D | iwl-trans.h | 428 struct iwl_trans; 540 int (*start_hw)(struct iwl_trans *iwl_trans); 541 void (*op_mode_leave)(struct iwl_trans *iwl_trans); 566 int (*txq_alloc)(struct iwl_trans *trans, 593 void (*configure)(struct iwl_trans *trans, 596 void (*sw_reset)(struct iwl_trans *trans); 607 void (*sync_nmi)(struct iwl_trans *trans); 868 struct iwl_trans *trans; 960 struct iwl_trans { struct 1208 iwl_trans_txq_alloc(struct iwl_trans *trans, in iwl_trans_txq_alloc() [all …]
|
| A 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() 136 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs) in iwl_read_prph() 158 int iwl_poll_prph_bit(struct iwl_trans *trans, u32 addr, in iwl_poll_prph_bit() 208 void iwl_force_nmi(struct iwl_trans *trans) in iwl_force_nmi() 352 int iwl_dump_fh(struct iwl_trans *trans, char **buf) in iwl_dump_fh() [all …]
|
| A 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()
|
| A D | iwl-dbg-tlv.h | 45 struct iwl_trans; 48 void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans); 49 void iwl_dbg_tlv_free(struct iwl_trans *trans); 50 void iwl_dbg_tlv_alloc(struct iwl_trans *trans, const struct iwl_ucode_tlv *tlv, 52 void iwl_dbg_tlv_init(struct iwl_trans *trans); 72 void iwl_dbg_tlv_del_timers(struct iwl_trans *trans);
|
| A D | iwl-eeprom-read.c | 40 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) in iwl_eeprom_acquire_semaphore() 66 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) in iwl_eeprom_release_semaphore() 72 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) in iwl_eeprom_verify_signature() 108 static void iwl_set_otp_access_absolute(struct iwl_trans *trans) in iwl_set_otp_access_absolute() 116 static int iwl_nvm_is_otp(struct iwl_trans *trans) in iwl_nvm_is_otp() 138 static int iwl_init_otp_access(struct iwl_trans *trans) in iwl_init_otp_access() 163 static int iwl_read_otp_word(struct iwl_trans *trans, u16 addr, in iwl_read_otp_word() 205 static bool iwl_is_otp_empty(struct iwl_trans *trans) in iwl_is_otp_empty() 235 static int iwl_find_otp_image(struct iwl_trans *trans, in iwl_find_otp_image() 292 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) in iwl_read_eeprom()
|
| A 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,
|
| A 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() 123 void iwl_trans_free(struct iwl_trans *trans) in iwl_trans_free() 142 int iwl_trans_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) in iwl_trans_send_cmd() 212 const char *iwl_get_cmd_string(struct iwl_trans *trans, u32 id) in iwl_get_cmd_string()
|
| A D | iwl-context-info-gen3.h | 258 int iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans, 260 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive); 262 int iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans, 264 int iwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans,
|
| A D | iwl-nvm-parse.h | 32 iwl_parse_nvm_data(struct iwl_trans *trans, const struct iwl_cfg *cfg, 69 int iwl_read_external_nvm(struct iwl_trans *trans, 81 struct iwl_nvm_data *iwl_get_nvm(struct iwl_trans *trans,
|
| A D | iwl-dbg-tlv.c | 97 static int iwl_dbg_tlv_alloc_debug_info(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_debug_info() 111 static int iwl_dbg_tlv_alloc_buf_alloc(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_buf_alloc() 150 static int iwl_dbg_tlv_alloc_hcmd(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_hcmd() 174 static int iwl_dbg_tlv_alloc_region(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_region() 230 static int iwl_dbg_tlv_alloc_trigger(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_trigger() 266 static int iwl_dbg_tlv_config_set(struct iwl_trans *trans, in iwl_dbg_tlv_config_set() 290 static int (*dbg_tlv_alloc[])(struct iwl_trans *trans, 347 void iwl_dbg_tlv_del_timers(struct iwl_trans *trans) in iwl_dbg_tlv_del_timers() 360 static void iwl_dbg_tlv_fragments_free(struct iwl_trans *trans, in iwl_dbg_tlv_fragments_free() 388 void iwl_dbg_tlv_free(struct iwl_trans *trans) in iwl_dbg_tlv_free() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/queue/ |
| A 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() 107 int iwl_txq_gen2_set_tb(struct iwl_trans *trans, 111 void iwl_txq_gen2_tfd_unmap(struct iwl_trans *trans, 115 int iwl_txq_dyn_alloc(struct iwl_trans *trans, 123 void iwl_txq_dyn_free(struct iwl_trans *trans, int queue); 126 void iwl_txq_gen2_tx_free(struct iwl_trans *trans); 168 void iwl_txq_gen1_tfd_unmap(struct iwl_trans *trans, 171 void iwl_txq_gen1_inval_byte_cnt_tbl(struct iwl_trans *trans, [all …]
|
| A D | tx.c | 19 static void iwl_pcie_gen2_update_byte_tbl(struct iwl_trans *trans, in iwl_pcie_gen2_update_byte_tbl() 79 static u8 iwl_txq_gen2_get_num_tbs(struct iwl_trans *trans, in iwl_txq_gen2_get_num_tbs() 325 static int iwl_txq_gen2_build_amsdu(struct iwl_trans *trans, in iwl_txq_gen2_build_amsdu() 540 iwl_tfh_tfd *iwl_txq_gen2_build_tx(struct iwl_trans *trans, in iwl_txq_gen2_build_tx() 801 void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id) in iwl_txq_gen2_unmap() 1005 struct iwl_trans *trans = txq->trans; in iwl_txq_stuck_timer() 1085 static int iwl_txq_dyn_alloc_dma(struct iwl_trans *trans, in iwl_txq_dyn_alloc_dma() 1224 void iwl_txq_dyn_free(struct iwl_trans *trans, int queue) in iwl_txq_dyn_free() 1247 void iwl_txq_gen2_tx_free(struct iwl_trans *trans) in iwl_txq_gen2_tx_free() 1332 void iwl_txq_gen1_tfd_unmap(struct iwl_trans *trans, in iwl_txq_gen1_tfd_unmap() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | uefi.h | 29 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len); 30 void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len); 33 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_pnvm() 39 void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_reduced_power()
|
| A 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()
|
| A D | uefi.c | 19 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_pnvm() 68 static void *iwl_uefi_reduce_power_section(struct iwl_trans *trans, in iwl_uefi_reduce_power_section() 153 static void *iwl_uefi_reduce_power_parse(struct iwl_trans *trans, in iwl_uefi_reduce_power_parse() 211 void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_reduced_power()
|
| A 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()
|