brintos

brintos / linux-shallow public Read only

0
0
Text · 907 B · a682aad Raw
31 lines · c
1/* SPDX-License-Identifier: BSD-3-Clause-Clear */2/*3 * Copyright (c) 2020 The Linux Foundation. All rights reserved.4 * Copyright (c) 2022, 2024 Qualcomm Innovation Center, Inc. All rights reserved.5 */6#ifndef _ATH11K_MHI_H7#define _ATH11K_MHI_H8 9#include "pci.h"10 11#define PCIE_TXVECDB				0x36012#define PCIE_TXVECSTATUS			0x36813#define PCIE_RXVECDB				0x39414#define PCIE_RXVECSTATUS			0x39C15 16#define MHISTATUS				0x4817#define MHICTRL					0x3818#define MHICTRL_RESET_MASK			0x219 20int ath11k_mhi_start(struct ath11k_pci *ar_pci);21void ath11k_mhi_stop(struct ath11k_pci *ar_pci);22int ath11k_mhi_register(struct ath11k_pci *ar_pci);23void ath11k_mhi_unregister(struct ath11k_pci *ar_pci);24void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab);25void ath11k_mhi_clear_vector(struct ath11k_base *ab);26 27int ath11k_mhi_suspend(struct ath11k_pci *ar_pci);28int ath11k_mhi_resume(struct ath11k_pci *ar_pci);29 30#endif31