Home
last modified time | relevance | path

Searched +full:virtual +full:- +full:cpufreq (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/cpufreq/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 # CPUfreq core
3 obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
5 # CPUfreq stats
6 obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o
8 # CPUfreq governors
9 obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o
10 obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
11 obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o
12 obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 clock speed, you need to either enable a dynamic cpufreq governor
16 <file:Documentation/admin-guide/pm/cpufreq.rst>.
38 prompt "Default CPUFreq governor"
44 This option sets which CPUFreq governor shall be loaded at
51 Use the CPUFreq governor 'performance' as default. This sets
59 Use the CPUFreq governor 'powersave' as default. This sets
67 Use the CPUFreq governor 'userspace' as default. This allows
78 Use the CPUFreq governor 'ondemand' as default. This allows
80 loading your cpufreq low-level hardware driver.
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-system-cpu2 Date: pre-git history
3 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
18 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
37 See Documentation/admin-guide/cputopology.rst for more information.
43 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
58 Contact: Linux memory management mailing list <linux-mm@kvack.org>
67 /sys/devices/system/cpu/cpu42/node2 -> ../../node/node2
77 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
89 core_siblings_list: human-readable list of the logical CPU
99 thread_siblings_list: human-readable list of cpuX's hardware
[all …]
/linux/arch/arm/mach-spear/
H A Dspear1310.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-spear13xx/spear1310.c
26 platform_device_register_simple("spear-cpufreq", -1, NULL, 0); in spear1310_dt_init()
31 "st,spear1310-evb",
36 * Following will create 16MB static virtual/physical mappings
37 * PHYSICAL VIRTUAL
42 .virtual = VA_SPEAR1310_RAS_GRP1_BASE,
/linux/arch/arm/mach-tegra/
H A Dtegra.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/dma-mapping.h>
34 #include <asm/hardware/cache-l2x0.h>
37 #include <asm/mach-types.h>
49 * Storage for debug-macro.S's state.
52 * kernel is loaded. The data is declared here rather than debug-macro.S so
53 * that multiple inclusions of debug-macro.S point at the same data.
60 /* Debug UART virtual address */
92 platform_device_register_simple("tegra20-cpufreq", -1, NULL, 0); in tegra_dt_init_late()
95 platform_device_register_simple("tegra-cpuidle", -1, NULL, 0); in tegra_dt_init_late()
[all …]
H A Dsleep-tegra30.S1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <asm/asm-offsets.h>
81 .arch armv7-a
192 * Puts the current CPU in wait-for-event mode on the flow controller
193 * and powergates it -- flags (in R0) indicate the request type.
196 * corrupts r0-r4, r10-r12
210 add r1, r1, r12 @ virtual CSR address for this CPU
212 add r2, r2, r12 @ virtual HALT_EVENTS address for this CPU
293 * CPU power-gating process, to avoid loading from SDRAM which
294 * are not supported once SDRAM is put into self-refresh.
[all …]
/linux/arch/arm/mach-s5pv210/
H A Ds5pv210.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (c) 2013-2014 Samsung Electronics Co., Ltd.
17 #include "regs-clock.h"
26 if (!of_flat_dt_is_compatible(node, "samsung,s5pv210-clock")) in s5pv210_fdt_map_sys()
34 iodesc.length = be32_to_cpu(reg[1]) - 1; in s5pv210_fdt_map_sys()
35 iodesc.virtual = (unsigned long)S3C_VA_SYS; in s5pv210_fdt_map_sys()
56 platform_device_register_simple("s5pv210-cpufreq", -1, NULL, 0); in s5pv210_dt_init_late()
66 DT_MACHINE_START(S5PV210_DT, "Samsung S5PC110/S5PV210-based board")
/linux/drivers/clk/
H A Dclk-scpi.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
32 return clk->scpi_ops->clk_get_val(clk->id); in scpi_clk_recalc_rate()
52 return clk->scpi_ops->clk_set_val(clk->id, rate); in scpi_clk_set_rate()
66 const struct scpi_opp *opp = clk->info->opps; in __scpi_dvfs_round_rate()
68 for (idx = 0; idx < clk->info->count; idx++, opp++) { in __scpi_dvfs_round_rate()
69 ftmp = opp->freq; in __scpi_dvfs_round_rate()
85 int idx = clk->scpi_ops->dvfs_get_idx(clk->id); in scpi_dvfs_recalc_rate()
91 opp = clk->info->opps + idx; in scpi_dvfs_recalc_rate()
92 return opp->freq; in scpi_dvfs_recalc_rate()
[all …]
/linux/tools/power/x86/turbostat/
H A Dturbostat.83 turbostat \- Report processor frequency and idle statistics
12 .RB [ "\--interval seconds" ]
15 idle power-state statistics, temperature and power on X86 processors.
19 in one-shot upon its completion.
22 The 5-second interval can be changed using the --interval option.
26 Options can be specified with a single or double '-', and only as much of the option
27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv…
29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri…
38 For a complete example see "ADD PERF COUNTER EXAMPLE #2 (using virtual "cpu" device)".
39 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency
[all …]
/linux/drivers/xen/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
32 2) control domain: xl mem-max <target-domain> <maxmem>
35 3) control domain: xl mem-set <target-domain> <memory>
51 …SUBSYSTEM=="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /…
97 to other virtual machines.
130 virtual environment, /sys/hypervisor will still be present,
145 bool "Add support for dma-buf grant access device driver extension"
150 dma-buf implementation. With this extension grant references to
151 the pages of an imported dma-buf can be exported for other domain
153 converted into a local dma-buf for local export.
[all …]
H A Dxen-acpi-processor.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * https://lore.kernel.org/lkml/1322673664-14642-6-git-send-email-konrad.wilk@oracle.com
15 #include <linux/cpufreq.h>
35 * - as those shrink to nr_cpu_bits (which is dependent on possible_cpu), which
40 /* Mutex to protect the acpi_ids_done - for CPU hotplug use. */
48 /* Which ACPI P-State dependencies for a enumerated processor */
56 .u.set_pminfo.id = _pr->acpi_id, in push_cxx_to_hypervisor()
64 dst_cx_states = kcalloc(_pr->power.count, in push_cxx_to_hypervisor()
67 return -ENOMEM; in push_cxx_to_hypervisor()
69 for (ok = 0, i = 1; i <= _pr->power.count; i++) { in push_cxx_to_hypervisor()
[all …]
/linux/drivers/macintosh/
H A Dwindfarm_pm121.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * that none of the code has been re-used, it's a complete
17 * re-implementation
21 * controls with a tiny difference. The control-ids of hard-drive-fan
22 * and cpu-fan is swapped.
34 * offset : -19563152
38 * offset : -15650652
44 * offset : -15650652
48 * offset : -19563152
54 * offset : -25431900
[all …]
/linux/arch/arm/mach-omap2/
H A Dclkt2xxx_virt_prcm_set.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * OMAP2xxx DVFS virtual clock functions
5 * Copyright (C) 2005-2008, 2012 Texas Instruments, Inc.
6 * Copyright (C) 2004-2010 Nokia Corporation
9 * Richard Woodruff <r-woodruff2@ti.com>
30 #include <linux/cpufreq.h>
38 #include "cm-regbits-24xx.h"
48 * sys_ck_rate: the rate of the external high-frequency clock
49 * oscillator on the board. Set by the SoC-specific clock init code.
55 * omap2_table_mpu_recalc - just return the MPU speed
[all …]
/linux/arch/sparc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "64-bit kernel" if "$(ARCH)" = "sparc"
10 Say yes to build a 64-bit kernel - formerly known as sparc64
11 Say no to build a 32-bit kernel - formerly known as sparc
155 bool "Symmetric multi-processing support"
161 If you say N here, the kernel will run on uni- and multiprocessor
171 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
226 bool "Support for hot-pluggable CPUs"
234 source "drivers/cpufreq/Kconfig"
238 tristate "UltraSPARC-III Memory Controller driver"
[all …]
/linux/arch/arm/mach-sa1100/
H A Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-sa1100/generic.c
15 #include <linux/dma-mapping.h>
17 #include <linux/cpufreq.h>
23 #include <linux/irqchip/irq-sa11x0.h>
75 * Default power-off for SA1100
83 /* enable wake-up on GPIO0 (Assabet...) */ in sa1100_power_off()
102 /* Use on-chip reset capability */ in sa11x0_restart()
110 dev->dev.platform_data = data; in sa11x0_register_device()
114 dev->name, err); in sa11x0_register_device()
[all …]
/linux/arch/loongarch/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
250 # MIPS Loongson code, to preserve Loongson-specific code paths in drivers that
281 def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x))
284 def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0)
287 def_bool $(cc-option,-Wa$(comma)-mthin-add-sub) || AS_IS_LLVM
290 def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0)
293 def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0)
296 def_bool $(as-instr,movscr2gr \$a0$(comma)\$scr0)
299 def_bool $(as-instr,hvcl 0)
302 def_bool $(cc-option,-mannotate-tablejump)
[all …]
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * x86_energy_perf_policy -- set the energy versus performance
7 * Copyright (c) 2010 - 2017 Intel Corporation.
30 #define OPTARG_NORMAL (INT_MAX - 1)
31 #define OPTARG_POWER (INT_MAX - 2)
32 #define OPTARG_BALANCE_POWER (INT_MAX - 3)
33 #define OPTARG_BALANCE_PERFORMANCE (INT_MAX - 4)
34 #define OPTARG_PERFORMANCE (INT_MAX - 5)
103 fprintf(stderr, "scope: --cpu cpu-list [--hwp-use-pkg #] | --pkg pkg-list\n"); in usage()
104 fprintf(stderr, "field: --all | --epb | --hwp-epp | --hwp-min | --hwp-max | --hwp-desired\n"); in usage()
[all …]
/linux/arch/arm/mach-versatile/
H A Dspc.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/clk-provider.h>
28 #define SPCLOG "vexpress-spc: "
39 /* SPC wake-up IRQs status and mask */
46 /* SPC per-CPU mailboxes */
59 /* A15/A7 OPP virtual register base */
68 /* wake-up interrupt masks */
71 /* TC2 static dual-cluster configuration */
75 * Even though the SPC takes max 3-5 ms to complete any OPP/COMMS
113 return cluster == info->a15_clusid; in cluster_is_a15()
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nocmcff -- Disable firmware first mode for corrected
28 nospcr -- disable console in ACPI SPCR table as
45 If set to vendor, prefer vendor-specific driver
[all …]
/linux/arch/arm64/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
283 ARM 64-bit (AArch64) Linux support.
291 # required due to use of the -Zfixed-x18 flag.
294 # -Zsanitizer=shadow-call-stack flag.
304 depends on $(cc-option,-fpatchable-function-entry=2)
330 # VA_BITS - PTDESC_TABLE_SHIFT
408 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n)
413 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2
463 at stage-2.
488 …bool "Cortex-A53: 826319: System might deadlock if a write cannot complete until read data is acce…
[all …]
/linux/arch/riscv/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 # see Documentation/kbuild/kconfig-language.rst.
70 # LLD >= 14: https://github.com/llvm/llvm-project/issues/50505
234 # -Zsanitizer=shadow-call-stack flag.
244 depends on $(cc-option,-fpatchable-function-entry=8)
248 def_bool $(cc-option,-fsanitize=shadow-call-stack)
249 …# https://github.com/riscv-non-isa/riscv-elf-psabi-doc/commit/a484e843e6eeb51f0cb7b8819e50da6d2444…
250 depends on $(ld-option,--no-relax-gp)
254 # https://github.com/llvm/llvm-project/commit/6611d58f5bbcbec77262d392e2923e1d680f6985
257 # https://github.com/llvm/llvm-project/commit/bbc0f99f3bc96f1db16f649fc21dd18e5b0918f6
[all …]
/linux/arch/arm/mach-omap1/
H A Dclock_data.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/clock_data.c
5 * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation
10 * - Clocks that are only available on some chips should be marked with the
18 #include <linux/clk-provider.h>
19 #include <linux/cpufreq.h>
21 #include <linux/soc/ti/omap1-io.h>
23 #include <asm/mach-types.h> /* for machine_is_* */
32 /* Some ARM_IDLECT1 bit shifts - used in struct arm_idlect1_clk */
43 /* Some MOD_CONF_CTRL_0 bit shifts - used in struct clk.enable_bit */
[all …]
/linux/arch/mips/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
146 bool "Generic board-agnostic MIPS kernel"
288 Build a generic DT-based kernel image that boots on select
289 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top
381 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
382 DECstation porting pages on <http://decstation.unix-ag.org/>.
446 Olivetti M700-10 workstations.
483 bool "Loongson 32-bit family of machines"
486 This enables support for the Loongson-1 family of machines.
488 Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by
[all …]
/linux/arch/x86/xen/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/cpufreq.h>
35 #include <xen/hvc-console.h>
36 #include "xen-ops.h"
50 * Buffer used to remap identity mapped pages. We only need the virtual space.
54 #define REMAP_SIZE (P2M_PER_PAGE - 3)
70 arg = strstr(xen_start_info->cmd_line, "xen_512gb_limit"); in xen_parse_512gb()
74 arg = strstr(xen_start_info->cmd_line, "xen_512gb_limit="); in xen_parse_512gb()
97 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem()
103 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem()
[all …]
/linux/arch/x86/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386
13 # Options that are inherently 32-bit kernel only:
27 # Options that are inherently 64-bit kernel only:
58 # ported to 32-bit as well. )
161 # Word-size accesses may read uninitialized data past the trailing \0
343 default "elf32-i386" if X86_32
344 default "elf64-x86-64" if X86_64
[all …]

12