Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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
31 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
55 obj-$(CONFIG_ARM_ARMADA_37XX_CPUFREQ) += armada-37xx-cpufreq.o
56 obj-$(CONFIG_ARM_ARMADA_8K_CPUFREQ) += armada-8k-cpufreq.o
57 obj-$(CONFIG_ARM_BRCMSTB_AVS_CPUFREQ) += brcmstb-avs-cpufreq.o
59 obj-$(CONFIG_ARCH_DAVINCI) += davinci-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
17 <file:Documentation/admin-guide/pm/cpufreq.rst>.
81 loading your cpufreq low-level hardware driver.
82 Be aware that not all cpufreq drivers support the ondemand
94 loading your cpufreq low-level hardware driver.
95 Be aware that not all cpufreq drivers support the conservative
114 This cpufreq governor sets the frequency statically to the
125 This cpufreq governor sets the frequency statically to the
136 Enable this cpufreq governor when you either want to set the
147 tristate "'ondemand' cpufreq policy governor"
[all …]
/linux-6.1.9/Documentation/translations/zh_CN/cpu-freq/
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 …]
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易于处理的格式。
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-6.1.9/Documentation/translations/zh_TW/cpu-freq/
Dcpufreq-stats.rst5 :Original: :doc:`../../../cpu-freq/cpufreq-stats`
25 3. 配置cpufreq-stats
31 cpufreq-stats是一個爲每個CPU提供CPU頻率統計的驅動。
33 /sysfs(<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/)中cpufreq下的一個單
44 cpufreq stats提供了以下統計數據(在下面詳細解釋)。
55 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # ls -l
77 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state
91 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat total_trans
97 i行,第j列)代表從Freq_i到Freq_j的轉換次數。Freq_i行和Freq_j列遵循驅動最初提供給cpufreq
105 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table
[all …]
Dcore.rst31 cpufreq核心代碼位於drivers/cpufreq/cpufreq.c中。這些cpufreq代碼爲CPUFreq架構的驅
37 cpufreq策略的引用計數由 cpufreq_cpu_get 和 cpufreq_cpu_put 來完成,以確保 cpufreq
39 了每個CPU核的cpufreq 策略在使用期間不會被釋放。
76 flags cpufreq驅動的標誌
85 cpufreq的格式。
Dcpu-drivers.rst40 如此,你剛剛得到了一個全新的CPU/晶片組及其數據手冊,並希望爲這個CPU/晶片組添加cpufreq
64 .flags - cpufreq核的提示。
66 .driver_data - cpufreq驅動程序的特定數據。
97 每當一個新的CPU被註冊到設備模型中,或者在cpufreq驅動註冊自己之後,如果此CPU的cpufreq
155 大多數cpufreq驅動甚至大多數cpu頻率升降算法只允許將CPU頻率設置爲預定義的固定值。對於這些,你
158 有些cpufreq功能的處理器可以自己在某些限制之間切換頻率。這些應使用->setpolicy()回調。
202 也可以查看drivers/cpufreq/longrun.c中的參考實現。
222 由於大多數cpufreq處理器只允許被設置爲幾個特定的頻率,因此,一個帶有一些函數的 「頻率表」可能會輔助處理器驅動
226 CPUFREQ_ENTRY_INVALID。這些條目不需要按照任何特定的順序排序,但如果它們是cpufreq 核心會對它們進行快速的DVFS,
229 如果策略在其policy->freq_table欄位中包含一個有效的指針,cpufreq表就會被核心自動驗證。
/linux-6.1.9/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
/linux-6.1.9/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-6.1.9/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-6.1.9/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.
/linux-6.1.9/tools/testing/selftests/net/forwarding/
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-6.1.9/Documentation/devicetree/bindings/cpufreq/
Dcpufreq-qcom-hw.yaml4 $id: http://devicetree.org/schemas/cpufreq/cpufreq-qcom-hw.yaml#
23 - const: qcom,cpufreq-hw
28 - qcom,sm6375-cpufreq-epss
29 - qcom,sm8250-cpufreq-epss
30 - const: qcom,cpufreq-epss
191 cpufreq@17d43000 {
192 compatible = "qcom,cpufreq-hw";
Dcpufreq-mediatek-hw.yaml4 $id: http://devicetree.org/schemas/cpufreq/cpufreq-mediatek-hw.yaml#
19 const: mediatek,cpufreq-hw
65 compatible = "mediatek,cpufreq-hw";
/linux-6.1.9/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
/linux-6.1.9/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.

123456