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