Home
last modified time | relevance | path

Searched +full:cpu +full:- +full:driver (Results 1 – 25 of 1068) sorted by relevance

12345678910>>...43

/linux/drivers/cpuidle/
H A DKconfig.arm1 # SPDX-License-Identifier: GPL-2.0-only
3 # ARM CPU Idle drivers
6 bool "Generic ARM CPU idle Driver"
11 Select this to enable generic cpuidle driver for ARM.
12 It provides a generic idle driver whose idle states are configured
13 at run-time through DT nodes. The CPUidle suspend backend is
14 initialized by calling the CPU operations init idle hook
18 bool "PSCI CPU idle Driver"
23 Select this to enable PSCI firmware based CPUidle driver for ARM.
24 It provides an idle driver that is capable of detecting and
[all …]
H A Dcpuidle.c2 * cpuidle.c - core cpuidle infrastructure
4 * (C) 2006-2007 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
11 #include "linux/percpu-defs.h"
20 #include <linux/cpu.h>
55 return off || !initialized || !drv || !dev || !dev->enabled; in cpuidle_not_available()
59 * cpuidle_play_dead - cpu off-lining
61 * Returns in case of an error or no driver
70 return -ENODEV; in cpuidle_play_dead()
72 for (i = drv->state_count - 1; i >= 0; i--) { in cpuidle_play_dead()
73 if (drv->states[i].enter_dead) in cpuidle_play_dead()
[all …]
H A Dcpuidle-psci.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * PSCI CPU idle driver.
30 #include "cpuidle-psci.h"
54 ds->pd = pd; in psci_set_domain_state()
55 ds->state_idx = state_idx; in psci_set_domain_state()
56 ds->state = state; in psci_set_domain_state()
69 u32 *states = data->psci_states; in __psci_enter_domain_idle_state()
70 struct device *pd_dev = data->dev; in __psci_enter_domain_idle_state()
77 return -1; in __psci_enter_domain_idle_state()
79 /* Do runtime PM to manage a hierarchical CPU toplogy. */ in __psci_enter_domain_idle_state()
[all …]
H A Dcpuidle-riscv-sbi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * RISC-V SBI CPU idle driver.
9 #define pr_fmt(fmt) "cpuidle-riscv-sbi: " fmt
53 data->available = true; in sbi_set_domain_state()
54 data->state = state; in sbi_set_domain_state()
61 return data->state; in sbi_get_domain_state()
68 data->available = false; in sbi_clear_domain_state()
75 return data->available; in sbi_is_domain_state_available()
96 u32 *states = data->states; in __sbi_enter_domain_idle_state()
97 struct device *pd_dev = data->dev; in __sbi_enter_domain_idle_state()
[all …]
/linux/drivers/bus/
H A Dmips_cdmm.c2 * Bus driver for MIPS Common Device Memory Map (CDMM).
4 * Copyright (C) 2014-2015 Imagination Technologies Ltd.
13 #include <linux/cpu.h>
53 for (; table->type; ++table) { in mips_cdmm_lookup()
54 ret = (dev->type == table->type); in mips_cdmm_lookup()
67 return mips_cdmm_lookup(cdrv->id_table, cdev) != NULL; in mips_cdmm_match()
75 retval = add_uevent_var(env, "CDMM_CPU=%u", cdev->cpu); in mips_cdmm_uevent()
79 retval = add_uevent_var(env, "CDMM_TYPE=0x%02x", cdev->type); in mips_cdmm_uevent()
83 retval = add_uevent_var(env, "CDMM_REV=%u", cdev->rev); in mips_cdmm_uevent()
87 retval = add_uevent_var(env, "MODALIAS=mipscdmm:t%02X", cdev->type); in mips_cdmm_uevent()
[all …]
/linux/Documentation/trace/coresight/
H A Dcoresight-cpu-debug.rst2 Coresight CPU Debug Module
9 ------------
11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual
12 (ARM DDI 0487A.k) Chapter 'Part H: External debug', the CPU can integrate
13 debug module and it is mainly used for two modes: self-hosted debug and
16 explore debugging method which rely on self-hosted debug mode, this document
19 The debug module provides sample-based profiling extension, which can be used
20 to sample CPU program counter, secure state and exception level, etc; usually
21 every CPU has one dedicated debug module to be connected. Based on self-hosted
24 will dump related registers for every CPU; finally this is good for assistant
[all …]
/linux/Documentation/admin-guide/thermal/
H A Dintel_powerclamp.rst2 Intel Powerclamp Driver
6 - Arjan van de Ven <arjan@linux.intel.com>
7 - Jacob Pan <jacob.jun.pan@linux.intel.com>
12 - Goals and Objectives
15 - Idle Injection
16 - Calibration
19 - Effectiveness and Limitations
20 - Power vs Performance
21 - Scalability
22 - Calibration
[all …]
/linux/Documentation/driver-api/pm/
H A Dcpuidle.rst1 .. SPDX-License-Identifier: GPL-2.0
5 CPU Idle Time Management
13 CPU Idle Time Management Subsystem
21 belongs to. That can be done by making the idle logical CPU stop fetching
28 particular idle state. That is the role of the CPU idle time management
40 CPU Idle Time Governors
43 A CPU idle time (``CPUIdle``) governor is a bundle of policy code invoked when
81 (logical) CPU represented by the struct cpuidle_device object pointed
83 to by the ``drv`` argument represents the ``CPUIdle`` driver to be used
84 with that CPU (among other things, it should contain the list of
[all …]
/linux/drivers/cpufreq/
H A Dcpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
9 * Oct 2005 - Ashok Raj <ashok.raj@intel.com>
10 * Added handling for CPU hotplug
11 * Feb 2006 - Jacob Shin <jacob.shin@amd.com>
12 * Fix handling for CPU hotplug -- affected CPUs
17 #include <linux/cpu.h>
37 /* Macros to iterate over CPU policies */
55 * The "cpufreq driver" - the arch- or hardware-dependent low
56 * level driver of CPUFreq support, and its spinlock. This lock
[all …]
/linux/drivers/platform/x86/
H A Dintel_ips.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2009-2010 Intel Corporation
10 * Some Intel Ibex Peak based platforms support so-called "intelligent
11 * power sharing", which allows the CPU and GPU to cooperate to maximize
12 * performance within a given TDP (thermal design point). This driver
13 * performs the coordination between the CPU and GPU, monitors thermal and
16 * primary purpose is to safely allow CPU and GPU turbo modes to be enabled
18 * performance by allocating more power or thermal budget to the CPU or GPU
22 * thermal headroom is available, the CPU and/or GPU power clamps may be
30 * written to those registers and write them to the CPU, but we currently
[all …]
/linux/Documentation/admin-guide/pm/
H A Dintel_idle.rst1 .. SPDX-License-Identifier: GPL-2.0
5 ``intel_idle`` CPU Idle Time Management Driver
17 :doc:`CPU idle time management subsystem <cpuidle>` in the Linux kernel
18 (``CPUIdle``). It is the default CPU idle time management driver for the
24 Documentation/admin-guide/pm/cpuidle.rst if you have not done that yet.]
27 logical CPU executing it is idle and so it may be possible to put some of the
28 processor's functional blocks into low-power states. That instruction takes two
29 arguments (passed in the ``EAX`` and ``ECX`` registers of the target CPU), the
38 only way to pass early-configuration-time parameters to it is via the kernel
44 The ``intel_idle`` driver exposes the following ``sysfs`` attributes in
[all …]
/linux/Documentation/cpu-freq/
H A Dcpufreq-stats.rst1 .. SPDX-License-Identifier: GPL-2.0
16 3. Configuring cpufreq-stats
22 cpufreq-stats is a driver that provides CPU frequency statistics for each CPU.
25 in /sysfs (<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU.
28 This driver is designed to be independent of any particular cpufreq_driver
29 that may be running on your CPU. So, it will work with any cpufreq_driver.
37 - time_in_state
38 - total_trans
39 - trans_table
41 All the statistics will be from the time the stats driver has been inserted
[all …]
H A Dcpu-drivers.rst1 .. SPDX-License-Identifier: GPL-2.0
4 How to Implement a new CPUFreq Processor Driver
10 - Dominik Brodowski <linux@brodo.de>
11 - Rafael J. Wysocki <rafael.j.wysocki@intel.com>
12 - Viresh Kumar <viresh.kumar@linaro.org>
18 1.2 Per-CPU Initialization
31 So, you just got a brand-new CPU / chipset with datasheets and want to
32 add cpufreq support for this CPU / chipset? Great. Here are some hints
37 ------------------
40 function check whether this kernel runs on the right CPU and the right
[all …]
/linux/rust/kernel/
H A Dcpufreq.rs1 // SPDX-License-Identifier: GPL-2.0
3 //! CPU frequency scaling.
9 //! Reference: <https://docs.kernel.org/admin-guide/pm/cpufreq.html>
13 cpu::CpuId,
37 /// Maximum length of CPU frequency driver's name.
43 /// CPU frequency driver flags.
45 /// Driver needs to update internal limits even if frequency remains unchanged.
51 /// Register driver as a thermal cooling device automatically.
54 /// Supports multiple clock domains with per-policy governors in `cpu/cpuN/cpufreq/`.
57 /// Allows post-change notifications outside of the `target()` routine.
[all …]
/linux/Documentation/networking/device_drivers/ethernet/freescale/
H A Ddpaa.rst1 .. SPDX-License-Identifier: GPL-2.0
4 The QorIQ DPAA Ethernet Driver
8 - Madalin Bucur <madalin.bucur@nxp.com>
9 - Camelia Groza <camelia.groza@nxp.com>
13 - DPAA Ethernet Overview
14 - DPAA Ethernet Supported SoCs
15 - Configuring DPAA Ethernet in your kernel
16 - DPAA Ethernet Frame Processing
17 - DPAA Ethernet Features
18 - DPAA IRQ Affinity and Receive Side Scaling
[all …]
/linux/drivers/tty/
H A Dmips_ejtag_fdc.c1 // SPDX-License-Identifier: GPL-2.0
3 * TTY driver for MIPS EJTAG Fast Debug Channels.
5 * Copyright (C) 2007-2015 Imagination Technologies Ltd
87 * struct mips_ejtag_fdc_tty_port - Wrapper struct for FDC tty_port.
89 * @driver: TTY driver.
106 struct mips_ejtag_fdc_tty *driver; member
117 * struct mips_ejtag_fdc_tty - Driver data for FDC as a whole.
119 * @driver: TTY driver.
120 * @cpu: CPU number for this FDC.
122 * @driver_name: Base of driver name.
[all …]
/linux/drivers/crypto/caam/
H A Dqi.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright 2013-2016 Freescale Semiconductor, Inc.
6 * Copyright 2016-2017, 2020 NXP
19 /* Length of a single buffer in the QI driver memory cache */
25 * This is the request structure the driver application should fill while
26 * submitting a job to driver.
31 * caam_qi_cbk - application's callback function invoked by the driver when the
34 * @status: completion status of request (0 - success, non-zero - error code)
45 * caam_drv_ctx - CAAM/QI backend driver context
47 * The jobs are processed by the driver against a driver context.
[all …]
/linux/Documentation/driver-api/
H A Dio_ordering.rst2 Ordering I/O writes to memory-mapped addresses
5 On some platforms, so-called memory-mapped I/O is weakly ordered. On such
6 platforms, driver writers are responsible for ensuring that I/O writes to
7 memory-mapped addresses on their device arrive in the order intended. This is
10 driver would usually use this technique immediately prior to the exit of a
15 A more concrete example from a hypothetical device driver::
18 CPU A: spin_lock_irqsave(&dev_lock, flags)
19 CPU A: val = readl(my_status);
20 CPU A: ...
21 CPU A: writel(newval, ring_ptr);
[all …]
/linux/drivers/tty/hvc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
8 It will automatically be selected if one of the back-end console drivers
21 console. This driver allows each pSeries partition to have a console
25 bool "Old driver for pSeries serial port (/dev/hvsi*)"
35 PowerNV machines running under OPAL need that driver to get a console
42 IBM Console device driver which makes use of RTAS
51 This driver provides a Hypervisor console (HVC) back-end to access
61 Xen virtual console device driver
69 Xen driver for secondary virtual consoles
87 driver. This console is used through a JTAG only on ARM. If you don't have
[all …]
/linux/Documentation/hwmon/
H A Dasus_wmi_sensors.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver asus_wmi_sensors
7 * PRIME X399-A,
8 * PRIME X470-PRO,
11 * ROG CROSSHAIR VI HERO (WI-FI AC),
13 * ROG CROSSHAIR VII HERO (WI-FI),
14 * ROG STRIX B450-E GAMING,
15 * ROG STRIX B450-F GAMING,
16 * ROG STRIX B450-I GAMING,
17 * ROG STRIX X399-E GAMING,
[all …]
/linux/tools/power/cpupower/utils/
H A Dcpufreq-info.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de>
39 value[LINE_LEN - 1] = '\0'; in count_cpus()
40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus()
42 if (strstr(value, "cpu ")) in count_cpus()
44 if (sscanf(value, "cpu%d ", &cpunr) != 1) in count_cpus()
51 /* cpu coun in count_cpus()
58 unsigned int cpu, nr_cpus; proc_cpufreq_output() local
125 get_boost_mode_x86(unsigned int cpu) get_boost_mode_x86() argument
207 get_boost_mode_generic(unsigned int cpu) get_boost_mode_generic() argument
221 get_boost_mode(unsigned int cpu) get_boost_mode() argument
250 get_freq_kernel(unsigned int cpu,unsigned int human) get_freq_kernel() argument
269 get_freq_hardware(unsigned int cpu,unsigned int human) get_freq_hardware() argument
292 get_hardware_limits(unsigned int cpu,unsigned int human) get_hardware_limits() argument
315 get_driver(unsigned int cpu) get_driver() argument
317 char *driver = cpufreq_get_driver(cpu); get_driver() local
329 get_policy(unsigned int cpu) get_policy() argument
351 get_available_governors(unsigned int cpu) get_available_governors() argument
374 get_affected_cpus(unsigned int cpu) get_affected_cpus() argument
395 get_related_cpus(unsigned int cpu) get_related_cpus() argument
416 get_freq_stats(unsigned int cpu,unsigned int human) get_freq_stats() argument
441 get_epp(unsigned int cpu,bool interactive) get_epp() argument
458 get_latency(unsigned int cpu,unsigned int human) get_latency() argument
481 get_perf_cap(unsigned int cpu) get_perf_cap() argument
490 debug_output_one(unsigned int cpu) debug_output_one() argument
548 unsigned int cpu = 0; cmd_freq_info() local
[all...]
/linux/kernel/
H A Dcpu_pm.c1 // SPDX-License-Identifier: GPL-2.0-only
53 * cpu_pm_register_notifier - register a driver with cpu_pm
56 * Add a driver to a list of drivers that are notified about
57 * CPU and CPU cluster low power entry and exit.
74 * cpu_pm_unregister_notifier - unregister a driver with cpu_pm
77 * Remove a driver from the CPU PM notifier list.
94 * cpu_pm_enter - CPU low power entry notifier
96 * Notifies listeners that a single CPU is entering a low power state that may
97 * cause some blocks in the same power domain as the cpu to reset.
99 * Must be called on the affected CPU with interrupts disabled. Platform is
[all …]
/linux/tools/power/cpupower/man/
H A Dcpupower-idle-info.11 .TH "CPUPOWER-IDLE-INFO" "1" "0.1" "" "cpupower Manual"
4 cpupower\-idle\-info \- Utility to retrieve cpu idle kernel information
7 cpupower [ \-c cpulist ] idle\-info [\fIoptions\fP]
10 A tool which prints out per cpu idle information helpful to developers and interested users.
14 \fB\-
[all...]
/linux/tools/power/cpupower/po/
H A Dpt.po9 "Project-Id-Version: cpufrequtils 004\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
12 "PO-Revision-Date: 2008-06-14 22:16-0400\n"
13 "Last-Translator: Claudio Eduardo <claudioeddy@gmail.com>\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
70 #: utils/idle_monitor/cpupower-monitor.c:66
71 #, c-format
[all …]
/linux/tools/power/cpupower/utils/helpers/
H A Dmisc.c1 // SPDX-License-Identifier: GPL-2.0
17 int cpufreq_has_x86_boost_support(unsigned int cpu, int *support, int *active, in cpufreq_has_x86_boost_support() argument
37 if (!read_msr(cpu, MSR_AMD_HWCR, &val)) { in cpufreq_has_x86_boost_support()
47 amd_pstate_boost_init(cpu, support, active); in cpufreq_has_x86_boost_support()
57 return -1; in cpufreq_has_x86_boost_support()
61 return -1; in cpufreq_has_x86_boost_support()
75 /* Fallback to generic solution when intel_pstate driver not running */ in cpupower_set_intel_turbo_boost()
82 return -1; in cpupower_set_intel_turbo_boost()
87 int cpupower_intel_get_perf_bias(unsigned int cpu) in cpupower_intel_get_perf_bias() argument
95 return -1; in cpupower_intel_get_perf_bias()
[all …]

12345678910>>...43