0001
0002
0003
0004
0005 #ifndef _ATH11K_MHI_H
0006 #define _ATH11K_MHI_H
0007
0008 #include "pci.h"
0009
0010 #define PCIE_TXVECDB 0x360
0011 #define PCIE_TXVECSTATUS 0x368
0012 #define PCIE_RXVECDB 0x394
0013 #define PCIE_RXVECSTATUS 0x39C
0014
0015 #define MHISTATUS 0x48
0016 #define MHICTRL 0x38
0017 #define MHICTRL_RESET_MASK 0x2
0018
0019 int ath11k_mhi_start(struct ath11k_pci *ar_pci);
0020 void ath11k_mhi_stop(struct ath11k_pci *ar_pci);
0021 int ath11k_mhi_register(struct ath11k_pci *ar_pci);
0022 void ath11k_mhi_unregister(struct ath11k_pci *ar_pci);
0023 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab);
0024 void ath11k_mhi_clear_vector(struct ath11k_base *ab);
0025
0026 int ath11k_mhi_suspend(struct ath11k_pci *ar_pci);
0027 int ath11k_mhi_resume(struct ath11k_pci *ar_pci);
0028
0029 #endif