File Index
Files and directories
Sign in
FILE

qaic_debugfs.h

File preview with syntax highlighting.

linux-6.19.14/drivers/accel/qaic/qaic_debugfs.h C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2
 3/* Copyright (c) 2020, The Linux Foundation. All rights reserved. */
 4/* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */
 5
 6#ifndef __QAIC_DEBUGFS_H__
 7#define __QAIC_DEBUGFS_H__
 8
 9#include <drm/drm_file.h>
10
11#ifdef CONFIG_DEBUG_FS
12int qaic_bootlog_register(void);
13void qaic_bootlog_unregister(void);
14void qaic_debugfs_init(struct qaic_drm_device *qddev);
15#else
16static inline int qaic_bootlog_register(void) { return 0; }
17static inline void qaic_bootlog_unregister(void) {}
18static inline void qaic_debugfs_init(struct qaic_drm_device *qddev) {}
19#endif /* CONFIG_DEBUG_FS */
20#endif /* __QAIC_DEBUGFS_H__ */
~/ Read-only file preview.