Lines Matching defs:iwl_trans_ops
531 struct iwl_trans_ops { struct
533 int (*start_hw)(struct iwl_trans *iwl_trans);
534 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
535 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw,
537 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr);
538 void (*stop_device)(struct iwl_trans *trans);
540 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset);
541 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status,
544 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
546 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb,
548 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn,
551 void (*set_q_ptrs)(struct iwl_trans *trans, int queue, int ptr);
553 bool (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn,
556 void (*txq_disable)(struct iwl_trans *trans, int queue,
559 int (*txq_alloc)(struct iwl_trans *trans,
563 void (*txq_free)(struct iwl_trans *trans, int queue);
564 int (*rxq_dma_data)(struct iwl_trans *trans, int queue,
567 void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id,
570 int (*wait_tx_queues_empty)(struct iwl_trans *trans, u32 txq_bm);
571 int (*wait_txq_empty)(struct iwl_trans *trans, int queue);
572 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
574 void (*block_txq_ptrs)(struct iwl_trans *trans, bool block);
576 void (*write8)(struct iwl_trans *trans, u32 ofs, u8 val);
577 void (*write32)(struct iwl_trans *trans, u32 ofs, u32 val);
578 u32 (*read32)(struct iwl_trans *trans, u32 ofs);
579 u32 (*read_prph)(struct iwl_trans *trans, u32 ofs);
580 void (*write_prph)(struct iwl_trans *trans, u32 ofs, u32 val);
581 int (*read_mem)(struct iwl_trans *trans, u32 addr,
583 int (*write_mem)(struct iwl_trans *trans, u32 addr,
585 void (*configure)(struct iwl_trans *trans,
587 void (*set_pmi)(struct iwl_trans *trans, bool state);
588 void (*sw_reset)(struct iwl_trans *trans);
589 bool (*grab_nic_access)(struct iwl_trans *trans, unsigned long *flags);
590 void (*release_nic_access)(struct iwl_trans *trans,
592 void (*set_bits_mask)(struct iwl_trans *trans, u32 reg, u32 mask,
594 int (*suspend)(struct iwl_trans *trans);
595 void (*resume)(struct iwl_trans *trans);
597 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans,
599 void (*debugfs_cleanup)(struct iwl_trans *trans);
600 void (*sync_nmi)(struct iwl_trans *trans);