Path: blob/main/sys/contrib/dev/athk/ath11k/mhi.h
101200 views
/* SPDX-License-Identifier: BSD-3-Clause-Clear */1/*2* Copyright (c) 2020 The Linux Foundation. All rights reserved.3* Copyright (c) 2022, 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.4*/5#ifndef _ATH11K_MHI_H6#define _ATH11K_MHI_H78#include "pci.h"910#define PCIE_TXVECDB 0x36011#define PCIE_TXVECSTATUS 0x36812#define PCIE_RXVECDB 0x39413#define PCIE_RXVECSTATUS 0x39C1415#define MHISTATUS 0x4816#define MHICTRL 0x3817#define MHICTRL_RESET_MASK 0x21819int ath11k_mhi_start(struct ath11k_pci *ar_pci);20void ath11k_mhi_stop(struct ath11k_pci *ar_pci, bool is_suspend);21int ath11k_mhi_register(struct ath11k_pci *ar_pci);22void ath11k_mhi_unregister(struct ath11k_pci *ar_pci);23void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab);24void ath11k_mhi_clear_vector(struct ath11k_base *ab);2526int ath11k_mhi_suspend(struct ath11k_pci *ar_pci);27int ath11k_mhi_resume(struct ath11k_pci *ar_pci);28void ath11k_mhi_coredump(struct mhi_controller *mhi_ctrl, bool in_panic);2930#endif313233