/Linux-v5.4/drivers/cpufreq/ |
D | tegra20-cpufreq.c | 42 struct tegra20_cpufreq *cpufreq = cpufreq_get_driver_data(); in tegra_get_intermediate() local 43 unsigned int ifreq = clk_get_rate(cpufreq->pll_p_clk) / 1000; in tegra_get_intermediate() 59 struct tegra20_cpufreq *cpufreq = cpufreq_get_driver_data(); in tegra_target_intermediate() local 72 clk_prepare_enable(cpufreq->pll_x_clk); in tegra_target_intermediate() 74 ret = clk_set_parent(cpufreq->cpu_clk, cpufreq->pll_p_clk); in tegra_target_intermediate() 76 clk_disable_unprepare(cpufreq->pll_x_clk); in tegra_target_intermediate() 78 cpufreq->pll_x_prepared = true; in tegra_target_intermediate() 85 struct tegra20_cpufreq *cpufreq = cpufreq_get_driver_data(); in tegra_target() local 87 unsigned int ifreq = clk_get_rate(cpufreq->pll_p_clk) / 1000; in tegra_target() 95 return clk_set_parent(cpufreq->cpu_clk, cpufreq->pll_p_clk); in tegra_target() [all …]
|
D | Makefile | 3 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 52 obj-$(CONFIG_ARM_ARMADA_37XX_CPUFREQ) += armada-37xx-cpufreq.o 53 obj-$(CONFIG_ARM_ARMADA_8K_CPUFREQ) += armada-8k-cpufreq.o 54 obj-$(CONFIG_ARM_BRCMSTB_AVS_CPUFREQ) += brcmstb-avs-cpufreq.o [all …]
|
D | davinci-cpufreq.c | 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() 119 cpufreq.armclk = clk_get(NULL, "arm"); in davinci_cpufreq_probe() 120 if (IS_ERR(cpufreq.armclk)) { in davinci_cpufreq_probe() [all …]
|
D | loongson1-cpufreq.c | 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() 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 …]
|
D | Kconfig | 13 clock speed, you need to either enable a dynamic cpufreq governor 77 loading your cpufreq low-level hardware driver. 78 Be aware that not all cpufreq drivers support the ondemand 89 loading your cpufreq low-level hardware driver. 90 Be aware that not all cpufreq drivers support the conservative 109 This cpufreq governor sets the frequency statically to the 120 This cpufreq governor sets the frequency statically to the 131 Enable this cpufreq governor when you either want to set the 144 tristate "'ondemand' cpufreq policy governor" 147 'ondemand' - This driver adds a dynamic cpufreq policy governor. [all …]
|
D | Kconfig.arm | 32 module will be called sun50i-cpufreq-nvmem. 99 tristate "Freescale i.MX6 cpufreq support" 104 This adds cpufreq driver support for Freescale i.MX6 series SoCs. 109 tristate "Freescale i.MX8M cpufreq support" 112 This adds cpufreq driver support for Freescale i.MX8M series SoCs, 113 based on cpufreq-dt. 154 The driver implements the cpufreq interface for this HW engine. 158 tristate "Raspberry Pi cpufreq support" 168 Internal configuration node for common cpufreq on Samsung SoC 329 use the cpufreq-dt driver on all Texas Instruments platforms that [all …]
|
/Linux-v5.4/tools/power/cpupower/ |
D | .gitignore | 5 cpufreq-info 6 cpufreq-set 7 cpufreq-aperf 9 lib/cpufreq.lo 10 lib/cpufreq.o 17 utils/cpufreq-info.o 18 utils/cpufreq-set.o 19 utils/cpufreq-aperf.o 21 bench/cpufreq-bench
|
D | README | 16 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.4/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-v5.4/tools/power/cpupower/bench/ |
D | cpufreq-bench_script.sh | 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}
|
D | README-BENCH | 1 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.4/Documentation/cpu-freq/ |
D | cpufreq-stats.txt | 15 3. Configuring cpufreq-stats 20 cpufreq-stats is a driver that provides CPU frequency statistics for each CPU. 22 interface (when configured) will appear in a separate directory under cpufreq 23 in /sysfs (<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU. 32 cpufreq stats provides following statistics (explained in detail below). 43 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # ls -l 66 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state 81 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat total_trans 90 which the driver has provided the frequency table initially to the cpufreq core 99 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat trans_table [all …]
|
D | index.txt | 27 cpu-drivers.txt - How to implement a new cpufreq processor driver. 29 cpufreq-nforce2.txt - nVidia nForce2 platform specific file. 31 cpufreq-stats.txt - General description of sysfs cpufreq stats. 35 pcc-cpufreq.txt - PCC cpufreq driver specific file. 47 * ftp://ftp.linux.org.uk/pub/linux/cpufreq/
|
D | core.txt | 30 The CPUFreq core code is located in drivers/cpufreq/cpufreq.c. This 31 cpufreq code offers a standardized interface for the CPUFreq 41 Reference counting of the cpufreq policies is done by cpufreq_cpu_get 42 and cpufreq_cpu_put, which make sure that the cpufreq driver is 44 cpufreq_put_cpu is called. That also ensures that the respective cpufreq 86 flags - flags of the cpufreq driver 95 into a format readily providable to cpufreq.
|
D | cpu-drivers.txt | 40 add cpufreq support for this CPU / chipset? Great. Here are some hints 65 .flags - Hints for the cpufreq core. 67 .driver_data - cpufreq driver specific data. 108 cpufreq driver registers itself, the per-policy initialization function 109 cpufreq_driver.init is called if no cpufreq policy existed for the CPU. 166 Most cpufreq drivers or even most cpu frequency scaling algorithms 171 Some cpufreq capable processors switch the frequency between certain 226 the reference implementation in drivers/cpufreq/longrun.c 250 As most cpufreq processors only allow for being set to a few specific 259 particular order, but if they are cpufreq core will do DVFS a bit [all …]
|
/Linux-v5.4/tools/testing/selftests/cpufreq/ |
D | main.sh | 5 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
|
D | cpu.sh | 13 source cpufreq.sh 79 if [ -d $CPUROOT/$cpu/cpufreq ]; then
|
D | governor.sh | 14 source cpufreq.sh 79 echo $2 > $CPUROOT/$1/cpufreq/scaling_governor
|
/Linux-v5.4/Documentation/driver-api/thermal/ |
D | cpu-cooling-api.rst | 21 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.4/Documentation/ABI/testing/ |
D | sysfs-devices-system-cpu | 235 What: /sys/devices/system/cpu/cpu#/cpufreq/* 250 What: /sys/devices/system/cpu/cpu#/cpufreq/freqdomain_cpus 257 That information may be hidden from the cpufreq core and the 260 power/performance results for platforms using acpi-cpufreq. 262 This file is only present if the acpi-cpufreq driver is in use. 285 What: /sys/devices/system/cpu/cpufreq/boost 294 Documentation/admin-guide/pm/cpufreq.rst 396 What: /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats 397 /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/turbo_stat 398 /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/sub_turbo_stat [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/cpufreq/ |
D | cpufreq-spear.txt | 1 SPEAr cpufreq driver 4 SPEAr SoC cpufreq driver for CPU frequency scaling.
|