ufs-debugfs.h (727B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (C) 2020 Intel Corporation 3 */ 4 5#ifndef __UFS_DEBUGFS_H__ 6#define __UFS_DEBUGFS_H__ 7 8struct ufs_hba; 9 10#ifdef CONFIG_DEBUG_FS 11void __init ufs_debugfs_init(void); 12void ufs_debugfs_exit(void); 13void ufs_debugfs_hba_init(struct ufs_hba *hba); 14void ufs_debugfs_hba_exit(struct ufs_hba *hba); 15void ufs_debugfs_exception_event(struct ufs_hba *hba, u16 status); 16#else 17static inline void ufs_debugfs_init(void) {} 18static inline void ufs_debugfs_exit(void) {} 19static inline void ufs_debugfs_hba_init(struct ufs_hba *hba) {} 20static inline void ufs_debugfs_hba_exit(struct ufs_hba *hba) {} 21static inline void ufs_debugfs_exception_event(struct ufs_hba *hba, u16 status) {} 22#endif 23 24#endif