/Linux-v6.1/drivers/cpufreq/ |
D | Kconfig.arm | 7 tristate "CPUFreq driver based on the ACPI CPPC spec" 11 This adds a CPUFreq driver which uses CPPC methods 23 bool "Frequency Invariance support for CPPC cpufreq driver" 27 This extends frequency invariance support in the CPPC cpufreq driver, 33 tristate "Allwinner nvmem based SUN50I CPUFreq driver" 38 This adds the nvmem based CPUFreq driver for Allwinner 42 module will be called sun50i-cpufreq-nvmem. 45 tristate "Armada 37xx CPUFreq support" 48 This adds the CPUFreq driver support for Marvell Armada 37xx SoCs. 52 tristate "Armada 8K CPUFreq driver" [all …]
|
D | Makefile | 2 # 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 18 obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o 27 # K8 systems. This is still the case but acpi-cpufreq errors out so that 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 [all …]
|
D | Kconfig | 13 clock speed, you need to either enable a dynamic cpufreq governor 17 <file:Documentation/admin-guide/pm/cpufreq.rst>. 39 prompt "Default CPUFreq governor" 45 This option sets which CPUFreq governor shall be loaded at 52 Use the CPUFreq governor 'performance' as default. This sets 60 Use the CPUFreq governor 'powersave' as default. This sets 68 Use the CPUFreq governor 'userspace' as default. This allows 79 Use the CPUFreq governor 'ondemand' as default. This allows 81 loading your cpufreq low-level hardware driver. 82 Be aware that not all cpufreq drivers support the ondemand [all …]
|
D | loongson1-cpufreq.c | 14 #include <linux/cpufreq.h> 21 #include <cpufreq.h> 34 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() 100 "cpufreq table: index %d: frequency %d\n", i, in ls1x_cpufreq_init() 105 policy->clk = cpufreq->clk; in ls1x_cpufreq_init() [all …]
|
D | davinci-cpufreq.c | 19 #include <linux/cpufreq.h> 23 #include <linux/platform_data/davinci-cpufreq.h> 33 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() [all …]
|
D | s3c2416-cpufreq.c | 3 * S3C2416/2450 CPUfreq Support 15 #include <linux/cpufreq.h> 109 pr_err("cpufreq: Failed to set armdiv rate %dkHz: %d\n", in s3c2416_cpufreq_set_armdiv() 126 pr_debug("cpufreq: already in dvs mode, nothing to do\n"); in s3c2416_cpufreq_enter_dvs() 130 pr_debug("cpufreq: switching armclk to hclk (%lukHz)\n", in s3c2416_cpufreq_enter_dvs() 134 pr_err("cpufreq: Failed to switch armclk to hclk: %d\n", ret); in s3c2416_cpufreq_enter_dvs() 143 pr_debug("cpufreq: setting regulator to %d-%d\n", in s3c2416_cpufreq_enter_dvs() 151 pr_err("cpufreq: Failed to set VDDARM: %d\n", ret); in s3c2416_cpufreq_enter_dvs() 168 pr_debug("cpufreq: not in dvs mode, so can't leave\n"); in s3c2416_cpufreq_leave_dvs() 176 pr_debug("cpufreq: setting regulator to %d-%d\n", in s3c2416_cpufreq_leave_dvs() [all …]
|
D | Kconfig.x86 | 33 module will be called pcc-cpufreq. 44 This driver adds a CPUFreq driver which utilizes a fine grain 66 disabled and set acpi-cpufreq enabled to run test cases, then compare 73 This driver adds a CPUFreq driver which utilizes the ACPI 79 module will be called acpi-cpufreq. 101 This adds the CPUFreq driver for AMD Elan SC400 and SC410 116 This adds the CPUFreq driver for AMD Elan SC520 processor. 127 This adds the CPUFreq driver for mobile AMD K6-2+ and mobile 138 This adds the CPUFreq driver for mobile AMD K7 mobile processors. 155 This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors. [all …]
|
D | imx-cpufreq-dt.c | 8 #include <linux/cpufreq.h> 20 #include "cpufreq-dt.h" 32 /* cpufreq-dt device registered by imx-cpufreq-dt */ 101 dt_pdev = platform_device_register_data(NULL, "cpufreq-dt", in imx_cpufreq_dt_probe() 107 dev_err(&pdev->dev, "Failed to register cpufreq-dt: %d\n", ret); in imx_cpufreq_dt_probe() 164 &pdev->dev, "cpufreq-dt", -1, NULL, 0); in imx_cpufreq_dt_probe() 168 dev_err(&pdev->dev, "Failed to register cpufreq-dt: %d\n", ret); in imx_cpufreq_dt_probe() 190 .name = "imx-cpufreq-dt", 195 MODULE_ALIAS("platform:imx-cpufreq-dt"); 196 MODULE_DESCRIPTION("Freescale i.MX cpufreq speed grading driver");
|
/Linux-v6.1/tools/power/cpupower/po/ |
D | pt.po | 225 #: 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 …]
|
D | it.po | 227 #: 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 …]
|
D | cs.po | 232 #: 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 …]
|
D | fr.po | 227 #: 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 …]
|
D | de.po | 239 #: 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-v6.1/Documentation/cpu-freq/ |
D | core.rst | 4 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 …]
|
D | cpufreq-stats.rst | 4 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-v6.1/tools/power/cpupower/bench/ |
D | Makefile | 12 $(OUTPUT)../lib/cpufreq.o $(OUTPUT)../lib/cpupower.o 18 CFLAGS += -D_GNU_SOURCE -I../lib -DDEFAULT_CONFIG_FILE=\"$(confdir)/cpufreq-bench.conf\" 24 $(OUTPUT)cpufreq-bench: $(OBJS) 28 all: $(OUTPUT)cpufreq-bench 30 install: $(OUTPUT)cpufreq-bench 35 install -m 755 $(OUTPUT)cpufreq-bench $(DESTDIR)/$(sbindir)/cpufreq-bench 36 install -m 755 cpufreq-bench_plot.sh $(DESTDIR)/$(bindir)/cpufreq-bench_plot.sh 38 install -m 755 cpufreq-bench_script.sh $(DESTDIR)/$(docdir)/cpufreq-bench_script.sh 39 install -m 644 example.cfg $(DESTDIR)/$(confdir)/cpufreq-bench.conf 43 rm -f $(OUTPUT)cpufreq-bench
|
D | cpufreq-bench_script.sh | 7 # 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) 48 …cpufreq-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-v6.1/tools/power/cpupower/ |
D | .gitignore | 6 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-v6.1/drivers/thermal/ |
D | cpufreq_cooling.c | 14 #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. 62 * @policy: cpufreq policy. 63 * @cooling_ops: cpufreq callbacks to thermal cooling device ops 204 * cpufreq would have assigned if there were no thermal limits. 324 pr_err("The span of pd %*pbl is misaligned with cpufreq policy %*pbl\n", in em_is_sane() 386 /* Otherwise, fallback on the CPUFreq table */ in get_state_freq() [all …]
|
/Linux-v6.1/tools/power/cpupower/man/ |
D | cpupower-frequency-info.1 | 4 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-v6.1/Documentation/devicetree/bindings/cpufreq/ |
D | cpufreq-qcom-hw.yaml | 4 $id: http://devicetree.org/schemas/cpufreq/cpufreq-qcom-hw.yaml# 7 title: Qualcomm Technologies, Inc. CPUFREQ 14 CPUFREQ HW is a hardware engine used by some Qualcomm Technologies, Inc. (QTI) 21 - description: v1 of CPUFREQ HW 23 - const: qcom,cpufreq-hw 25 - description: v2 of CPUFREQ HW (EPSS) 28 - qcom,sm6375-cpufreq-epss 29 - qcom,sm8250-cpufreq-epss 30 - const: qcom,cpufreq-epss 191 cpufreq@17d43000 { [all …]
|
/Linux-v6.1/Documentation/translations/zh_CN/cpu-freq/ |
D | cpufreq-stats.rst | 5 :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-v6.1/tools/testing/selftests/cpufreq/ |
D | main.sh | 5 source cpufreq.sh 24 [-t <basic: Basic cpufreq testing 31 sptest4: CPU hotplugs with updates to cpufreq files.>] 57 CPUFREQROOT="$CPUROOT/cpufreq" 64 if ! ls $CPUROOT/cpufreq > /dev/null 2>&1; then 65 echo $msg cpufreq directory not available in sysfs >&2 104 # Check if CPUs are managed by cpufreq or not 108 echo "No cpu is managed by cpufreq core, exiting" 140 echo "No cpu is managed by cpufreq core, exiting" 183 dmesg | grep cpufreq >> $1.dmesg_cpufreq.txt
|
D | cpufreq.sh | 17 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" 75 # UPDATE CPUFREQ FILES 173 # Basic cpufreq tests 176 printf "*** RUNNING CPUFREQ SANITY TESTS ***\n" 181 printf "No cpu is managed by cpufreq core, exiting\n" 184 printf "CPUFreq manages: $count CPUs\n\n" 187 # Detect & print which CPUs are not managed by cpufreq [all …]
|
/Linux-v6.1/Documentation/translations/zh_TW/cpu-freq/ |
D | cpufreq-stats.rst | 5 :Original: :doc:`../../../cpu-freq/cpufreq-stats` 13 sysfs 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 105 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table
|