hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/arm/bifrost/mali_kbase_mem_profile_debugfs.h
....@@ -1,7 +1,7 @@
11 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22 /*
33 *
4
- * (C) COPYRIGHT 2012-2016, 2020-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2012-2016, 2020-2022 ARM Limited. All rights reserved.
55 *
66 * This program is free software and is provided to you under the terms of the
77 * GNU General Public License version 2 as published by the Free Software
....@@ -20,7 +20,7 @@
2020 */
2121
2222 /**
23
- * Header file for mem profiles entries in debugfs
23
+ * DOC: Header file for mem profiles entries in debugfs
2424 *
2525 */
2626
....@@ -31,13 +31,16 @@
3131 #include <linux/seq_file.h>
3232
3333 /**
34
- * Remove entry from Mali memory profile debugfs
34
+ * kbasep_mem_profile_debugfs_remove - Remove entry from Mali memory profile debugfs
35
+ *
3536 * @kctx: The context whose debugfs file @p data should be removed from
3637 */
3738 void kbasep_mem_profile_debugfs_remove(struct kbase_context *kctx);
3839
3940 /**
40
- * Insert @p data to the debugfs file so it can be read by userspace
41
+ * kbasep_mem_profile_debugfs_insert - Insert @p data to the debugfs file
42
+ * so it can be read by userspace
43
+ *
4144 * @kctx: The context whose debugfs file @p data should be inserted to
4245 * @data: A NULL-terminated string to be inserted to the debugfs file,
4346 * without the trailing new line character
....@@ -49,8 +52,8 @@
4952 * If the debugfs entry corresponding to the @p kctx doesn't exist,
5053 * an attempt will be made to create it.
5154 *
52
- * @return 0 if @p data inserted correctly
53
- * -EAGAIN in case of error
55
+ * Return: 0 if @p data inserted correctly, -EAGAIN in case of error
56
+ *
5457 * @post @ref mem_profile_initialized will be set to @c true
5558 * the first time this function succeeds.
5659 */