Lines Matching refs:iwl_trans

297 static inline int iwl_queue_inc_wrap(struct iwl_trans *trans, int index)  in iwl_queue_inc_wrap()
306 static inline __le16 iwl_get_closed_rb_stts(struct iwl_trans *trans, in iwl_get_closed_rb_stts()
324 static inline int iwl_queue_dec_wrap(struct iwl_trans *trans, int index) in iwl_queue_dec_wrap()
560 struct iwl_trans *trans;
638 IWL_TRANS_GET_PCIE_TRANS(struct iwl_trans *trans) in IWL_TRANS_GET_PCIE_TRANS()
643 static inline void iwl_pcie_clear_irq(struct iwl_trans *trans, in iwl_pcie_clear_irq()
657 static inline struct iwl_trans *
660 return container_of((void *)trans_pcie, struct iwl_trans, in iwl_trans_pcie_get_trans()
668 struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev,
671 void iwl_trans_pcie_free(struct iwl_trans *trans);
676 int iwl_pcie_rx_init(struct iwl_trans *trans);
677 int iwl_pcie_gen2_rx_init(struct iwl_trans *trans);
682 int iwl_pcie_rx_stop(struct iwl_trans *trans);
683 void iwl_pcie_rx_free(struct iwl_trans *trans);
684 void iwl_pcie_free_rbs_pool(struct iwl_trans *trans);
687 void iwl_pcie_rxq_alloc_rbs(struct iwl_trans *trans, gfp_t priority,
694 int iwl_pcie_alloc_ict(struct iwl_trans *trans);
695 void iwl_pcie_free_ict(struct iwl_trans *trans);
696 void iwl_pcie_reset_ict(struct iwl_trans *trans);
697 void iwl_pcie_disable_ict(struct iwl_trans *trans);
702 int iwl_pcie_tx_init(struct iwl_trans *trans);
703 int iwl_pcie_gen2_tx_init(struct iwl_trans *trans);
704 void iwl_pcie_tx_start(struct iwl_trans *trans, u32 scd_base_addr);
705 int iwl_pcie_tx_stop(struct iwl_trans *trans);
706 void iwl_pcie_tx_free(struct iwl_trans *trans);
707 bool iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int queue, u16 ssn,
710 void iwl_trans_pcie_txq_disable(struct iwl_trans *trans, int queue,
712 void iwl_trans_pcie_txq_set_shared_mode(struct iwl_trans *trans, u32 txq_id,
714 void iwl_trans_pcie_log_scd_error(struct iwl_trans *trans,
716 int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
718 void iwl_pcie_txq_check_wrptrs(struct iwl_trans *trans);
719 int iwl_trans_pcie_send_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
720 void iwl_pcie_hcmd_complete(struct iwl_trans *trans,
722 void iwl_trans_pcie_reclaim(struct iwl_trans *trans, int txq_id, int ssn,
724 void iwl_trans_pcie_tx_reset(struct iwl_trans *trans);
726 static inline u16 iwl_pcie_tfd_tb_get_len(struct iwl_trans *trans, void *_tfd, in iwl_pcie_tfd_tb_get_len()
745 void iwl_pcie_dump_csr(struct iwl_trans *trans);
750 static inline void _iwl_disable_interrupts(struct iwl_trans *trans) in _iwl_disable_interrupts()
791 static inline int iwl_pcie_ctxt_info_alloc_dma(struct iwl_trans *trans, in iwl_pcie_ctxt_info_alloc_dma()
807 static inline void iwl_pcie_ctxt_info_free_fw_img(struct iwl_trans *trans) in iwl_pcie_ctxt_info_free_fw_img()
827 static inline void iwl_disable_interrupts(struct iwl_trans *trans) in iwl_disable_interrupts()
836 static inline void _iwl_enable_interrupts(struct iwl_trans *trans) in _iwl_enable_interrupts()
859 static inline void iwl_enable_interrupts(struct iwl_trans *trans) in iwl_enable_interrupts()
867 static inline void iwl_enable_hw_int_msk_msix(struct iwl_trans *trans, u32 msk) in iwl_enable_hw_int_msk_msix()
875 static inline void iwl_enable_fh_int_msk_msix(struct iwl_trans *trans, u32 msk) in iwl_enable_fh_int_msk_msix()
883 static inline void iwl_enable_fw_load_int(struct iwl_trans *trans) in iwl_enable_fw_load_int()
904 static inline void *iwl_pcie_get_tfd(struct iwl_trans *trans, in iwl_pcie_get_tfd()
938 static inline void iwl_enable_rfkill_int(struct iwl_trans *trans) in iwl_enable_rfkill_int()
964 void iwl_pcie_handle_rfkill_irq(struct iwl_trans *trans);
966 static inline void iwl_wake_queue(struct iwl_trans *trans, in iwl_wake_queue()
977 static inline void iwl_stop_queue(struct iwl_trans *trans, in iwl_stop_queue()
1001 static inline bool iwl_is_rfkill_set(struct iwl_trans *trans) in iwl_is_rfkill_set()
1014 static inline void __iwl_trans_pcie_set_bits_mask(struct iwl_trans *trans, in __iwl_trans_pcie_set_bits_mask()
1029 static inline void __iwl_trans_pcie_clear_bit(struct iwl_trans *trans, in __iwl_trans_pcie_clear_bit()
1035 static inline void __iwl_trans_pcie_set_bit(struct iwl_trans *trans, in __iwl_trans_pcie_set_bit()
1041 void iwl_trans_pcie_rf_kill(struct iwl_trans *trans, bool state);
1044 int iwl_trans_pcie_dbgfs_register(struct iwl_trans *trans);
1046 static inline int iwl_trans_pcie_dbgfs_register(struct iwl_trans *trans) in iwl_trans_pcie_dbgfs_register()
1052 int iwl_pci_fw_exit_d0i3(struct iwl_trans *trans);
1053 int iwl_pci_fw_enter_d0i3(struct iwl_trans *trans);
1055 void iwl_pcie_enable_rx_wake(struct iwl_trans *trans, bool enable);
1060 void iwl_pcie_apm_config(struct iwl_trans *trans);
1061 int iwl_pcie_prepare_card_hw(struct iwl_trans *trans);
1062 void iwl_pcie_synchronize_irqs(struct iwl_trans *trans);
1063 bool iwl_pcie_check_hw_rf_kill(struct iwl_trans *trans);
1064 void iwl_trans_pcie_handle_stop_rfkill(struct iwl_trans *trans,
1066 void iwl_pcie_txq_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq);
1067 int iwl_queue_space(struct iwl_trans *trans, const struct iwl_txq *q);
1068 void iwl_pcie_apm_stop_master(struct iwl_trans *trans);
1070 int iwl_pcie_txq_init(struct iwl_trans *trans, struct iwl_txq *txq,
1072 int iwl_pcie_txq_alloc(struct iwl_trans *trans,
1074 int iwl_pcie_alloc_dma_ptr(struct iwl_trans *trans,
1076 void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, struct iwl_dma_ptr *ptr);
1077 void iwl_pcie_apply_destination(struct iwl_trans *trans);
1081 struct iwl_tso_hdr_page *get_page_hdr(struct iwl_trans *trans, size_t len);
1085 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power);
1088 int iwl_trans_pcie_gen2_start_fw(struct iwl_trans *trans,
1090 void iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans, u32 scd_addr);
1091 int iwl_trans_pcie_dyn_txq_alloc(struct iwl_trans *trans,
1095 void iwl_trans_pcie_dyn_txq_free(struct iwl_trans *trans, int queue);
1096 int iwl_trans_pcie_gen2_tx(struct iwl_trans *trans, struct sk_buff *skb,
1098 int iwl_trans_pcie_gen2_send_hcmd(struct iwl_trans *trans,
1100 void iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans,
1102 void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans, bool low_power);
1103 void iwl_pcie_gen2_txq_unmap(struct iwl_trans *trans, int txq_id);
1104 void iwl_pcie_gen2_tx_free(struct iwl_trans *trans);
1105 void iwl_pcie_gen2_tx_stop(struct iwl_trans *trans);