Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
854e334
Documentation
ABI
obsolete
removed
stable
testing
configfs-acpi
configfs-iio
configfs-rdma_cm
configfs-spear-pcie-gadget
configfs-stp-policy
configfs-stp-policy-p_sys-t
configfs-usb-gadget
configfs-usb-gadget-acm
configfs-usb-gadget-ecm
configfs-usb-gadget-eem
configfs-usb-gadget-ffs
configfs-usb-gadget-hid
configfs-usb-gadget-loopback
configfs-usb-gadget-mass-storage
configfs-usb-gadget-midi
configfs-usb-gadget-ncm
configfs-usb-gadget-obex
configfs-usb-gadget-phonet
configfs-usb-gadget-printer
configfs-usb-gadget-rndis
configfs-usb-gadget-serial
configfs-usb-gadget-sourcesink
configfs-usb-gadget-subset
configfs-usb-gadget-tcm
configfs-usb-gadget-uac1
configfs-usb-gadget-uac1_legacy
configfs-usb-gadget-uac2
configfs-usb-gadget-uvc
debugfs-cec-error-inj
debugfs-cros-ec
debugfs-driver-genwqe
debugfs-driver-habanalabs
debugfs-ec
debugfs-hisi-hpre
debugfs-hisi-sec
debugfs-hisi-zip
debugfs-hyperv
debugfs-ideapad
debugfs-moxtet
debugfs-olpc
debugfs-pfo-nx-crypto
debugfs-pktcdvd
debugfs-wilco-ec
dell-smbios-wmi
dev-kmsg
devlink-resource-mlxsw
evm
gpio-cdev
ima_policy
ppc-memtrace
procfs-diskstats
procfs-smaps_rollup
pstore
rtc-cdev
sysfs-ata
sysfs-block
sysfs-block-aoe
sysfs-block-bcache
sysfs-block-device
sysfs-block-dm
sysfs-block-loop
sysfs-block-rssd
sysfs-block-zram
sysfs-bus-acpi
sysfs-bus-amba
sysfs-bus-bcma
sysfs-bus-coresight-devices-etb10
sysfs-bus-coresight-devices-etm3x
sysfs-bus-coresight-devices-etm4x
sysfs-bus-coresight-devices-funnel
sysfs-bus-coresight-devices-stm
sysfs-bus-coresight-devices-tmc
sysfs-bus-counter
sysfs-bus-counter-104-quad-8
sysfs-bus-counter-ftm-quaddec
sysfs-bus-css
sysfs-bus-event_source-devices-events
sysfs-bus-event_source-devices-format
sysfs-bus-event_source-devices-hv_24x7
sysfs-bus-event_source-devices-hv_gpci
sysfs-bus-fcoe
sysfs-bus-fsi
sysfs-bus-fsl-mc
sysfs-bus-hsi
sysfs-bus-i2c-devices-bq32k
sysfs-bus-i2c-devices-fsa9480
sysfs-bus-i2c-devices-hm6352
sysfs-bus-i2c-devices-lm3533
sysfs-bus-i2c-devices-pca954x
sysfs-bus-i3c
sysfs-bus-iio
sysfs-bus-iio-accel-bmc150
sysfs-bus-iio-adc-ad7192
sysfs-bus-iio-adc-envelope-detector
sysfs-bus-iio-adc-hi8435
sysfs-bus-iio-adc-max9611
sysfs-bus-iio-adc-stm32
sysfs-bus-iio-chemical-vz89x
sysfs-bus-iio-counter-104-quad-8
sysfs-bus-iio-cros-ec
sysfs-bus-iio-dac-dpot-dac
sysfs-bus-iio-dfsdm-adc-stm32
sysfs-bus-iio-distance-srf08
sysfs-bus-iio-frequency-ad9523
sysfs-bus-iio-frequency-adf4350
sysfs-bus-iio-frequency-adf4371
sysfs-bus-iio-gyro-bmg160
sysfs-bus-iio-health-afe440x
sysfs-bus-iio-humidity-hdc100x
sysfs-bus-iio-impedance-analyzer-ad5933
sysfs-bus-iio-ina2xx-adc
sysfs-bus-iio-isl29501
sysfs-bus-iio-light-isl29018
sysfs-bus-iio-light-lm3533-als
sysfs-bus-iio-light-si1133
sysfs-bus-iio-light-tsl2583
sysfs-bus-iio-lptimer-stm32
sysfs-bus-iio-magnetometer-hmc5843
sysfs-bus-iio-meas-spec
sysfs-bus-iio-mpu6050
sysfs-bus-iio-potentiometer-mcp4531
sysfs-bus-iio-proximity-as3935
sysfs-bus-iio-sps30
sysfs-bus-iio-temperature-max31856
sysfs-bus-iio-timer-stm32
sysfs-bus-iio-trigger-sysfs
sysfs-bus-iio-vf610
sysfs-bus-intel_th-devices-gth
sysfs-bus-intel_th-devices-msc
sysfs-bus-intel_th-devices-pti
sysfs-bus-intel_th-output-devices
sysfs-bus-mcb
sysfs-bus-media
sysfs-bus-mei
sysfs-bus-mmc
sysfs-bus-moxtet-devices
sysfs-bus-nfit
sysfs-bus-pci
sysfs-bus-pci-devices-aer_stats
sysfs-bus-pci-devices-cciss
sysfs-bus-pci-drivers-ehci_hcd
sysfs-bus-pci-drivers-janz-cmodio
sysfs-bus-pci-drivers-xhci_hcd
sysfs-bus-platform
sysfs-bus-rapidio
sysfs-bus-rbd
sysfs-bus-rpmsg
sysfs-bus-siox
sysfs-bus-thunderbolt
sysfs-bus-typec
sysfs-bus-umc
sysfs-bus-usb
sysfs-bus-usb-devices-usbsevseg
sysfs-bus-usb-lvstest
sysfs-bus-vfio-mdev
sysfs-bus-vmbus
sysfs-c2port
sysfs-cfq-target-latency
sysfs-class
sysfs-class-backlight
sysfs-class-backlight-adp5520
sysfs-class-backlight-adp8860
sysfs-class-backlight-driver-adp8870
sysfs-class-backlight-driver-lm3533
sysfs-class-backlight-lm3639
sysfs-class-bdi
sysfs-class-bsr
sysfs-class-chromeos
sysfs-class-chromeos-driver-cros-ec-lightbar
sysfs-class-chromeos-driver-cros-ec-vbc
sysfs-class-cxl
sysfs-class-devfreq
sysfs-class-devfreq-event
sysfs-class-extcon
sysfs-class-fpga-bridge
sysfs-class-fpga-manager
sysfs-class-fpga-region
sysfs-class-gnss
sysfs-class-iommu
sysfs-class-iommu-amd-iommu
sysfs-class-iommu-intel-iommu
sysfs-class-lcd
sysfs-class-led
sysfs-class-led-driver-el15203000
sysfs-class-led-driver-lm3533
sysfs-class-led-driver-sc27xx
sysfs-class-led-flash
sysfs-class-led-trigger-netdev
sysfs-class-led-trigger-oneshot
sysfs-class-led-trigger-pattern
sysfs-class-led-trigger-usbport
sysfs-class-leds-gt683r
sysfs-class-mei
sysfs-class-mic
sysfs-class-mtd
sysfs-class-mux
sysfs-class-net
sysfs-class-net-cdc_ncm
sysfs-class-net-dsa
sysfs-class-net-grcan
sysfs-class-net-janz-ican3
sysfs-class-net-phydev
sysfs-class-net-qmi
sysfs-class-net-queues
sysfs-class-net-statistics
sysfs-class-ocxl
sysfs-class-pktcdvd
sysfs-class-power
sysfs-class-power-twl4030
sysfs-class-power-wilco
sysfs-class-powercap
sysfs-class-pwm
sysfs-class-rapidio
sysfs-class-rc
sysfs-class-rc-nuvoton
sysfs-class-regulator
sysfs-class-remoteproc
sysfs-class-rtc
sysfs-class-rtc-rtc0-device-rtc_calibration
sysfs-class-scsi_host
sysfs-class-scsi_tape
sysfs-class-stm
sysfs-class-stm_source
sysfs-class-switchtec
sysfs-class-typec
sysfs-class-usb_role
sysfs-class-uwb_rc
sysfs-class-uwb_rc-wusbhc
sysfs-class-wakeup
sysfs-class-watchdog
sysfs-class-zram
sysfs-dev
sysfs-devices
sysfs-devices-coredump
sysfs-devices-edac
sysfs-devices-firmware_node
sysfs-devices-lpss_ltr
sysfs-devices-memory
sysfs-devices-mmc
sysfs-devices-online
sysfs-devices-platform-ACPI-TAD
sysfs-devices-platform-_UDC_-gadget
sysfs-devices-platform-docg3
sysfs-devices-platform-dock
sysfs-devices-platform-ipmi
sysfs-devices-platform-sh_mobile_lcdc_fb
sysfs-devices-platform-stratix10-rsu
sysfs-devices-platform-trackpoint
sysfs-devices-power
sysfs-devices-power_resources_D0
sysfs-devices-power_resources_D1
sysfs-devices-power_resources_D2
sysfs-devices-power_resources_D3hot
sysfs-devices-power_resources_wakeup
sysfs-devices-power_state
sysfs-devices-real_power_state
sysfs-devices-resource_in_use
sysfs-devices-soc
sysfs-devices-software_node
sysfs-devices-sun
sysfs-devices-system-cpu
sysfs-devices-system-ibm-rtl
sysfs-devices-system-xen_cpu
sysfs-driver-altera-cvp
sysfs-driver-bd9571mwv-regulator
sysfs-driver-fsi-master-gpio
sysfs-driver-genwqe
sysfs-driver-habanalabs
sysfs-driver-hid
sysfs-driver-hid-corsair
sysfs-driver-hid-lenovo
sysfs-driver-hid-logitech-hidpp
sysfs-driver-hid-logitech-lg4ff
sysfs-driver-hid-multitouch
sysfs-driver-hid-ntrig
sysfs-driver-hid-picolcd
sysfs-driver-hid-prodikeys
sysfs-driver-hid-roccat-kone
sysfs-driver-hid-srws1
sysfs-driver-hid-wiimote
sysfs-driver-input-axp-pek
sysfs-driver-intel-rapid-start
sysfs-driver-pciback
sysfs-driver-ppi
sysfs-driver-samsung-laptop
sysfs-driver-st
sysfs-driver-tegra-fuse
sysfs-driver-toshiba_acpi
sysfs-driver-toshiba_haps
sysfs-driver-typec-displayport
sysfs-driver-ucsi-ccg
sysfs-driver-ufs
sysfs-driver-w1_ds28e17
sysfs-driver-wacom
sysfs-driver-xen-blkback
sysfs-driver-xen-blkfront
sysfs-firmware-acpi
sysfs-firmware-dmi-entries
sysfs-firmware-dmi-tables
sysfs-firmware-efi
sysfs-firmware-efi-esrt
sysfs-firmware-efi-runtime-map
sysfs-firmware-gsmi
sysfs-firmware-log
sysfs-firmware-memmap
sysfs-firmware-ofw
sysfs-firmware-opal-powercap
sysfs-firmware-opal-psr
sysfs-firmware-qemu_fw_cfg
sysfs-firmware-sfi
sysfs-firmware-sgi_uv
sysfs-firmware-turris-mox-rwtm
sysfs-fs-ext4
sysfs-fs-f2fs
sysfs-fs-nilfs2
sysfs-fs-xfs
sysfs-hypervisor-xen
sysfs-ibft
sysfs-kernel-boot_params
sysfs-kernel-btf
sysfs-kernel-fscaps
sysfs-kernel-iommu_groups
sysfs-kernel-irq
sysfs-kernel-livepatch
sysfs-kernel-mm
sysfs-kernel-mm-hugepages
sysfs-kernel-mm-ksm
sysfs-kernel-mm-swap
sysfs-kernel-slab
sysfs-kernel-uids
sysfs-kernel-vmcoreinfo
sysfs-memory-page-offline
sysfs-module
sysfs-ocfs2
sysfs-platform-asus-laptop
sysfs-platform-asus-wmi
sysfs-platform-at91
sysfs-platform-brcmstb-gisb-arb
sysfs-platform-chipidea-usb-otg
sysfs-platform-chipidea-usb2
sysfs-platform-dell-laptop
sysfs-platform-dell-smbios
sysfs-platform-dfl-fme
sysfs-platform-dfl-port
sysfs-platform-dptf
sysfs-platform-eeepc-laptop
sysfs-platform-hidma
sysfs-platform-hidma-mgmt
sysfs-platform-i2c-demux-pinctrl
sysfs-platform-ideapad-laptop
sysfs-platform-intel-wmi-thunderbolt
sysfs-platform-kim
sysfs-platform-lg-laptop
sysfs-platform-mellanox-bootctl
sysfs-platform-msi-laptop
sysfs-platform-phy-rcar-gen3-usb2
sysfs-platform-renesas_usb3
sysfs-platform-sst-atom
sysfs-platform-tahvo-usb
sysfs-platform-ts5500
sysfs-platform-twl4030-usb
sysfs-platform-usbip-vudc
sysfs-platform-wilco-ec
sysfs-power
sysfs-pps
sysfs-profiling
sysfs-ptp
sysfs-secvar
sysfs-tty
sysfs-uevent
sysfs-wusb_cbaf
usb-uevent
README
EDID
PCI
RCU
accounting
admin-guide
arm
arm64
block
bpf
cdrom
core-api
cpu-freq
crypto
dev-tools
devicetree
doc-guide
driver-api
fault-injection
fb
features
filesystems
firmware-guide
firmware_class
fpga
gpu
hid
hwmon
i2c
ia64
ide
iio
infiniband
input
isdn
kbuild
kernel-hacking
leds
livepatch
locking
m68k
maintainer
media
mic
mips
misc-devices
netlabel
networking
nios2
nvdimm
openrisc
parisc
pcmcia
power
powerpc
process
riscv
s390
scheduler
scsi
security
sh
sound
sparc
sphinx-static
sphinx
spi
target
timers
trace
translations
usb
userspace-api
virt
virtual
vm
w1
watchdog
x86
xtensa
.gitignore
COPYING-logo
Changes
CodingStyle
DMA-API-HOWTO.txt
DMA-API.txt
DMA-ISA-LPC.txt
DMA-attributes.txt
IPMI.txt
IRQ-affinity.txt
IRQ-domain.txt
IRQ.txt
Kconfig
Makefile
SubmittingPatches
asm-annotations.rst
atomic_bitops.txt
atomic_t.txt
bus-virt-phys-mapping.txt
conf.py
crc32.txt
debugging-modules.txt
debugging-via-ohci1394.txt
digsig.txt
docutils.conf
dontdiff
futex-requeue-pi.txt
hwspinlock.txt
index.rst
io-mapping.txt
io_ordering.txt
irqflags-tracing.txt
kobject.txt
kprobes.txt
kref.txt
logo.gif
lzo.txt
mailbox.txt
memory-barriers.txt
nommu-mmap.txt
padata.txt
percpu-rw-semaphore.txt
pi-futex.txt
preempt-locking.txt
rbtree.txt
remoteproc.txt
robust-futex-ABI.txt
robust-futexes.txt
rpmsg.txt
speculation.txt
static-keys.txt
tee.txt
this_cpu_ops.txt
unaligned-memory-access.txt
xz.txt
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Breadcrumbs
linux
/
Documentation
/
ABI
/
testing
/
sysfs-class-devfreq
Copy path
Blame
Blame
Latest commit
Kamil Konieczny
and
Chanwoo Choi
PM / devfreq: Add clearing transitions stats
Dec 30, 2019
14a3439
·
Dec 30, 2019
History
History
110 lines (99 loc) · 4.06 KB
Breadcrumbs
linux
/
Documentation
/
ABI
/
testing
/
sysfs-class-devfreq
Top
File metadata and controls
Code
Blame
110 lines (99 loc) · 4.06 KB
Raw
What: /sys/class/devfreq/.../ Date: September 2011 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: Provide a place in sysfs for the devfreq objects. This allows accessing various devfreq specific variables. The name of devfreq object denoted as ... is same as the name of device using devfreq. What: /sys/class/devfreq/.../name Date: November 2019 Contact: Chanwoo Choi <cw00.choi@samsung.com> Description: The /sys/class/devfreq/.../name shows the name of device of the corresponding devfreq object. What: /sys/class/devfreq/.../governor Date: September 2011 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: The /sys/class/devfreq/.../governor show or set the name of the governor used by the corresponding devfreq object. What: /sys/class/devfreq/.../cur_freq Date: September 2011 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: The /sys/class/devfreq/.../cur_freq shows the current frequency of the corresponding devfreq object. Same as target_freq when get_cur_freq() is not implemented by devfreq driver. What: /sys/class/devfreq/.../target_freq Date: September 2012 Contact: Rajagopal Venkat <rajagopal.venkat@linaro.org> Description: The /sys/class/devfreq/.../target_freq shows the next governor predicted target frequency of the corresponding devfreq object. What: /sys/class/devfreq/.../polling_interval Date: September 2011 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: The /sys/class/devfreq/.../polling_interval shows and sets the requested polling interval of the corresponding devfreq object. The values are represented in ms. If the value is less than 1 jiffy, it is considered to be 0, which means no polling. This value is meaningless if the governor is not polling; thus. If the governor is not using devfreq-provided central polling (/sys/class/devfreq/.../central_polling is 0), this value may be useless. What: /sys/class/devfreq/.../trans_stat Date: October 2012 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: This ABI shows or clears the statistics of devfreq behavior on a specific device. It shows the time spent in each state and the number of transitions between states. In order to activate this ABI, the devfreq target device driver should provide the list of available frequencies with its profile. If need to reset the statistics of devfreq behavior on a specific device, enter 0(zero) to 'trans_stat' as following: echo 0 > /sys/class/devfreq/.../trans_stat What: /sys/class/devfreq/.../userspace/set_freq Date: September 2011 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: The /sys/class/devfreq/.../userspace/set_freq shows and sets the requested frequency for the devfreq object if userspace governor is in effect. What: /sys/class/devfreq/.../available_frequencies Date: October 2012 Contact: Nishanth Menon <nm@ti.com> Description: The /sys/class/devfreq/.../available_frequencies shows the available frequencies of the corresponding devfreq object. This is a snapshot of available frequencies and not limited by the min/max frequency restrictions. What: /sys/class/devfreq/.../available_governors Date: October 2012 Contact: Nishanth Menon <nm@ti.com> Description: The /sys/class/devfreq/.../available_governors shows currently available governors in the system. What: /sys/class/devfreq/.../min_freq Date: January 2013 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: The /sys/class/devfreq/.../min_freq shows and stores the minimum frequency requested by users. It is 0 if the user does not care. min_freq overrides the frequency requested by governors. What: /sys/class/devfreq/.../max_freq Date: January 2013 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: The /sys/class/devfreq/.../max_freq shows and stores the maximum frequency requested by users. It is 0 if the user does not care. max_freq overrides the frequency requested by governors and min_freq. The max_freq overrides min_freq because max_freq may be used to throttle devices to avoid overheating.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
You can’t perform that action at this time.