xref: /openbmc/linux/drivers/net/wireless/ath/ath11k/mhi.h (revision 1399fb87)
1*1399fb87SGovind Singh /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2*1399fb87SGovind Singh /*
3*1399fb87SGovind Singh  * Copyright (c) 2020 The Linux Foundation. All rights reserved.
4*1399fb87SGovind Singh  */
5*1399fb87SGovind Singh #ifndef _ATH11K_MHI_H
6*1399fb87SGovind Singh #define _ATH11K_MHI_H
7*1399fb87SGovind Singh 
8*1399fb87SGovind Singh #include "pci.h"
9*1399fb87SGovind Singh 
10*1399fb87SGovind Singh enum ath11k_mhi_state {
11*1399fb87SGovind Singh 	ATH11K_MHI_INIT,
12*1399fb87SGovind Singh 	ATH11K_MHI_DEINIT,
13*1399fb87SGovind Singh 	ATH11K_MHI_POWER_ON,
14*1399fb87SGovind Singh 	ATH11K_MHI_POWER_OFF,
15*1399fb87SGovind Singh 	ATH11K_MHI_FORCE_POWER_OFF,
16*1399fb87SGovind Singh 	ATH11K_MHI_SUSPEND,
17*1399fb87SGovind Singh 	ATH11K_MHI_RESUME,
18*1399fb87SGovind Singh 	ATH11K_MHI_TRIGGER_RDDM,
19*1399fb87SGovind Singh 	ATH11K_MHI_RDDM,
20*1399fb87SGovind Singh 	ATH11K_MHI_RDDM_DONE,
21*1399fb87SGovind Singh };
22*1399fb87SGovind Singh 
23*1399fb87SGovind Singh int ath11k_mhi_start(struct ath11k_pci *ar_pci);
24*1399fb87SGovind Singh void ath11k_mhi_stop(struct ath11k_pci *ar_pci);
25*1399fb87SGovind Singh int ath11k_mhi_register(struct ath11k_pci *ar_pci);
26*1399fb87SGovind Singh void ath11k_mhi_unregister(struct ath11k_pci *ar_pci);
27*1399fb87SGovind Singh 
28*1399fb87SGovind Singh #endif
29