Lines Matching refs:iwl_trans

438 struct iwl_trans;
571 int (*start_hw)(struct iwl_trans *iwl_trans);
572 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
573 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw,
575 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr);
576 void (*stop_device)(struct iwl_trans *trans);
578 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset);
579 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status,
582 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
584 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb,
586 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn,
589 void (*set_q_ptrs)(struct iwl_trans *trans, int queue, int ptr);
591 bool (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn,
594 void (*txq_disable)(struct iwl_trans *trans, int queue,
597 int (*txq_alloc)(struct iwl_trans *trans, u32 flags,
600 void (*txq_free)(struct iwl_trans *trans, int queue);
601 int (*rxq_dma_data)(struct iwl_trans *trans, int queue,
604 void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id,
607 int (*wait_tx_queues_empty)(struct iwl_trans *trans, u32 txq_bm);
608 int (*wait_txq_empty)(struct iwl_trans *trans, int queue);
609 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
611 void (*block_txq_ptrs)(struct iwl_trans *trans, bool block);
613 void (*write8)(struct iwl_trans *trans, u32 ofs, u8 val);
614 void (*write32)(struct iwl_trans *trans, u32 ofs, u32 val);
615 u32 (*read32)(struct iwl_trans *trans, u32 ofs);
616 u32 (*read_prph)(struct iwl_trans *trans, u32 ofs);
617 void (*write_prph)(struct iwl_trans *trans, u32 ofs, u32 val);
618 int (*read_mem)(struct iwl_trans *trans, u32 addr,
620 int (*write_mem)(struct iwl_trans *trans, u32 addr,
622 int (*read_config32)(struct iwl_trans *trans, u32 ofs, u32 *val);
623 void (*configure)(struct iwl_trans *trans,
625 void (*set_pmi)(struct iwl_trans *trans, bool state);
626 int (*sw_reset)(struct iwl_trans *trans, bool retake_ownership);
627 bool (*grab_nic_access)(struct iwl_trans *trans);
628 void (*release_nic_access)(struct iwl_trans *trans);
629 void (*set_bits_mask)(struct iwl_trans *trans, u32 reg, u32 mask,
632 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans,
636 void (*debugfs_cleanup)(struct iwl_trans *trans);
637 void (*sync_nmi)(struct iwl_trans *trans);
638 int (*load_pnvm)(struct iwl_trans *trans,
641 void (*set_pnvm)(struct iwl_trans *trans,
643 int (*load_reduce_power)(struct iwl_trans *trans,
646 void (*set_reduce_power)(struct iwl_trans *trans,
649 void (*interrupts)(struct iwl_trans *trans, bool enable);
650 int (*imr_dma_data)(struct iwl_trans *trans,
968 struct iwl_trans *trans;
1074 struct iwl_trans { struct
1144 const char *iwl_get_cmd_string(struct iwl_trans *trans, u32 id); argument
1147 static inline void iwl_trans_configure(struct iwl_trans *trans, in iwl_trans_configure()
1156 static inline int iwl_trans_start_hw(struct iwl_trans *trans) in iwl_trans_start_hw()
1163 static inline void iwl_trans_op_mode_leave(struct iwl_trans *trans) in iwl_trans_op_mode_leave()
1175 static inline void iwl_trans_fw_alive(struct iwl_trans *trans, u32 scd_addr) in iwl_trans_fw_alive()
1184 static inline int iwl_trans_start_fw(struct iwl_trans *trans, in iwl_trans_start_fw()
1202 static inline void iwl_trans_stop_device(struct iwl_trans *trans) in iwl_trans_stop_device()
1211 static inline int iwl_trans_d3_suspend(struct iwl_trans *trans, bool test, in iwl_trans_d3_suspend()
1221 static inline int iwl_trans_d3_resume(struct iwl_trans *trans, in iwl_trans_d3_resume()
1233 iwl_trans_dump_data(struct iwl_trans *trans, u32 dump_mask, in iwl_trans_dump_data()
1244 iwl_trans_alloc_tx_cmd(struct iwl_trans *trans) in iwl_trans_alloc_tx_cmd()
1249 int iwl_trans_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
1251 static inline void iwl_trans_free_tx_cmd(struct iwl_trans *trans, in iwl_trans_free_tx_cmd()
1257 static inline int iwl_trans_tx(struct iwl_trans *trans, struct sk_buff *skb, in iwl_trans_tx()
1271 static inline void iwl_trans_reclaim(struct iwl_trans *trans, int queue, in iwl_trans_reclaim()
1282 static inline void iwl_trans_set_q_ptrs(struct iwl_trans *trans, int queue, in iwl_trans_set_q_ptrs()
1293 static inline void iwl_trans_txq_disable(struct iwl_trans *trans, int queue, in iwl_trans_txq_disable()
1300 iwl_trans_txq_enable_cfg(struct iwl_trans *trans, int queue, u16 ssn, in iwl_trans_txq_enable_cfg()
1316 iwl_trans_get_rxq_dma_data(struct iwl_trans *trans, int queue, in iwl_trans_get_rxq_dma_data()
1326 iwl_trans_txq_free(struct iwl_trans *trans, int queue) in iwl_trans_txq_free()
1335 iwl_trans_txq_alloc(struct iwl_trans *trans, in iwl_trans_txq_alloc()
1353 static inline void iwl_trans_txq_set_shared_mode(struct iwl_trans *trans, in iwl_trans_txq_set_shared_mode()
1360 static inline void iwl_trans_txq_enable(struct iwl_trans *trans, int queue, in iwl_trans_txq_enable()
1377 void iwl_trans_ac_txq_enable(struct iwl_trans *trans, int queue, int fifo, in iwl_trans_ac_txq_enable()
1391 static inline void iwl_trans_freeze_txq_timer(struct iwl_trans *trans, in iwl_trans_freeze_txq_timer()
1404 static inline void iwl_trans_block_txq_ptrs(struct iwl_trans *trans, in iwl_trans_block_txq_ptrs()
1416 static inline int iwl_trans_wait_tx_queues_empty(struct iwl_trans *trans, in iwl_trans_wait_tx_queues_empty()
1431 static inline int iwl_trans_wait_txq_empty(struct iwl_trans *trans, int queue) in iwl_trans_wait_txq_empty()
1444 static inline void iwl_trans_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_trans_write8()
1449 static inline void iwl_trans_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_trans_write32()
1454 static inline u32 iwl_trans_read32(struct iwl_trans *trans, u32 ofs) in iwl_trans_read32()
1459 static inline u32 iwl_trans_read_prph(struct iwl_trans *trans, u32 ofs) in iwl_trans_read_prph()
1464 static inline void iwl_trans_write_prph(struct iwl_trans *trans, u32 ofs, in iwl_trans_write_prph()
1470 static inline int iwl_trans_read_mem(struct iwl_trans *trans, u32 addr, in iwl_trans_read_mem()
1483 static inline int iwl_trans_write_imr_mem(struct iwl_trans *trans, in iwl_trans_write_imr_mem()
1492 static inline u32 iwl_trans_read_mem32(struct iwl_trans *trans, u32 addr) in iwl_trans_read_mem32()
1502 static inline int iwl_trans_write_mem(struct iwl_trans *trans, u32 addr, in iwl_trans_write_mem()
1508 static inline u32 iwl_trans_write_mem32(struct iwl_trans *trans, u32 addr, in iwl_trans_write_mem32()
1514 static inline void iwl_trans_set_pmi(struct iwl_trans *trans, bool state) in iwl_trans_set_pmi()
1520 static inline int iwl_trans_sw_reset(struct iwl_trans *trans, in iwl_trans_sw_reset()
1529 iwl_trans_set_bits_mask(struct iwl_trans *trans, u32 reg, u32 mask, u32 value) in iwl_trans_set_bits_mask()
1539 iwl_trans_release_nic_access(struct iwl_trans *trans) in __releases()
1545 static inline void iwl_trans_fw_error(struct iwl_trans *trans, bool sync) in iwl_trans_fw_error()
1557 static inline bool iwl_trans_fw_running(struct iwl_trans *trans) in iwl_trans_fw_running()
1562 static inline void iwl_trans_sync_nmi(struct iwl_trans *trans) in iwl_trans_sync_nmi()
1568 void iwl_trans_sync_nmi_with_addr(struct iwl_trans *trans, u32 inta_addr,
1571 static inline int iwl_trans_load_pnvm(struct iwl_trans *trans, in iwl_trans_load_pnvm()
1578 static inline void iwl_trans_set_pnvm(struct iwl_trans *trans, in iwl_trans_set_pnvm()
1586 (struct iwl_trans *trans, in iwl_trans_load_reduce_power()
1594 iwl_trans_set_reduce_power(struct iwl_trans *trans, in iwl_trans_set_reduce_power()
1601 static inline bool iwl_trans_dbg_ini_valid(struct iwl_trans *trans) in iwl_trans_dbg_ini_valid()
1607 static inline void iwl_trans_interrupts(struct iwl_trans *trans, bool enable) in iwl_trans_interrupts()
1616 struct iwl_trans *iwl_trans_alloc(unsigned int priv_size,
1620 int iwl_trans_init(struct iwl_trans *trans);
1621 void iwl_trans_free(struct iwl_trans *trans);
1633 void iwl_trans_pcie_remove(struct iwl_trans *trans, bool rescan);