Lines Matching defs:iwl_trans_ops

575 struct iwl_trans_ops {  struct
577 int (*start_hw)(struct iwl_trans *iwl_trans);
578 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
579 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw,
581 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr);
582 void (*stop_device)(struct iwl_trans *trans);
584 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset);
585 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status,
588 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
590 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb,
592 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn,
595 void (*set_q_ptrs)(struct iwl_trans *trans, int queue, int ptr);
597 bool (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn,
600 void (*txq_disable)(struct iwl_trans *trans, int queue,
603 int (*txq_alloc)(struct iwl_trans *trans,
607 void (*txq_free)(struct iwl_trans *trans, int queue);
608 int (*rxq_dma_data)(struct iwl_trans *trans, int queue,
611 void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id,
614 int (*wait_tx_queues_empty)(struct iwl_trans *trans, u32 txq_bm);
615 int (*wait_txq_empty)(struct iwl_trans *trans, int queue);
616 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
618 void (*block_txq_ptrs)(struct iwl_trans *trans, bool block);
620 void (*write8)(struct iwl_trans *trans, u32 ofs, u8 val);
621 void (*write32)(struct iwl_trans *trans, u32 ofs, u32 val);
622 u32 (*read32)(struct iwl_trans *trans, u32 ofs);
623 u32 (*read_prph)(struct iwl_trans *trans, u32 ofs);
624 void (*write_prph)(struct iwl_trans *trans, u32 ofs, u32 val);
625 int (*read_mem)(struct iwl_trans *trans, u32 addr,
627 int (*write_mem)(struct iwl_trans *trans, u32 addr,
629 int (*read_config32)(struct iwl_trans *trans, u32 ofs, u32 *val);
630 void (*configure)(struct iwl_trans *trans,
632 void (*set_pmi)(struct iwl_trans *trans, bool state);
633 void (*sw_reset)(struct iwl_trans *trans);
634 bool (*grab_nic_access)(struct iwl_trans *trans, unsigned long *flags);
635 void (*release_nic_access)(struct iwl_trans *trans,
637 void (*set_bits_mask)(struct iwl_trans *trans, u32 reg, u32 mask,
639 int (*suspend)(struct iwl_trans *trans);
640 void (*resume)(struct iwl_trans *trans);
642 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans,
644 void (*debugfs_cleanup)(struct iwl_trans *trans);
645 void (*sync_nmi)(struct iwl_trans *trans);
646 int (*set_pnvm)(struct iwl_trans *trans, const void *data, u32 len);