Lines Matching defs:iwl_trans_ops
545 struct iwl_trans_ops { struct
547 int (*start_hw)(struct iwl_trans *iwl_trans, bool low_power);
548 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
549 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw,
551 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr);
552 void (*stop_device)(struct iwl_trans *trans, bool low_power);
554 void (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset);
555 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status,
558 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
560 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb,
562 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn,
565 bool (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn,
568 void (*txq_disable)(struct iwl_trans *trans, int queue,
571 int (*txq_alloc)(struct iwl_trans *trans,
575 void (*txq_free)(struct iwl_trans *trans, int queue);
576 int (*rxq_dma_data)(struct iwl_trans *trans, int queue,
579 void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id,
582 int (*wait_tx_queues_empty)(struct iwl_trans *trans, u32 txq_bm);
583 int (*wait_txq_empty)(struct iwl_trans *trans, int queue);
584 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
586 void (*block_txq_ptrs)(struct iwl_trans *trans, bool block);
588 void (*write8)(struct iwl_trans *trans, u32 ofs, u8 val);
589 void (*write32)(struct iwl_trans *trans, u32 ofs, u32 val);
590 u32 (*read32)(struct iwl_trans *trans, u32 ofs);
591 u32 (*read_prph)(struct iwl_trans *trans, u32 ofs);
592 void (*write_prph)(struct iwl_trans *trans, u32 ofs, u32 val);
593 int (*read_mem)(struct iwl_trans *trans, u32 addr,
595 int (*write_mem)(struct iwl_trans *trans, u32 addr,
597 void (*configure)(struct iwl_trans *trans,
599 void (*set_pmi)(struct iwl_trans *trans, bool state);
600 void (*sw_reset)(struct iwl_trans *trans);
601 bool (*grab_nic_access)(struct iwl_trans *trans, unsigned long *flags);
602 void (*release_nic_access)(struct iwl_trans *trans,
604 void (*set_bits_mask)(struct iwl_trans *trans, u32 reg, u32 mask,
606 void (*ref)(struct iwl_trans *trans);
607 void (*unref)(struct iwl_trans *trans);
608 int (*suspend)(struct iwl_trans *trans);
609 void (*resume)(struct iwl_trans *trans);
611 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans,
615 void (*dump_regs)(struct iwl_trans *trans);