Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A DMakefile3 obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
21 obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
22 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
24 obj-$(CONFIG_CPUFREQ_DUMMY) += dummy-cpufreq.o
33 obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
35 obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
49 obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
52 obj-$(CONFIG_X86_SFI_CPUFREQ) += sfi-cpufreq.o
56 obj-$(CONFIG_ARM_ARMADA_37XX_CPUFREQ) += armada-37xx-cpufreq.o
57 obj-$(CONFIG_ARM_ARMADA_8K_CPUFREQ) += armada-8k-cpufreq.o
[all …]
H A 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 …]
H A 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 …]
H A DKconfig13 clock speed, you need to either enable a dynamic cpufreq governor
87 loading your cpufreq low-level hardware driver.
88 Be aware that not all cpufreq drivers support the ondemand
100 loading your cpufreq low-level hardware driver.
101 Be aware that not all cpufreq drivers support the conservative
123 loading your cpufreq low-level hardware driver, using the
131 This cpufreq governor sets the frequency statically to the
142 This cpufreq governor sets the frequency statically to the
153 Enable this cpufreq governor when you either want to set the
166 tristate "'ondemand' cpufreq policy governor"
[all …]
H A 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"
167 based on cpufreq-dt.
174 Internal configuration node for common cpufreq on Samsung SoC
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/tools/power/cpupower/
H A 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
H A 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
/OK3568_Linux_fs/kernel/Documentation/cpu-freq/
H A 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 …]
H A 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.
H A 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 …]
/OK3568_Linux_fs/kernel/tools/power/cpupower/bench/
H A 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}
H A 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
/OK3568_Linux_fs/external/security/librkcrypto/perf_reports/
H A DReadMe_CN.md5 - cpu用户空间设置 :`echo userspace > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor`
6 - 查看是否设置成功 :`cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor`
7 - cpu频率列表 :`cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies`
8 - cpu频率设置 :`echo 408000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed`
9 - cpu查看当前频率 :`cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq`
H A DReadMe_EN.md5 - Set to userspace mode : `echo userspace > /sys/devices/system/cpu/cpufreq/policy0/sca…
6 - Check mode set succeed : `cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor`
7 - List all available frequencies : `cat /sys/devices/system/cpu/cpufreq/policy0/scaling_availabl…
8 - Set highest frequency : `echo 408000 > /sys/devices/system/cpu/cpufreq/policy0/scalin…
9 - Check frequency : `cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq`
/OK3568_Linux_fs/kernel/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.
54 This interface function unregisters the "thermal-cpufreq-%x" cooling device.
/OK3568_Linux_fs/kernel/tools/testing/selftests/cpufreq/
H A 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
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-bsp/cpufrequtils/
H A Dcpufrequtils_008.bb1 DESCRIPTION = "To make access to the Linux kernel cpufreq subsystem easier for users and cpufreq us…
11 # SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A 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 …]
/OK3568_Linux_fs/external/rk_pcba_test/
H A Decho_cpu_test.c145 char cpufreq[64]; in get_curl_freq() local
162 if (fgets(cpufreq, sizeof(cpufreq), pp) == NULL) { in get_curl_freq()
168 cpu_curl_freq = atoi(cpufreq); in get_curl_freq()
/OK3568_Linux_fs/external/rockchip-test/cpu/
H A Dcpu_freq_scaling.sh16 for d in /sys/devices/system/cpu/cpufreq/*; do
32 for d in /sys/devices/system/cpu/cpufreq/*; do

1234567