Home
last modified time | relevance | path

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

12

/drivers/net/wireless/intel/iwlwifi/pcie/
Dinternal.h192 static inline __le16 iwl_get_closed_rb_stts(struct iwl_trans *trans, in iwl_get_closed_rb_stts()
348 struct iwl_trans *trans;
430 IWL_TRANS_GET_PCIE_TRANS(struct iwl_trans *trans) in IWL_TRANS_GET_PCIE_TRANS()
435 static inline void iwl_pcie_clear_irq(struct iwl_trans *trans, int queue) in iwl_pcie_clear_irq()
448 static inline struct iwl_trans *
451 return container_of((void *)trans_pcie, struct iwl_trans, in iwl_trans_pcie_get_trans()
459 struct iwl_trans
463 void iwl_trans_pcie_free(struct iwl_trans *trans);
465 bool __iwl_trans_pcie_grab_nic_access(struct iwl_trans *trans);
473 int iwl_pcie_rx_init(struct iwl_trans *trans);
[all …]
Ddrv.c1201 struct iwl_trans *iwl_trans; in iwl_pci_probe() local
1219 iwl_trans = iwl_trans_pcie_alloc(pdev, ent, trans); in iwl_pci_probe()
1220 if (IS_ERR(iwl_trans)) in iwl_pci_probe()
1221 return PTR_ERR(iwl_trans); in iwl_pci_probe()
1223 trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); in iwl_pci_probe()
1225 iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID); in iwl_pci_probe()
1235 CSR_HW_REV_TYPE(iwl_trans->hw_rev)) && in iwl_pci_probe()
1238 CSR_HW_REV_STEP(iwl_trans->hw_rev)) && in iwl_pci_probe()
1241 CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id)) && in iwl_pci_probe()
1243 CSR_HW_RFID_IS_CDB(iwl_trans->hw_rf_id)) && in iwl_pci_probe()
[all …]
Dtrans.c35 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans) in iwl_trans_pcie_dump_regs()
129 static void iwl_trans_pcie_sw_reset(struct iwl_trans *trans) in iwl_trans_pcie_sw_reset()
136 static void iwl_pcie_free_fw_monitor(struct iwl_trans *trans) in iwl_pcie_free_fw_monitor()
151 static void iwl_pcie_alloc_fw_monitor_block(struct iwl_trans *trans, in iwl_pcie_alloc_fw_monitor_block()
190 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) in iwl_pcie_alloc_fw_monitor()
210 static u32 iwl_trans_pcie_read_shr(struct iwl_trans *trans, u32 reg) in iwl_trans_pcie_read_shr()
217 static void iwl_trans_pcie_write_shr(struct iwl_trans *trans, u32 reg, u32 val) in iwl_trans_pcie_write_shr()
224 static void iwl_pcie_set_pwr(struct iwl_trans *trans, bool vaux) in iwl_pcie_set_pwr()
242 void iwl_pcie_apm_config(struct iwl_trans *trans) in iwl_pcie_apm_config()
270 static int iwl_pcie_apm_init(struct iwl_trans *trans) in iwl_pcie_apm_init()
[all …]
Drx.c144 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()
200 static void iwl_pcie_rxq_check_wrptr(struct iwl_trans *trans) in iwl_pcie_rxq_check_wrptr()
217 static void iwl_pcie_restock_bd(struct iwl_trans *trans, in iwl_pcie_restock_bd()
241 static void iwl_pcie_rxmq_restock(struct iwl_trans *trans, in iwl_pcie_rxmq_restock()
288 static void iwl_pcie_rxsq_restock(struct iwl_trans *trans, in iwl_pcie_rxsq_restock()
346 void iwl_pcie_rxq_restock(struct iwl_trans *trans, struct iwl_rxq *rxq) in iwl_pcie_rxq_restock()
358 static struct page *iwl_pcie_rx_alloc_page(struct iwl_trans *trans, in iwl_pcie_rx_alloc_page()
426 void iwl_pcie_rxq_alloc_rbs(struct iwl_trans *trans, gfp_t priority, in iwl_pcie_rxq_alloc_rbs()
485 void iwl_pcie_free_rbs_pool(struct iwl_trans *trans) in iwl_pcie_free_rbs_pool()
[all …]
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()
125 void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) in _iwl_trans_pcie_gen2_stop_device()
230 void iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) in iwl_trans_pcie_gen2_stop_device()
247 static int iwl_pcie_gen2_nic_init(struct iwl_trans *trans) in iwl_pcie_gen2_nic_init()
275 static void iwl_pcie_get_rf_name(struct iwl_trans *trans) in iwl_pcie_get_rf_name()
344 void iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans, u32 scd_addr) in iwl_trans_pcie_gen2_fw_alive()
375 static void iwl_pcie_set_ltr(struct iwl_trans *trans) in iwl_pcie_set_ltr()
403 int iwl_trans_pcie_gen2_start_fw(struct iwl_trans *trans, in iwl_trans_pcie_gen2_start_fw()
Dtx.c46 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 …]
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()
Dctxt-info-gen3.c12 iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans, in iwl_pcie_ctxt_info_dbg_enable()
74 int iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans, in iwl_pcie_ctxt_info_gen3_init()
234 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive) in iwl_pcie_ctxt_info_gen3_free()
273 int iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans, in iwl_trans_pcie_ctx_info_gen3_set_pnvm()
306 int iwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans, in iwl_trans_pcie_ctx_info_gen3_set_reduce_power()
/drivers/net/wireless/intel/iwlwifi/
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);
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 …]
Diwl-trans.h414 struct iwl_trans;
526 int (*start_hw)(struct iwl_trans *iwl_trans);
527 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
528 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw,
530 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr);
531 void (*stop_device)(struct iwl_trans *trans);
533 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset);
534 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status,
537 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
539 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb,
[all …]
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()
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 …]
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()
Diwl-dbg-tlv.h43 struct iwl_trans;
46 void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans);
47 void iwl_dbg_tlv_free(struct iwl_trans *trans);
48 void iwl_dbg_tlv_alloc(struct iwl_trans *trans, const struct iwl_ucode_tlv *tlv,
50 void iwl_dbg_tlv_init(struct iwl_trans *trans);
70 void iwl_dbg_tlv_del_timers(struct iwl_trans *trans);
Diwl-eeprom-read.c40 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()
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,
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()
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()
Diwl-context-info-gen3.h258 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,
Diwl-nvm-parse.h32 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,
Diwl-dbg-tlv.c94 static int iwl_dbg_tlv_alloc_debug_info(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_debug_info()
108 static int iwl_dbg_tlv_alloc_buf_alloc(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_buf_alloc()
153 static int iwl_dbg_tlv_alloc_hcmd(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_hcmd()
177 static int iwl_dbg_tlv_alloc_region(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_region()
233 static int iwl_dbg_tlv_alloc_trigger(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_trigger()
269 static int (*dbg_tlv_alloc[])(struct iwl_trans *trans,
278 void iwl_dbg_tlv_alloc(struct iwl_trans *trans, const struct iwl_ucode_tlv *tlv, in iwl_dbg_tlv_alloc()
325 void iwl_dbg_tlv_del_timers(struct iwl_trans *trans) in iwl_dbg_tlv_del_timers()
338 static void iwl_dbg_tlv_fragments_free(struct iwl_trans *trans, in iwl_dbg_tlv_fragments_free()
366 void iwl_dbg_tlv_free(struct iwl_trans *trans) in iwl_dbg_tlv_free()
[all …]
/drivers/net/wireless/intel/iwlwifi/queue/
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()
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 …]
Dtx.c19 static void iwl_pcie_gen2_update_byte_tbl(struct iwl_trans *trans, in iwl_pcie_gen2_update_byte_tbl()
66 void iwl_txq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_txq *txq) in iwl_txq_inc_wr_ptr()
79 static u8 iwl_txq_gen2_get_num_tbs(struct iwl_trans *trans, in iwl_txq_gen2_get_num_tbs()
85 void iwl_txq_gen2_tfd_unmap(struct iwl_trans *trans, struct iwl_cmd_meta *meta, in iwl_txq_gen2_tfd_unmap()
115 void iwl_txq_gen2_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq) in iwl_txq_gen2_free_tfd()
143 int iwl_txq_gen2_set_tb(struct iwl_trans *trans, struct iwl_tfh_tfd *tfd, in iwl_txq_gen2_set_tb()
179 static struct page *get_workaround_page(struct iwl_trans *trans, in get_workaround_page()
204 static int iwl_txq_gen2_set_tb_with_wa(struct iwl_trans *trans, in iwl_txq_gen2_set_tb_with_wa()
280 struct iwl_tso_hdr_page *get_page_hdr(struct iwl_trans *trans, size_t len, in get_page_hdr()
325 static int iwl_txq_gen2_build_amsdu(struct iwl_trans *trans, in iwl_txq_gen2_build_amsdu()
[all …]
/drivers/net/wireless/intel/iwlwifi/fw/
Duefi.h29 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()
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()
Duefi.c19 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()
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()

12