Home
last modified time | relevance | path

Searched full:cpufreq (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/linux/drivers/cpufreq/
H A DKconfig.arm7 tristate "Allwinner nvmem based SUN50I CPUFreq driver"
12 This adds the nvmem based CPUFreq driver for Allwinner
16 module will be called sun50i-cpufreq-nvmem.
19 tristate "Airoha EN7581 SoC CPUFreq support"
25 This adds the CPUFreq driver for Airoha EN7581 SoCs.
28 tristate "Apple Silicon SoC CPUFreq support"
33 This adds the CPUFreq driver for Apple Silicon machines
37 tristate "Armada 37xx CPUFreq support"
41 This adds the CPUFreq driver support for Marvell Armada 37xx SoCs.
45 tristate "Armada 8K CPUFreq driver"
[all …]
H A DMakefile2 # CPUfreq core
3 obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
5 # CPUfreq stats
8 # CPUfreq governors
17 obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
19 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
20 obj-$(CONFIG_CPUFREQ_VIRT) += virtual-cpufreq.o
29 # K8 systems. This is still the case but acpi-cpufreq errors out so that
33 obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
37 obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
[all …]
H A DKconfig12 clock speed, you need to either enable a dynamic cpufreq governor
16 <file:Documentation/admin-guide/pm/cpufreq.rst>.
38 prompt "Default CPUFreq governor"
44 This option sets which CPUFreq governor shall be loaded at
51 Use the CPUFreq governor 'performance' as default. This sets
59 Use the CPUFreq governor 'powersave' as default. This sets
67 Use the CPUFreq governor 'userspace' as default. This allows
78 Use the CPUFreq governor 'ondemand' as default. This allows
80 loading your cpufreq low-level hardware driver.
81 Be aware that not all cpufreq drivers support the ondemand
[all …]
H A Drcpufreq_dt.rs3 //! Rust based implementation of the cpufreq-dt driver.
8 cpu, cpufreq,
42 /// Represents the cpufreq dt device.
58 impl cpufreq::Driver for CPUFreqDTDriver {
59 const NAME: &'static CStr = c_str!("cpufreq-dt");
60 const FLAGS: u16 = cpufreq::flags::NEED_INITIAL_FREQ_CHECK | cpufreq::flags::IS_COOLING_DEV;
65 fn init(policy: &mut cpufreq::Policy) -> Result<Self::PData> { in init()
67 // SAFETY: The CPU device is only used during init; it won't get hot-unplugged. The cpufreq in init()
68 // core registers with CPU notifiers and the cpufreq core/driver won't use the CPU device, in init()
126 transition_latency = cpufreq::ETERNAL_LATENCY_NS; in init()
[all …]
/linux/tools/power/cpupower/po/
H A Dpt.po225 #: utils/cpufreq-info.c:31
230 #: utils/cpufreq-info.c:63
238 #: utils/cpufreq-info.c:151
248 #: utils/cpufreq-info.c:161
253 #: utils/cpufreq-info.c:163
258 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
262 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
266 #: utils/cpufreq-info.c:164
271 #: utils/cpufreq-info.c:177
276 #: utils/cpufreq-info.c:178
[all …]
H A Dit.po227 #: utils/cpufreq-info.c:31
232 #: utils/cpufreq-info.c:63
239 #: utils/cpufreq-info.c:151
249 #: utils/cpufreq-info.c:161
254 #: utils/cpufreq-info.c:163
259 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
263 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
267 #: utils/cpufreq-info.c:164
272 #: utils/cpufreq-info.c:177
277 #: utils/cpufreq-info.c:178
[all …]
H A Dcs.po232 #: utils/cpufreq-info.c:31
237 #: utils/cpufreq-info.c:63
244 #: utils/cpufreq-info.c:151
254 #: utils/cpufreq-info.c:161
259 #: utils/cpufreq-info.c:163
264 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
268 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
272 #: utils/cpufreq-info.c:164
277 #: utils/cpufreq-info.c:177
282 #: utils/cpufreq-info.c:178
[all …]
H A Dfr.po227 #: utils/cpufreq-info.c:31
232 #: utils/cpufreq-info.c:63
239 #: utils/cpufreq-info.c:151
249 #: utils/cpufreq-info.c:161
254 #: utils/cpufreq-info.c:163
259 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
263 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
267 #: utils/cpufreq-info.c:164
272 #: utils/cpufreq-info.c:177
277 #: utils/cpufreq-info.c:178
[all …]
H A Dde.po239 #: utils/cpufreq-info.c:31
246 #: utils/cpufreq-info.c:63
252 #: utils/cpufreq-info.c:151
263 #: utils/cpufreq-info.c:161
268 #: utils/cpufreq-info.c:163
273 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
277 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
281 #: utils/cpufreq-info.c:164
286 #: utils/cpufreq-info.c:177
291 #: utils/cpufreq-info.c:178
[all …]
H A Dka.po248 #: utils/cpufreq-info.c:31
254 #: utils/cpufreq-info.c:63
262 #: utils/cpufreq-info.c:151
274 #: utils/cpufreq-info.c:161
279 #: utils/cpufreq-info.c:163
284 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
288 #: utils/cpufreq-info.c:163 utils/cpufreq-info.c:164
292 #: utils/cpufreq-info.c:164
297 #: utils/cpufreq-info.c:177
302 #: utils/cpufreq-info.c:178
[all …]
/linux/Documentation/cpu-freq/
H A Dcore.rst4 General description of the CPUFreq core and CPUFreq notifiers
15 1. CPUFreq core and interfaces
16 2. CPUFreq notifiers
17 3. CPUFreq Table Generation with Operating Performance Point (OPP)
22 The CPUFreq core code is located in drivers/cpufreq/cpufreq.c. This
23 cpufreq code offers a standardized interface for the CPUFreq
33 Reference counting of the cpufreq policies is done by cpufreq_cpu_get
34 and cpufreq_cpu_put, which make sure that the cpufreq driver is
36 cpufreq_put_cpu is called. That also ensures that the respective cpufreq
39 2. CPUFreq notifiers
[all …]
H A Dcpufreq-stats.rst4 General Description of sysfs CPUFreq Stats
16 3. Configuring cpufreq-stats
22 cpufreq-stats is a driver that provides CPU frequency statistics for each CPU.
24 interface (when configured) will appear in a separate directory under cpufreq
25 in /sysfs (<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU.
35 cpufreq stats provides following statistics (explained in detail below).
48 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # ls -l
73 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state
89 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat total_trans
98 which the driver has provided the frequency table initially to the cpufreq core
[all …]
/linux/tools/power/cpupower/bench/
H A DMakefile17 $(OUTPUT)../lib/cpufreq.o $(OUTPUT)../lib/cpupower.o
23 override CFLAGS += -D_GNU_SOURCE -I../lib -DDEFAULT_CONFIG_FILE=\"$(confdir)/cpufreq-bench.conf\"
29 $(OUTPUT)cpufreq-bench: $(OBJS)
33 all: $(OUTPUT)cpufreq-bench
35 install: $(OUTPUT)cpufreq-bench
40 install -m 755 $(OUTPUT)cpufreq-bench $(DESTDIR)/$(sbindir)/cpufreq-bench
41 install -m 755 cpufreq-bench_plot.sh $(DESTDIR)/$(bindir)/cpufreq-bench_plot.sh
43 install -m 755 cpufreq-bench_script.sh $(DESTDIR)/$(docdir)/cpufreq-bench_script.sh
44 install -m 644 example.cfg $(DESTDIR)/$(confdir)/cpufreq-bench.conf
48 rm -f $(OUTPUT)cpufreq-bench
H A Dcpufreq-bench_script.sh7 # Ondemand up_threshold and sampling rate test script for cpufreq-bench
30 echo $up_threshold >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
31 echo $sampling_rate >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
32 up_threshold_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold)
33 sampling_rate_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate)
48cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
58 …command="cpufreq-bench_plot.sh -o \"sampling_rate_${SAMPLING_RATE}_up_threshold_${up_threshold}\" …
60 …command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_r…
68 …command="cpufreq-bench_plot.sh -o \"up_threshold_${UP_THRESHOLD}_sampling_rate_${sampling_rate}\" …
70 …command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_r…
[all …]
/linux/drivers/thermal/
H A Dcpufreq_cooling.c14 #include <linux/cpufreq.h>
29 * Cooling state <-> CPUFreq frequency
53 * struct cpufreq_cooling_device - data for cooling device with cpufreq
55 * @cpufreq_state: integer value representing the current state of cpufreq
58 * cpufreq frequencies.
60 * @policy: cpufreq policy.
61 * @cooling_ops: cpufreq callbacks to thermal cooling device ops
216 * cpufreq would have assigned if there were no thermal limits.
342 pr_err("The span of pd %*pbl is misaligned with cpufreq policy %*pbl\n", in em_is_sane()
413 /* Otherwise, fallback on the CPUFreq table */ in get_state_freq()
[all …]
/linux/tools/power/cpupower/man/
H A Dcpupower-frequency-info.14 cpupower\-frequency\-info \- Utility to retrieve cpufreq kernel information
10 A small tool which prints out cpufreq information helpful to developers and interested users.
18 Get frequency the CPU currently runs at, according to the cpufreq core.
27 Determines the used cpufreq kernel driver.
30 Gets the currently used cpufreq policy.
33 Determines available cpufreq governors.
42 Shows cpufreq statistics if available.
48 Prints out information like provided by the /proc/cpufreq interface in 2.4. and early 2.6. kernels.
69 \fI/sys/devices/system/cpu/cpu*/cpufreq/\fP
70 \fI/proc/cpufreq\fP (deprecated)
/linux/arch/arm64/boot/dts/apple/
H A Dt600x-dieX.dtsi9 DIE_NODE(cpufreq_e): cpufreq@210e20000 {
10 …compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
15 DIE_NODE(cpufreq_p0): cpufreq@211e20000 {
16 …compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
21 DIE_NODE(cpufreq_p1): cpufreq@212e20000 {
22 …compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
/linux/Documentation/translations/zh_CN/cpu-freq/
H A Dcpufreq-stats.rst5 :Original: Documentation/cpu-freq/cpufreq-stats.rst
16 sysfs CPUFreq Stats的一般说明
34 cpufreq-stats是一种为每个CPU提供CPU频率统计的驱动。
35 这些统计数据以/sysfs中一系列只读接口的形式呈现。cpufreq-stats接口(若已配置)将为每个CPU生成
36 /sysfs(<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/)中cpufreq目录下的stats目录。
46 cpufreq stats提供了以下统计数据(在下面详细解释)。
57 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # ls -l
79 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state
93 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat total_trans
107 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table
/linux/Documentation/translations/zh_TW/cpu-freq/
H A Dcpufreq-stats.rst5 :Original: Documentation/cpu-freq/cpufreq-stats.rst
16 sysfs CPUFreq Stats的一般說明
34 cpufreq-stats是一種爲每個CPU提供CPU頻率統計的驅動。
35 這些統計數據以/sysfs中一系列只讀接口的形式呈現。cpufreq-stats接口(若已配置)將爲每個CPU生成
36 /sysfs(<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/)中cpufreq目錄下的stats目錄。
46 cpufreq stats提供了以下統計數據(在下面詳細解釋)。
57 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # ls -l
79 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state
93 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat total_trans
107 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table
/linux/tools/testing/selftests/cpufreq/
H A Dcpufreq.sh17 if [ ! -d $CPUROOT/$1/cpufreq ]; then
18 printf "Warning: No cpufreq directory present for $1\n"
24 if [ -d $CPUROOT/$1/cpufreq ]; then
25 printf "Warning: cpufreq directory present for $1\n"
82 # UPDATE CPUFREQ FILES
180 # Basic cpufreq tests
183 printf "*** RUNNING CPUFREQ SANITY TESTS ***\n"
188 ktap_exit_fail_msg "No cpu is managed by cpufreq core, exiting\n"
190 printf "CPUFreq manages: $count CPUs\n\n"
193 # Detect & print which CPUs are not managed by cpufreq
[all...]
H A Dmain.sh5 source cpufreq.sh
24 [-t <basic: Basic cpufreq testing
33 sptest4: CPU hotplugs with updates to cpufreq files.>]
59 CPUFREQROOT="$CPUROOT/cpufreq"
66 if ! ls $CPUROOT/cpufreq > /dev/null 2>&1; then
67 ktap_skip_all "$msg cpufreq directory not available in sysfs"
107 # Check if CPUs are managed by cpufreq or not
111 ktap_exit_fail_msg "No cpu is managed by cpufreq core, exiting"
149 ktap_exit_fail_msg "No cpu is managed by cpufreq core, exiting"
191 dmesg | grep cpufreq >> $1.dmesg_cpufreq.txt
/linux/tools/testing/selftests/amd-pstate/
H A Drun.sh43 all_scaling_names=("acpi-cpufreq" "amd-pstate")
45 # Get current cpufreq scaling driver name
55 # Counts CPUs with cpufreq directories
61 if [ -d $CPUROOT/$cpu/cpufreq ]; then
109 # Exit if cpu isn't managed by cpufreq core
129 printf "No cpu is managed by cpufreq core, exiting\n"
159 [-m <comparative test: acpi-cpufreq>]
251 scaling_driver=$(cat /sys/devices/system/cpu/cpufreq/policy0/scaling_driver)
256 echo "$0 # Current cpufreq scaling driver is $scaling_driver."
264 echo "$0 # Current cpufreq scaling driver is $scaling_driver."
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-system-cpu246 What: /sys/devices/system/cpu/cpuX/cpufreq/*
261 What: /sys/devices/system/cpu/cpuX/cpufreq/freqdomain_cpus
268 That information may be hidden from the cpufreq core and the
271 power/performance results for platforms using acpi-cpufreq.
273 This file is only present if the acpi-cpufreq or the cppc-cpufreq
276 What: /sys/devices/system/cpu/cpuX/cpufreq/auto_select
289 This file is only present if the cppc-cpufreq driver is in use.
291 What: /sys/devices/system/cpu/cpuX/cpufreq/auto_act_window
312 This file is only present if the cppc-cpufreq driver is in use.
314 What: /sys/devices/system/cpu/cpuX/cpufreq/energy_performance_preference_val
[all …]
/linux/Documentation/driver-api/thermal/
H A Dcpu-cooling-api.rst21 1.1 cpufreq registration/unregistration APIs
29 This interface function registers the cpufreq cooling device with the name
30 "thermal-cpufreq-%x". This api can support multiple instances of cpufreq
41 This interface function registers the cpufreq cooling device with
42 the name "thermal-cpufreq-%x" linking it with a device tree node, in
44 instances of cpufreq cooling devices.
47 CPUFreq policy.
54 This interface function unregisters the "thermal-cpufreq-%x" cooling device.
/linux/Documentation/admin-guide/pm/
H A Dintel_pstate.rst17 :doc:`CPU performance scaling subsystem <cpufreq>` in the Linux kernel
18 (``CPUFreq``). It is a scaling driver for the Sandy Bridge and later
21 how ``CPUFreq`` works in general, so this is the time to read
22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.]
29 refer to Intel Software Developer’s Manual [2]_). However, the ``CPUFreq`` core
34 practical for ``intel_pstate`` to supply the ``CPUFreq`` core with a table of
40 CPUs. Consequently, if ``intel_pstate`` is in use, every ``CPUFreq`` policy
41 object corresponds to one logical CPU and ``CPUFreq`` policies are effectively
50 ``sysfs`` which allows another ``CPUFreq`` scaling driver to be loaded and
60 mode it responds to requests made by a generic ``CPUFreq`` governor implementing
[all …]

12345678910>>...14