1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2020 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
11 #define PCIE_TXVECDB 0x360
12 #define PCIE_TXVECSTATUS 0x368
13 #define PCIE_RXVECDB 0x394
14 #define PCIE_RXVECSTATUS 0x39C
16 #define MHISTATUS 0x48
18 #define MHICTRL_RESET_MASK 0x2
20 int ath11k_mhi_start(struct ath11k_pci *ar_pci);
21 void ath11k_mhi_stop(struct ath11k_pci *ar_pci);
22 int ath11k_mhi_register(struct ath11k_pci *ar_pci);
23 void ath11k_mhi_unregister(struct ath11k_pci *ar_pci);
24 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab);
25 void ath11k_mhi_clear_vector(struct ath11k_base *ab);
27 int ath11k_mhi_suspend(struct ath11k_pci *ar_pci);
28 int ath11k_mhi_resume(struct ath11k_pci *ar_pci);