/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Platform profile sysfs interface * * See Documentation/userspace-api/sysfs-platform_profile.rst for more * information. */ #ifndef _PLATFORM_PROFILE_H_ #define _PLATFORM_PROFILE_H_ #include <linux/bitops.h> /* * If more options are added please update profile_names array in * platform_profile.c and sysfs-platform_profile documentation. */ enum platform_profile_option { … }; struct platform_profile_handler { … }; int platform_profile_register(struct platform_profile_handler *pprof); int platform_profile_remove(void); int platform_profile_cycle(void); void platform_profile_notify(void); #endif /*_PLATFORM_PROFILE_H_*/