Home
last modified time | relevance | path

Searched refs:cpufreq (Results 1 – 25 of 100) sorted by relevance

1234

/Linux-v5.10/drivers/cpufreq/
DMakefile3 obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
17 obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
18 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
27 obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
29 obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
43 obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
46 obj-$(CONFIG_X86_SFI_CPUFREQ) += sfi-cpufreq.o
50 obj-$(CONFIG_ARM_ARMADA_37XX_CPUFREQ) += armada-37xx-cpufreq.o
51 obj-$(CONFIG_ARM_ARMADA_8K_CPUFREQ) += armada-8k-cpufreq.o
52 obj-$(CONFIG_ARM_BRCMSTB_AVS_CPUFREQ) += brcmstb-avs-cpufreq.o
[all …]
Ddavinci-cpufreq.c33 static struct davinci_cpufreq cpufreq; variable
37 struct davinci_cpufreq_config *pdata = cpufreq.dev->platform_data; in davinci_target()
38 struct clk *armclk = cpufreq.armclk; in davinci_target()
56 if (cpufreq.asyncclk) { in davinci_target()
57 ret = clk_set_rate(cpufreq.asyncclk, cpufreq.asyncrate); in davinci_target()
72 struct davinci_cpufreq_config *pdata = cpufreq.dev->platform_data; in davinci_cpu_init()
85 policy->clk = cpufreq.armclk; in davinci_cpu_init()
117 cpufreq.dev = &pdev->dev; in davinci_cpufreq_probe()
119 cpufreq.armclk = clk_get(NULL, "arm"); in davinci_cpufreq_probe()
120 if (IS_ERR(cpufreq.armclk)) { in davinci_cpufreq_probe()
[all …]
Dloongson1-cpufreq.c34 static struct ls1x_cpufreq *cpufreq; variable
67 clk_set_parent(policy->clk, cpufreq->osc_clk); in ls1x_cpufreq_target()
72 clk_set_rate(cpufreq->mux_clk, new_freq * 1000); in ls1x_cpufreq_target()
73 clk_set_parent(policy->clk, cpufreq->mux_clk); in ls1x_cpufreq_target()
86 pll_freq = clk_get_rate(cpufreq->pll_clk) / 1000; in ls1x_cpufreq_init()
95 if ((freq < cpufreq->min_freq) || (freq > cpufreq->max_freq)) in ls1x_cpufreq_init()
105 policy->clk = cpufreq->clk; in ls1x_cpufreq_init()
148 cpufreq = in ls1x_cpufreq_probe()
150 if (!cpufreq) in ls1x_cpufreq_probe()
153 cpufreq->dev = &pdev->dev; in ls1x_cpufreq_probe()
[all …]
DKconfig13 clock speed, you need to either enable a dynamic cpufreq governor
80 loading your cpufreq low-level hardware driver.
81 Be aware that not all cpufreq drivers support the ondemand
93 loading your cpufreq low-level hardware driver.
94 Be aware that not all cpufreq drivers support the conservative
113 This cpufreq governor sets the frequency statically to the
124 This cpufreq governor sets the frequency statically to the
135 Enable this cpufreq governor when you either want to set the
148 tristate "'ondemand' cpufreq policy governor"
151 'ondemand' - This driver adds a dynamic cpufreq policy governor.
[all …]
DKconfig.arm32 module will be called sun50i-cpufreq-nvmem.
94 tristate "Freescale i.MX6 cpufreq support"
100 This adds cpufreq driver support for Freescale i.MX6 series SoCs.
105 tristate "Freescale i.MX8M cpufreq support"
108 This adds cpufreq driver support for Freescale i.MX8M series SoCs,
109 based on cpufreq-dt.
150 The driver implements the cpufreq interface for this HW engine.
154 tristate "Raspberry Pi cpufreq support"
164 Internal configuration node for common cpufreq on Samsung SoC
331 use the cpufreq-dt driver on all Texas Instruments platforms that
[all …]
/Linux-v5.10/tools/power/cpupower/
D.gitignore6 cpufreq-info
7 cpufreq-set
8 cpufreq-aperf
10 lib/cpufreq.lo
11 lib/cpufreq.o
18 utils/cpufreq-info.o
19 utils/cpufreq-set.o
20 utils/cpufreq-aperf.o
22 bench/cpufreq-bench
DREADME16 tools and programs to the cpufreq core and drivers in the Linux kernel. This
18 the interaction to the cpufreq core, and support for both the sysfs and proc
30 /usr/lib; cpupower, cpufreq-bench_plot.sh to put in /usr/bin; and
31 cpufreq-bench to put in /usr/sbin. If you want to set up the paths
/Linux-v5.10/tools/power/cpupower/po/
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 …]
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 …]
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 …]
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 …]
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 …]
/Linux-v5.10/tools/power/cpupower/bench/
Dcpufreq-bench_script.sh30 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}
DREADME-BENCH1 This is cpufreq-bench, a microbenchmark for the cpufreq framework.
10 - (Stress) Testing whether a cpufreq low level driver or governor works
12 - Identify cpufreq related performance regressions between kernels
27 cpufreq-bench helps to test the condition of a given cpufreq governor.
80 trigger of the cpufreq-bench, you will see no performance loss (compare with
107 cpufreq-bench Command Usage
115 -g, --governor=<governor> cpufreq governor to test
/Linux-v5.10/Documentation/cpu-freq/
Dcpufreq-stats.rst16 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
108 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table
[all …]
Dcore.rst22 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
80 flags flags of the cpufreq driver
90 into a format readily providable to cpufreq.
Dcpu-drivers.rst32 add cpufreq support for this CPU / chipset? Great. Here are some hints
57 .flags - Hints for the cpufreq core.
59 .driver_data - cpufreq driver specific data.
100 cpufreq driver registers itself, the per-policy initialization function
101 cpufreq_driver.init is called if no cpufreq policy existed for the CPU.
163 Most cpufreq drivers or even most cpu frequency scaling algorithms
168 Some cpufreq capable processors switch the frequency between certain
223 the reference implementation in drivers/cpufreq/longrun.c
247 As most cpufreq processors only allow for being set to a few specific
256 particular order, but if they are cpufreq core will do DVFS a bit
[all …]
Dindex.rst19 cpufreq-stats
30 * ftp://ftp.linux.org.uk/pub/linux/cpufreq/
/Linux-v5.10/tools/testing/selftests/cpufreq/
Dmain.sh5 source cpufreq.sh
64 if ! ls $CPUROOT/cpufreq > /dev/null 2>&1; then
65 echo $msg cpufreq directory not available in sysfs >&2
183 dmesg | grep cpufreq >> $1.dmesg_cpufreq.txt
Dcpu.sh13 source cpufreq.sh
79 if [ -d $CPUROOT/$cpu/cpufreq ]; then
Dgovernor.sh14 source cpufreq.sh
79 echo $2 > $CPUROOT/$1/cpufreq/scaling_governor
/Linux-v5.10/Documentation/driver-api/thermal/
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.
54 This interface function unregisters the "thermal-cpufreq-%x" cooling device.
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-devices-system-cpu240 What: /sys/devices/system/cpu/cpu#/cpufreq/*
255 What: /sys/devices/system/cpu/cpu#/cpufreq/freqdomain_cpus
262 That information may be hidden from the cpufreq core and the
265 power/performance results for platforms using acpi-cpufreq.
267 This file is only present if the acpi-cpufreq driver is in use.
290 What: /sys/devices/system/cpu/cpufreq/boost
300 Documentation/admin-guide/pm/cpufreq.rst
416 What: /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats
417 /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/turbo_stat
418 /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/sub_turbo_stat
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/cpufreq/
Dcpufreq-spear.txt1 SPEAr cpufreq driver
4 SPEAr SoC cpufreq driver for CPU frequency scaling.
Dcpufreq-qcom-hw.txt11 Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss".
162 cpufreq_hw: cpufreq@17d43000 {
163 compatible = "qcom,cpufreq-hw";

1234