Lines Matching defs:iwl_trans_ops
548 struct iwl_trans_ops { struct
550 int (*start_hw)(struct iwl_trans *iwl_trans);
551 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
552 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw,
554 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr);
555 void (*stop_device)(struct iwl_trans *trans);
557 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset);
558 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status,
561 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
563 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb,
565 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn,
568 void (*set_q_ptrs)(struct iwl_trans *trans, int queue, int ptr);
570 bool (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn,
573 void (*txq_disable)(struct iwl_trans *trans, int queue,
576 int (*txq_alloc)(struct iwl_trans *trans, u32 flags,
579 void (*txq_free)(struct iwl_trans *trans, int queue);
580 int (*rxq_dma_data)(struct iwl_trans *trans, int queue,
583 void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id,
586 int (*wait_tx_queues_empty)(struct iwl_trans *trans, u32 txq_bm);
587 int (*wait_txq_empty)(struct iwl_trans *trans, int queue);
588 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
590 void (*block_txq_ptrs)(struct iwl_trans *trans, bool block);
592 void (*write8)(struct iwl_trans *trans, u32 ofs, u8 val);
593 void (*write32)(struct iwl_trans *trans, u32 ofs, u32 val);
594 u32 (*read32)(struct iwl_trans *trans, u32 ofs);
595 u32 (*read_prph)(struct iwl_trans *trans, u32 ofs);
596 void (*write_prph)(struct iwl_trans *trans, u32 ofs, u32 val);
597 int (*read_mem)(struct iwl_trans *trans, u32 addr,
599 int (*write_mem)(struct iwl_trans *trans, u32 addr,
601 int (*read_config32)(struct iwl_trans *trans, u32 ofs, u32 *val);
602 void (*configure)(struct iwl_trans *trans,
604 void (*set_pmi)(struct iwl_trans *trans, bool state);
605 int (*sw_reset)(struct iwl_trans *trans, bool retake_ownership);
606 bool (*grab_nic_access)(struct iwl_trans *trans);
607 void (*release_nic_access)(struct iwl_trans *trans);
608 void (*set_bits_mask)(struct iwl_trans *trans, u32 reg, u32 mask,
611 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans,
615 void (*debugfs_cleanup)(struct iwl_trans *trans);
616 void (*sync_nmi)(struct iwl_trans *trans);
617 int (*set_pnvm)(struct iwl_trans *trans, const void *data, u32 len);
618 int (*set_reduce_power)(struct iwl_trans *trans,
620 void (*interrupts)(struct iwl_trans *trans, bool enable);
621 int (*imr_dma_data)(struct iwl_trans *trans,