Searched refs:iwl_trans (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-current/sys/contrib/dev/iwlwifi/
H A Diwl-eeprom-read.h10 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
H 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);
16 static inline void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask)
21 static inline void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask)
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 *tran
[all...]
H A Diwl-scd.h13 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans,
19 static inline void iwl_scd_txq_enable_agg(struct iwl_trans *trans,
25 static inline void iwl_scd_txq_disable_agg(struct iwl_trans *trans,
31 static inline void iwl_scd_disable_agg(struct iwl_trans *trans)
36 static inline void iwl_scd_activate_fifos(struct iwl_trans *trans)
41 static inline void iwl_scd_deactivate_fifos(struct iwl_trans *trans)
46 static inline void iwl_scd_enable_set_active(struct iwl_trans *trans,
76 static inline void iwl_scd_txq_set_inactive(struct iwl_trans *trans,
H A Diwl-trans.h451 struct iwl_trans;
584 int (*start_hw)(struct iwl_trans *iwl_trans);
585 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
586 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw,
588 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr);
589 void (*stop_device)(struct iwl_trans *trans);
591 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset);
592 int (*d3_resume)(struct iwl_trans *tran
1086 struct iwl_trans { struct
[all...]
H A Diwl-phy-db.h13 struct iwl_phy_db *iwl_phy_db_init(struct iwl_trans *trans);
H A Diwl-drv.h54 struct iwl_trans;
66 struct iwl_drv *iwl_drv_start(struct iwl_trans *trans);
96 struct iwl_trans;
97 const char *iwl_drv_get_fwname_pre(struct iwl_trans *trans, char *buf);
H A Diwl-devtrace.h44 const struct iwl_trans *,
48 const struct iwl_trans *,
H 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);
H 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 void *iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans,
183 int iwl_pcie_ctxt_info_alloc_dma(struct iwl_trans *trans,
H 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,
H A Diwl-io.c17 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val)
24 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val)
31 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val)
39 u32 iwl_read32(struct iwl_trans *trans, u32 ofs)
50 int iwl_poll_bit(struct iwl_trans *trans, u32 addr,
66 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg)
80 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value)
89 void iwl_write_direct64(struct iwl_trans *trans, u64 reg, u64 value)
98 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask,
114 u32 iwl_read_prph_no_grab(struct iwl_trans *tran
[all...]
H A Diwl-devtrace.c55 "const struct iwl_trans *",
60 const struct iwl_trans *trans,
70 "const struct iwl_trans *",
75 const struct iwl_trans *trans,
H A Diwl-context-info-gen3.h286 int iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans,
288 void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive);
290 int iwl_trans_pcie_ctx_info_gen3_load_pnvm(struct iwl_trans *trans,
293 void iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans,
296 iwl_trans_pcie_ctx_info_gen3_load_reduce_power(struct iwl_trans *trans,
300 iwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans,
302 int iwl_trans_pcie_ctx_info_gen3_set_step(struct iwl_trans *trans,
H A Diwl-eeprom-read.c39 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans)
65 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans)
71 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp)
107 static void iwl_set_otp_access_absolute(struct iwl_trans *trans)
115 static int iwl_nvm_is_otp(struct iwl_trans *trans)
137 static int iwl_init_otp_access(struct iwl_trans *trans)
162 static int iwl_read_otp_word(struct iwl_trans *trans, u16 addr,
204 static bool iwl_is_otp_empty(struct iwl_trans *trans)
234 static int iwl_find_otp_image(struct iwl_trans *trans,
291 int iwl_read_eeprom(struct iwl_trans *tran
[all...]
H A Diwl-eeprom-parse.h75 iwl_parse_eeprom_data(struct iwl_trans *trans, const struct iwl_cfg *cfg,
82 void iwl_init_ht_hw_capab(struct iwl_trans *trans,
/freebsd-current/sys/contrib/dev/iwlwifi/fw/
H A Duefi.h43 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len);
44 u8 *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len);
45 int iwl_uefi_reduce_power_parse(struct iwl_trans *trans,
48 void iwl_uefi_get_step_table(struct iwl_trans *trans);
49 int iwl_uefi_handle_tlv_mem_desc(struct iwl_trans *trans, const u8 *data,
52 static inline void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len)
58 iwl_uefi_reduce_power_parse(struct iwl_trans *trans,
66 iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len)
71 static inline void iwl_uefi_get_step_table(struct iwl_trans *trans)
76 iwl_uefi_handle_tlv_mem_desc(struct iwl_trans *tran
[all...]
H A Dpnvm.h15 int iwl_pnvm_load(struct iwl_trans *trans,
20 void iwl_pnvm_get_fs_name(struct iwl_trans *trans,
H A Dpnvm.c23 struct iwl_trans *trans = (struct iwl_trans *)data;
33 static int iwl_pnvm_handle_section(struct iwl_trans *trans, const u8 *data,
166 static int iwl_pnvm_parse(struct iwl_trans *trans, const u8 *data,
225 static int iwl_pnvm_get_from_fs(struct iwl_trans *trans, u8 **data, size_t *len)
253 static u8 *iwl_get_pnvm_image(struct iwl_trans *trans_p, size_t *len)
278 static void iwl_pnvm_load_pnvm_to_trans(struct iwl_trans *trans,
322 iwl_pnvm_load_reduce_power_to_trans(struct iwl_trans *trans,
368 int iwl_pnvm_load(struct iwl_trans *trans,
/freebsd-current/sys/contrib/dev/iwlwifi/queue/
H 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,
38 static inline void *iwl_txq_get_tfd(struct iwl_trans *trans,
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)
76 static inline int iwl_txq_inc_wrap(struct iwl_trans *trans, int index)
86 static inline int iwl_txq_dec_wrap(struct iwl_trans *trans, int index)
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 *tran
[all...]
/freebsd-current/sys/contrib/dev/iwlwifi/pcie/
H A Dinternal.h193 static inline __le16 iwl_get_closed_rb_stts(struct iwl_trans *trans,
367 struct iwl_trans *trans;
451 IWL_TRANS_GET_PCIE_TRANS(struct iwl_trans *trans)
456 static inline void iwl_pcie_clear_irq(struct iwl_trans *trans, int queue)
469 static inline struct iwl_trans *
472 return container_of((void *)trans_pcie, struct iwl_trans,
480 struct iwl_trans
484 void iwl_trans_pcie_free(struct iwl_trans *trans);
488 bool __iwl_trans_pcie_grab_nic_access(struct iwl_trans *trans);
496 int iwl_pcie_rx_init(struct iwl_trans *tran
[all...]
H A Ddrv.c1127 static int get_crf_id(struct iwl_trans *iwl_trans) argument
1133 if (iwl_trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210)
1138 if (!iwl_trans_grab_nic_access(iwl_trans)) {
1139 IWL_ERR(iwl_trans, "Failed to grab nic access before reading crf id\n");
1145 val = iwl_read_umac_prph_no_grab(iwl_trans, WFPM_CTRL_REG);
1147 iwl_write_umac_prph_no_grab(iwl_trans, WFPM_CTRL_REG, val);
1150 iwl_trans->hw_crf_id = iwl_read_prph_no_grab(iwl_trans, sd_reg_ver_addr);
1153 iwl_trans
1173 map_crf_id(struct iwl_trans *iwl_trans) argument
1320 struct iwl_trans *iwl_trans; local
[all...]
H A Dtrans-gen2.c23 int iwl_pcie_gen2_apm_init(struct iwl_trans *trans)
62 static void iwl_pcie_gen2_apm_stop(struct iwl_trans *trans, bool op_mode_leave)
101 static void iwl_trans_pcie_fw_reset_handshake(struct iwl_trans *trans)
136 void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans)
214 void iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans)
231 static int iwl_pcie_gen2_nic_init(struct iwl_trans *trans)
259 static void iwl_pcie_get_rf_name(struct iwl_trans *trans)
331 void iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans, u32 scd_addr)
362 static bool iwl_pcie_set_ltr(struct iwl_trans *trans)
411 static void iwl_pcie_spin_for_iml(struct iwl_trans *tran
[all...]
H A Dctxt-info.c12 static void *_iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans,
41 void *iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans,
48 int iwl_pcie_ctxt_info_alloc_dma(struct iwl_trans *trans,
63 void iwl_pcie_ctxt_info_free_paging(struct iwl_trans *trans)
84 int iwl_pcie_init_fw_sec(struct iwl_trans *trans,
163 int iwl_pcie_ctxt_info_init(struct iwl_trans *trans,
249 void iwl_pcie_ctxt_info_free(struct iwl_trans *trans)
H A Dtrans.c40 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans)
158 static int iwl_trans_pcie_sw_reset(struct iwl_trans *trans,
178 static void iwl_pcie_free_fw_monitor(struct iwl_trans *trans)
193 static void iwl_pcie_alloc_fw_monitor_block(struct iwl_trans *trans,
235 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power)
252 static u32 iwl_trans_pcie_read_shr(struct iwl_trans *trans, u32 reg)
259 static void iwl_trans_pcie_write_shr(struct iwl_trans *trans, u32 reg, u32 val)
266 static void iwl_pcie_set_pwr(struct iwl_trans *trans, bool vaux)
284 void iwl_pcie_apm_config(struct iwl_trans *trans)
312 static int iwl_pcie_apm_init(struct iwl_trans *tran
[all...]
H A Drx.c144 int iwl_pcie_rx_stop(struct iwl_trans *trans)
166 static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans,
203 static void iwl_pcie_rxq_check_wrptr(struct iwl_trans *trans)
220 static void iwl_pcie_restock_bd(struct iwl_trans *trans,
248 static void iwl_pcie_rxmq_restock(struct iwl_trans *trans,
295 static void iwl_pcie_rxsq_restock(struct iwl_trans *trans,
353 void iwl_pcie_rxq_restock(struct iwl_trans *trans, struct iwl_rxq *rxq)
365 static struct page *iwl_pcie_rx_alloc_page(struct iwl_trans *trans,
433 void iwl_pcie_rxq_alloc_rbs(struct iwl_trans *trans, gfp_t priority,
492 void iwl_pcie_free_rbs_pool(struct iwl_trans *tran
[all...]

Completed in 183 milliseconds

12