Home
last modified time | relevance | path

Searched refs:iwl_trans (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/
A Diwl-io.h11 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 Diwl-trans.h438 struct iwl_trans;
550 int (*start_hw)(struct iwl_trans *iwl_trans);
551 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
555 void (*stop_device)(struct iwl_trans *trans);
602 void (*configure)(struct iwl_trans *trans,
616 void (*sync_nmi)(struct iwl_trans *trans);
621 int (*imr_dma_data)(struct iwl_trans *trans,
906 struct iwl_trans *trans;
1007 struct iwl_trans { struct
1261 iwl_trans_txq_alloc(struct iwl_trans *trans, in iwl_trans_txq_alloc()
[all …]
A Diwl-scd.h13 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 Diwl-io.c17 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()
160 int iwl_poll_prph_bit(struct iwl_trans *trans, u32 addr, in iwl_poll_prph_bit()
210 void iwl_force_nmi(struct iwl_trans *trans) in iwl_force_nmi()
354 int iwl_dump_fh(struct iwl_trans *trans, char **buf) in iwl_dump_fh()
[all …]
A Diwl-dbg-tlv.h47 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);
A Diwl-eeprom-read.c36 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()
A Diwl-context-info.h174 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 Diwl-nvm-parse.h33 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,
A Diwl-context-info-gen3.h276 int iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans,
278 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive);
280 int iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans,
282 int iwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans,
284 int iwl_trans_pcie_ctx_info_gen3_set_step(struct iwl_trans *trans,
A Diwl-trans.c18 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()
A Diwl-drv.h54 struct iwl_trans;
66 struct iwl_drv *iwl_drv_start(struct iwl_trans *trans);
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/pcie/
A Dinternal.h364 struct iwl_trans *trans;
465 static inline struct iwl_trans *
476 struct iwl_trans
490 int iwl_pcie_rx_init(struct iwl_trans *trans);
496 int iwl_pcie_rx_stop(struct iwl_trans *trans);
497 void iwl_pcie_rx_free(struct iwl_trans *trans);
507 int iwl_pcie_alloc_ict(struct iwl_trans *trans);
508 void iwl_pcie_free_ict(struct iwl_trans *trans);
515 int iwl_pcie_tx_init(struct iwl_trans *trans);
517 int iwl_pcie_tx_stop(struct iwl_trans *trans);
[all …]
A Ddrv.c1355 static int get_crf_id(struct iwl_trans *iwl_trans) in get_crf_id() argument
1378 iwl_trans->hw_crf_id = iwl_read_prph_no_grab(iwl_trans, sd_reg_ver_addr); in get_crf_id()
1393 static int map_crf_id(struct iwl_trans *iwl_trans) in map_crf_id() argument
1424 IWL_ERR(iwl_trans, in map_crf_id()
1513 struct iwl_trans *iwl_trans; in iwl_pci_probe() local
1558 iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID); in iwl_pci_probe()
1568 !CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) && map_crf_id(iwl_trans)) { in iwl_pci_probe()
1651 iwl_trans->hw_rev, iwl_trans->hw_rf_id); in iwl_pci_probe()
1659 if (!iwl_trans->name) in iwl_pci_probe()
1660 iwl_trans->name = iwl_trans->cfg->name; in iwl_pci_probe()
[all …]
A Dtrans.c36 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans) in iwl_trans_pcie_dump_regs()
254 void iwl_pcie_apm_config(struct iwl_trans *trans) in iwl_pcie_apm_config()
1192 struct iwl_trans *trans = trans_pcie->trans; in iwl_pcie_conf_msix_hw()
1223 struct iwl_trans *trans = trans_pcie->trans; in iwl_pcie_init_msix()
1641 struct iwl_trans *trans, in iwl_pcie_set_interrupt_capa()
2547 struct iwl_trans *trans;
2592 struct iwl_trans *trans = priv->trans; in iwl_dbgfs_tx_queue_seq_show()
2640 struct iwl_trans *trans = file->private_data; in iwl_dbgfs_rx_queue_read()
2691 struct iwl_trans *trans = file->private_data; in iwl_dbgfs_interrupt_read()
2835 struct iwl_trans *trans = inode->i_private; in iwl_dbgfs_monitor_data_open()
[all …]
A Dtrans-gen2.c20 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()
A Drx.c144 int iwl_pcie_rx_stop(struct iwl_trans *trans) in iwl_pcie_rx_stop()
1001 struct iwl_trans *trans; in iwl_pcie_napi_poll()
1028 struct iwl_trans *trans; in iwl_pcie_napi_poll_msix()
1143 int iwl_pcie_rx_init(struct iwl_trans *trans) in iwl_pcie_rx_init()
1177 void iwl_pcie_rx_free(struct iwl_trans *trans) in iwl_pcie_rx_free()
1622 struct iwl_trans *trans = trans_pcie->trans; in iwl_pcie_irq_rx_msix_handler()
1809 struct iwl_trans *trans = dev_id; in iwl_pcie_irq_handler()
2069 void iwl_pcie_free_ict(struct iwl_trans *trans) in iwl_pcie_free_ict()
2087 int iwl_pcie_alloc_ict(struct iwl_trans *trans) in iwl_pcie_alloc_ict()
2150 struct iwl_trans *trans = data; in iwl_pcie_isr()
[all …]
A Dctxt-info.c12 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 Dtx.c46 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 Dctxt-info-gen3.c12 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()
245 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive) in iwl_pcie_ctxt_info_gen3_free()
284 int iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans, in iwl_trans_pcie_ctx_info_gen3_set_pnvm()
317 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.3-rc2/drivers/net/wireless/intel/iwlwifi/queue/
A Dtx.h27 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, u32 flags,
122 void iwl_txq_dyn_free(struct iwl_trans *trans, int queue);
125 void iwl_txq_gen2_tx_free(struct iwl_trans *trans);
167 void iwl_txq_gen1_tfd_unmap(struct iwl_trans *trans,
170 void iwl_txq_gen1_inval_byte_cnt_tbl(struct iwl_trans *trans,
[all …]
A Dtx.c21 static void iwl_pcie_gen2_update_byte_tbl(struct iwl_trans *trans, in iwl_pcie_gen2_update_byte_tbl()
81 static u8 iwl_txq_gen2_get_num_tbs(struct iwl_trans *trans, in iwl_txq_gen2_get_num_tbs()
327 static int iwl_txq_gen2_build_amsdu(struct iwl_trans *trans, in iwl_txq_gen2_build_amsdu()
513 static int iwl_txq_gen2_tx_add_frags(struct iwl_trans *trans, in iwl_txq_gen2_tx_add_frags()
542 iwl_tfh_tfd *iwl_txq_gen2_build_tx(struct iwl_trans *trans, in iwl_txq_gen2_build_tx()
803 void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id) in iwl_txq_gen2_unmap()
1007 struct iwl_trans *trans = txq->trans; in iwl_txq_stuck_timer()
1256 void iwl_txq_dyn_free(struct iwl_trans *trans, int queue) in iwl_txq_dyn_free()
1279 void iwl_txq_gen2_tx_free(struct iwl_trans *trans) in iwl_txq_gen2_tx_free()
1364 void iwl_txq_gen1_tfd_unmap(struct iwl_trans *trans, in iwl_txq_gen1_tfd_unmap()
[all …]
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/
A Duefi.h52 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len);
53 void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len);
54 void iwl_uefi_get_step_table(struct iwl_trans *trans);
57 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_pnvm()
63 void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_reduced_power()
69 void iwl_uefi_get_step_table(struct iwl_trans *trans) in iwl_uefi_get_step_table()
75 void iwl_uefi_get_sgom_table(struct iwl_trans *trans, struct iwl_fw_runtime *fwrt);
78 void iwl_uefi_get_sgom_table(struct iwl_trans *trans, struct iwl_fw_runtime *fwrt) in iwl_uefi_get_sgom_table()
A Duefi.c20 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()
250 struct iwl_trans *trans) in iwl_uefi_step_parse()
263 void iwl_uefi_get_step_table(struct iwl_trans *trans) in iwl_uefi_get_step_table()
339 void iwl_uefi_get_sgom_table(struct iwl_trans *trans, in iwl_uefi_get_sgom_table()
A Dpnvm.c23 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 Dpnvm.h17 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()

Completed in 51 milliseconds

12