// SPDX-License-Identifier: MIT /* * Copyright © 2023 Igalia S.L. */ #include <linux/sched/clock.h> #include <linux/sysfs.h> #include "v3d_drv.h" static ssize_t gpu_stats_show(struct device *dev, struct device_attribute *attr, char *buf) { … } static DEVICE_ATTR_RO(gpu_stats); static struct attribute *v3d_sysfs_entries[] = …; static struct attribute_group v3d_sysfs_attr_group = …; int v3d_sysfs_init(struct device *dev) { … } void v3d_sysfs_destroy(struct device *dev) { … }