Home
last modified time | relevance | path

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

12345

/linux/Documentation/translations/zh_CN/cpu-freq/
H A Dcpufreq-stats.rst5 :Original: Documentation/cpu-freq/cpufreq-stats.rst
28 3. 配置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
99 i行,第j列)代表从Freq_i到Freq_j的转换次数。Freq_i行和Freq_j列遵循驱动最初提供给cpufreq
[all …]
H A Dcore.rst33 cpufreq核心代码位于drivers/cpufreq/cpufreq.c中。这些cpufreq代码为CPUFreq架构的驱
39 cpufreq策略的引用计数由 cpufreq_cpu_get 和 cpufreq_cpu_put 来完成,以确保 cpufreq
41 了每个CPU核的cpufreq 策略在使用期间不会被释放。
78 flags cpufreq驱动的标志
87 cpufreq易于处理的格式。
H A Dcpu-drivers.rst43 如果,你刚刚得到了一个全新的CPU/芯片组及其数据手册,并希望为这个CPU/芯片组添加cpufreq
67 .flags - 给cpufreq核心的提示。
69 .driver_data - cpufreq驱动程序的特有数据。
100 每当一个新的CPU被注册到设备模型中,或者当cpufreq驱动注册自身之后,如果此CPU的cpufreq
155 大多数cpufreq驱动甚至大多数CPU频率升降算法只允许将CPU频率设置为预定义的固定值。对于这些,你
203 也可以查看drivers/cpufreq/longrun.c中的参考实现。
211 该频率,然后再跳转到'index'对应的频率。cpufreq核心会负责发送通知,驱动不必在
215 在这种情况下,cpufreq核心将直接调用->target_index()。
218 因为cpufreq核心会为此发送通知。
224 由于大多数支持cpufreq的处理器只允许被设置为几个特定的频率,因此,"频率表"和一些相关函数可能会辅助处理器驱动
[all …]
/linux/Documentation/translations/zh_TW/cpu-freq/
H A Dcpufreq-stats.rst5 :Original: Documentation/cpu-freq/cpufreq-stats.rst
28 3. 配置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
99 i行,第j列)代表從Freq_i到Freq_j的轉換次數。Freq_i行和Freq_j列遵循驅動最初提供給cpufreq
[all …]
H A Dcore.rst33 cpufreq核心代碼位於drivers/cpufreq/cpufreq.c中。這些cpufreq代碼爲CPUFreq架構的驅
39 cpufreq策略的引用計數由 cpufreq_cpu_get 和 cpufreq_cpu_put 來完成,以確保 cpufreq
41 了每個CPU核的cpufreq 策略在使用期間不會被釋放。
78 flags cpufreq驅動的標誌
87 cpufreq易於處理的格式。
H A Dcpu-drivers.rst43 如果,你剛剛得到了一個全新的CPU/芯片組及其數據手冊,並希望爲這個CPU/芯片組添加cpufreq
67 .flags - 給cpufreq核心的提示。
69 .driver_data - cpufreq驅動程序的特有數據。
100 每當一個新的CPU被註冊到設備模型中,或者當cpufreq驅動註冊自身之後,如果此CPU的cpufreq
155 大多數cpufreq驅動甚至大多數CPU頻率升降算法只允許將CPU頻率設置爲預定義的固定值。對於這些,你
203 也可以查看drivers/cpufreq/longrun.c中的參考實現。
211 該頻率,然後再跳轉到'index'對應的頻率。cpufreq核心會負責發送通知,驅動不必在
215 在這種情況下,cpufreq核心將直接調用->target_index()。
218 因爲cpufreq核心會爲此發送通知。
224 由於大多數支持cpufreq的處理器只允許被設置爲幾個特定的頻率,因此,"頻率表"和一些相關函數可能會輔助處理器驅動
[all …]
/linux/tools/power/cpupower/po/
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 …]
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 …]
/linux/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
/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/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.
94 cpufreq driver registers itself, the per-policy initialization function
95 cpufreq_driver.init is called if no cpufreq policy existed for the CPU.
157 Most cpufreq drivers or even most cpu frequency scaling algorithms
162 Some cpufreq capable processors switch the frequency between certain
217 the reference implementation in drivers/cpufreq/longrun.c
241 As most cpufreq processors only allow for being set to a few specific
250 particular order, but if they are cpufreq core will do DVFS a bit
[all …]
/linux/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
/linux/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh113 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then
122 cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_max_freq > \
123 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq
125 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor
134 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then
138 echo "${!freq}" > /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq
140 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor
/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.
54 This interface function unregisters the "thermal-cpufreq-%x" cooling device.
/linux/Documentation/admin-guide/pm/
H A Damd-pstate.rst194 the kernel will fall back to initialize the ``acpi-cpufreq`` driver.
238 ``/sys/devices/system/cpu/cpufreq/policyX/`` directory and affect all CPUs. ::
240 root@hr-test1:/home/ray# ls /sys/devices/system/cpu/cpufreq/policy0/*amd*
241 /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_highest_perf
242 /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_lowest_nonlinear_freq
243 /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_max_freq
309 `/sys/devices/system/cpu/cpuX/cpufreq/boost`, where `X` represents the CPU number.
315 ``amd-pstate`` vs ``acpi-cpufreq``
318 On the majority of AMD platforms supported by ``acpi-cpufreq``, the ACPI tables
484 available cpufreq governors: ondemand conservative powersave userspace performance schedutil
[all …]
/linux/Documentation/translations/zh_CN/power/
H A Dopp.rst55 如德州仪器的OMAP框架允许在不需要cpufreq的情况下可选地在某一OPP下启动。
83 子系统(比如cpufreq)的通知机制,都是由使用OPP库的SoC特定框架酌情处理的。在这些操作
84 中,同样需要注意刷新cpufreq表。
112 /* 做一些和cpufreq相关的事情 */
119 cpufreq等高层框架对频率进行操作,为了将频率映射到相应的OPP,OPP库提供了便利的函数
228 例子: 当cpufreq切换到到不同频率时,SoC框架需要用稳压器框架将OPP描述
/linux/drivers/cpufreq/
H A DKconfig.arm16 module will be called sun50i-cpufreq-nvmem.
90 tristate "Freescale i.MX6 cpufreq support"
96 This adds cpufreq driver support for Freescale i.MX6 series SoCs.
101 tristate "Freescale i.MX8M cpufreq support"
105 This adds cpufreq driver support for Freescale i.MX7/i.MX8M
106 series SoCs, based on cpufreq-dt.
133 The driver implements the cpufreq interface for this HW engine.
161 The driver implements the cpufreq interface for this HW engine.
165 tristate "Raspberry Pi cpufreq support"
261 use the cpufreq-dt driver on all Texas Instruments platforms that
[all …]
/linux/tools/testing/selftests/cpufreq/
H A Dmain.sh5 source cpufreq.sh
66 if ! ls $CPUROOT/cpufreq > /dev/null 2>&1; then
191 dmesg | grep cpufreq >> $1.dmesg_cpufreq.txt

12345