Lines Matching defs:iwl_trans

448 struct iwl_trans;
815 struct iwl_trans *trans;
836 * struct iwl_trans - transport common data
897 struct iwl_trans {
967 const char *iwl_get_cmd_string(struct iwl_trans *trans, u32 id);
970 void iwl_trans_configure(struct iwl_trans *trans,
973 int iwl_trans_start_hw(struct iwl_trans *trans);
975 void iwl_trans_op_mode_leave(struct iwl_trans *trans);
977 void iwl_trans_fw_alive(struct iwl_trans *trans, u32 scd_addr);
979 int iwl_trans_start_fw(struct iwl_trans *trans, const struct fw_img *fw,
982 void iwl_trans_stop_device(struct iwl_trans *trans);
984 int iwl_trans_d3_suspend(struct iwl_trans *trans, bool test, bool reset);
986 int iwl_trans_d3_resume(struct iwl_trans *trans, enum iwl_d3_status *status,
990 iwl_trans_dump_data(struct iwl_trans *trans, u32 dump_mask,
995 iwl_trans_alloc_tx_cmd(struct iwl_trans *trans)
1000 int iwl_trans_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
1002 static inline void iwl_trans_free_tx_cmd(struct iwl_trans *trans,
1008 int iwl_trans_tx(struct iwl_trans *trans, struct sk_buff *skb,
1011 void iwl_trans_reclaim(struct iwl_trans *trans, int queue, int ssn,
1014 void iwl_trans_set_q_ptrs(struct iwl_trans *trans, int queue, int ptr);
1016 void iwl_trans_txq_disable(struct iwl_trans *trans, int queue,
1019 bool iwl_trans_txq_enable_cfg(struct iwl_trans *trans, int queue, u16 ssn,
1023 int iwl_trans_get_rxq_dma_data(struct iwl_trans *trans, int queue,
1026 void iwl_trans_txq_free(struct iwl_trans *trans, int queue);
1028 int iwl_trans_txq_alloc(struct iwl_trans *trans, u32 flags, u32 sta_mask,
1031 void iwl_trans_txq_set_shared_mode(struct iwl_trans *trans,
1034 static inline void iwl_trans_txq_enable(struct iwl_trans *trans, int queue,
1051 void iwl_trans_ac_txq_enable(struct iwl_trans *trans, int queue, int fifo,
1065 void iwl_trans_freeze_txq_timer(struct iwl_trans *trans,
1068 int iwl_trans_wait_tx_queues_empty(struct iwl_trans *trans, u32 txqs);
1070 int iwl_trans_wait_txq_empty(struct iwl_trans *trans, int queue);
1072 void iwl_trans_write8(struct iwl_trans *trans, u32 ofs, u8 val);
1074 void iwl_trans_write32(struct iwl_trans *trans, u32 ofs, u32 val);
1076 u32 iwl_trans_read32(struct iwl_trans *trans, u32 ofs);
1078 u32 iwl_trans_read_prph(struct iwl_trans *trans, u32 ofs);
1080 void iwl_trans_write_prph(struct iwl_trans *trans, u32 ofs, u32 val);
1082 int iwl_trans_read_mem(struct iwl_trans *trans, u32 addr,
1085 int iwl_trans_read_config32(struct iwl_trans *trans, u32 ofs,
1089 void iwl_trans_debugfs_cleanup(struct iwl_trans *trans);
1099 int iwl_trans_write_imr_mem(struct iwl_trans *trans, u32 dst_addr,
1102 static inline u32 iwl_trans_read_mem32(struct iwl_trans *trans, u32 addr)
1112 int iwl_trans_write_mem(struct iwl_trans *trans, u32 addr,
1115 static inline u32 iwl_trans_write_mem32(struct iwl_trans *trans, u32 addr,
1121 void iwl_trans_set_pmi(struct iwl_trans *trans, bool state);
1123 int iwl_trans_sw_reset(struct iwl_trans *trans, bool retake_ownership);
1125 void iwl_trans_set_bits_mask(struct iwl_trans *trans, u32 reg,
1128 bool _iwl_trans_grab_nic_access(struct iwl_trans *trans);
1135 iwl_trans_release_nic_access(struct iwl_trans *trans);
1137 static inline void iwl_trans_fw_error(struct iwl_trans *trans, bool sync)
1149 static inline bool iwl_trans_fw_running(struct iwl_trans *trans)
1154 void iwl_trans_sync_nmi(struct iwl_trans *trans);
1156 void iwl_trans_sync_nmi_with_addr(struct iwl_trans *trans, u32 inta_addr,
1159 int iwl_trans_load_pnvm(struct iwl_trans *trans,
1163 void iwl_trans_set_pnvm(struct iwl_trans *trans,
1166 int iwl_trans_load_reduce_power(struct iwl_trans *trans,
1170 void iwl_trans_set_reduce_power(struct iwl_trans *trans,
1173 static inline bool iwl_trans_dbg_ini_valid(struct iwl_trans *trans)
1179 void iwl_trans_interrupts(struct iwl_trans *trans, bool enable);
1184 struct iwl_trans *iwl_trans_alloc(unsigned int priv_size,
1187 int iwl_trans_init(struct iwl_trans *trans);
1188 void iwl_trans_free(struct iwl_trans *trans);
1200 void iwl_trans_pcie_remove(struct iwl_trans *trans, bool rescan);
1202 int iwl_trans_pcie_send_hcmd(struct iwl_trans *trans,