Debian Codegraph @

Documentation/ABI/testing/sysfs-class-platform-profile

raw
1 What: /sys/class/platform-profile/platform-profile-X/name
2 Date: March 2025
3 KernelVersion: 6.14
4 Description: Name of the class device given by the driver.
5
6 RO
7
8 What: /sys/class/platform-profile/platform-profile-X/choices
9 Date: March 2025
10 KernelVersion: 6.14
11 Description: This file contains a space-separated list of profiles supported
12 for this device.
13
14 Drivers must use the following standard profile-names:
15
16 ==================== ========================================
17 low-power Low power consumption
18 cool Cooler operation
19 quiet Quieter operation
20 balanced Balance between low power consumption
21 and performance
22 balanced-performance Balance between performance and low
23 power consumption with a slight bias
24 towards performance
25 performance High performance operation
26 max-power Higher performance operation that may exceed
27 internal battery draw limits when on AC power
28 custom Driver defined custom profile
29 ==================== ========================================
30
31 RO
32
33 What: /sys/class/platform-profile/platform-profile-X/profile
34 Date: March 2025
35 KernelVersion: 6.14
36 Description: Reading this file gives the current selected profile for this
37 device. Writing this file with one of the strings from
38 platform_profile_choices changes the profile to the new value.
39
40 This file can be monitored for changes by polling for POLLPRI,
41 POLLPRI will be signaled on any changes, independent of those
42 changes coming from a userspace write; or coming from another
43 source such as e.g. a hotkey triggered profile change handled
44 either directly by the embedded-controller or fully handled
45 inside the kernel.
46
47 This file may also emit the string 'custom' to indicate
48 that the driver is using a driver defined custom profile.
49
50 RW