1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 2 /* 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 5 */ 6 7 #ifndef _ATH12K_DEBUGFS_H_ 8 #define _ATH12K_DEBUGFS_H_ 9 10 #ifdef CONFIG_ATH12K_DEBUGFS 11 void ath12k_debugfs_soc_create(struct ath12k_base *ab); 12 void ath12k_debugfs_soc_destroy(struct ath12k_base *ab); 13 void ath12k_debugfs_register(struct ath12k *ar); 14 void ath12k_debugfs_unregister(struct ath12k *ar); 15 #else ath12k_debugfs_soc_create(struct ath12k_base * ab)16static inline void ath12k_debugfs_soc_create(struct ath12k_base *ab) 17 { 18 } 19 ath12k_debugfs_soc_destroy(struct ath12k_base * ab)20static inline void ath12k_debugfs_soc_destroy(struct ath12k_base *ab) 21 { 22 } 23 ath12k_debugfs_register(struct ath12k * ar)24static inline void ath12k_debugfs_register(struct ath12k *ar) 25 { 26 } 27 ath12k_debugfs_unregister(struct ath12k * ar)28static inline void ath12k_debugfs_unregister(struct ath12k *ar) 29 { 30 } 31 32 #endif /* CONFIG_ATH12K_DEBUGFS */ 33 34 #endif /* _ATH12K_DEBUGFS_H_ */ 35