Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
852 B · 30 lines
at master
12345678910111213141516171819202122232425262728293031.. SPDX-License-Identifier: GPL-2.0
========================Device Frequency Scaling========================
Introduction------------
This framework provides a standard kernel interface for Dynamic Voltage andFrequency Switching on arbitrary devices.
It exposes controls for adjusting frequency through sysfs files which aresimilar to the cpufreq subsystem.
Devices for which current usage can be measured can have their frequencyautomatically adjusted by governors.
API---
Device drivers need to initialize a :c:type:`devfreq_profile` and call the:c:func:`devfreq_add_device` function to create a :c:type:`devfreq` instance.
.. kernel-doc:: include/linux/devfreq.h.. kernel-doc:: include/linux/devfreq-event.h.. kernel-doc:: drivers/devfreq/devfreq.c :export:.. kernel-doc:: drivers/devfreq/devfreq-event.c :export: