/linux-3.3/Documentation/power/regulator/ |
D | overview.txt | 10 The intention is to allow systems to dynamically control regulator power output 11 in order to save power and prolong battery life. This applies to both voltage 22 Some terms used in this document:- 24 o Regulator - Electronic device that supplies power to other devices. 28 Input Voltage -> Regulator -> Output Voltage 31 o PMIC - Power Management IC. An IC that contains numerous regulators 35 o Consumer - Electronic device that is supplied power by a regulator. 36 Consumers can be classified into two types:- 40 power supply. Its supply voltage is set by the hardware, 47 o Power Domain - Electronic circuit that is supplied its input power by the [all …]
|
/linux-3.3/Documentation/trace/ |
D | events-power.txt | 2 Subsystem Trace Points: power 4 The power tracing system captures events related to power transitions 7 o Power state switch which reports events related to suspend (S-states), 8 cpuidle (C-states) and cpufreq (P-states) 10 o Power domains related changes and transitions 15 Cf. include/trace/events/power.h for the events definitions. 17 1. Power state switch events 21 ----------------- 23 A 'cpu' event class gathers the CPU-related events: cpuidle and 35 Note: the value of '-1' or '4294967295' for state means an exit from the current state, [all …]
|
/linux-3.3/arch/arm/mach-omap2/ |
D | powerdomain-common.c | 4 * Copyright (C) 2010-2011 Texas Instruments, Inc. 7 * Derived from mach-omap2/powerdomain.c written by Paul Walmsley 18 #include "cm-regbits-34xx.h" 19 #include "cm-regbits-44xx.h" 20 #include "prm-regbits-34xx.h" 21 #include "prm-regbits-44xx.h" 25 * Notice that the names here are not according to each power 28 /* OMAP3 and OMAP4 Memory Onstate Masks (common across all power domains) */ 35 /* OMAP3 and OMAP4 Memory Retstate Masks (common across all power domains) */ 65 return -EEXIST; in omap2_pwrdm_get_mem_bank_onstate_mask() [all …]
|
D | pm44xx.c | 2 * OMAP4 Power Management Routines 4 * Copyright (C) 2010-2011 Texas Instruments, Inc. 46 pwrst->saved_state = pwrdm_read_next_pwrst(pwrst->pwrdm); in omap4_pm_suspend() 47 pwrst->saved_logic_state = pwrdm_read_logic_retst(pwrst->pwrdm); in omap4_pm_suspend() 50 /* Set targeted power domain states by suspend */ in omap4_pm_suspend() 52 omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); in omap4_pm_suspend() 53 pwrdm_set_logic_retst(pwrst->pwrdm, PWRDM_POWER_OFF); in omap4_pm_suspend() 57 * For MPUSS to hit power domain retention(CSWR or OSWR), in omap4_pm_suspend() 58 * CPU0 and CPU1 power domains need to be in OFF or DORMANT state, in omap4_pm_suspend() 59 * since CPU power domain CSWR is not supported by hardware in omap4_pm_suspend() [all …]
|
D | powerdomains44xx_data.c | 2 * OMAP4 Power domains framework 4 * Copyright (C) 2009-2011 Texas Instruments, Inc. 5 * Copyright (C) 2009-2011 Nokia Corporation 8 * Benoit Cousson (b-cousson@ti.com) 13 * with the public linux-omap@vger.kernel.org mailing list and the 15 * up-to-date with the file contents. 27 #include "prcm-common.h" 29 #include "prm-regbits-44xx.h" 33 /* core_44xx_pwrdm: CORE power domain */ 59 /* gfx_44xx_pwrdm: 3D accelerator power domain */ [all …]
|
D | clockdomains2xxx_3xxx_data.c | 4 * Copyright (C) 2008-2011 Texas Instruments, Inc. 5 * Copyright (C) 2008-2010 Nokia Corporation 15 * software-controllable dependencies. Non-software-controllable 20 * The overly-specific dep_bit names are due to a bit name collision 26 * XXX encode hardware fixed wakeup dependencies -- esp. for 3430 CORE 30 * To-Do List 31 * -> Port the Sleep/Wakeup dependencies for the domains 32 * from the Power domain framework 41 #include "cm-regbits-24xx.h" 42 #include "cm-regbits-34xx.h" [all …]
|
D | clockdomains2420_data.c | 4 * Copyright (C) 2008-2011 Texas Instruments, Inc. 5 * Copyright (C) 2008-2010 Nokia Corporation 14 * wkdep_srcs are really just software-controllable dependencies. 15 * Non-software-controllable dependencies do exist, but they are not 20 * The overly-specific dep_bit names are due to a bit name collision 26 * XXX encode hardware fixed wakeup dependencies -- esp. for 3430 CORE 30 * To-Do List 31 * -> Port the Sleep/Wakeup dependencies for the domains 32 * from the Power domain framework 41 #include "cm-regbits-24xx.h" [all …]
|
D | clockdomains2430_data.c | 4 * Copyright (C) 2008-2009 Texas Instruments, Inc. 5 * Copyright (C) 2008-2010 Nokia Corporation 14 * wkdep_srcs are really just software-controllable dependencies. 15 * Non-software-controllable dependencies do exist, but they are not 20 * The overly-specific dep_bit names are due to a bit name collision 26 * XXX encode hardware fixed wakeup dependencies -- esp. for 3430 CORE 30 * To-Do List 31 * -> Port the Sleep/Wakeup dependencies for the domains 32 * from the Power domain framework 41 #include "cm-regbits-24xx.h" [all …]
|
/linux-3.3/drivers/pci/hotplug/ |
D | rpaphp_core.c | 2 * PCI Hot Plug Controller Driver for RPA-compliant PPC64 platform. 35 #include <asm/pci-bridge.h> /* for pci_controller */ 56 * set_attention_status - set attention LED 60 * echo 0 > attention -- set LED OFF 61 * echo 1 > attention -- set LED ON 62 * echo 2 > attention -- set LED ID(identify, light is blinking) 67 struct slot *slot = (struct slot *)hotplug_slot->private; in set_attention_status() 79 rc = rtas_set_indicator(DR_INDICATOR, slot->index, value); in set_attention_status() 81 hotplug_slot->info->attention_status = value; in set_attention_status() 87 * get_power_status - get power status of a slot [all …]
|
/linux-3.3/include/linux/ |
D | pm_domain.h | 2 * pm_domain.h - Definitions and headers related to device power domains. 19 GPD_STATE_REPEAT, /* Power off in progress, to be repeated */ 46 struct list_head gpd_list_node; /* Node in the global PM domains list */ 55 atomic_t sd_count; /* Number of subdomains with power "on" */ 63 bool suspend_power_off; /* Power status before system suspend */ 64 bool dev_irq_safe; /* Device callbacks are IRQ-safe */ 70 s64 break_even_ns; /* Power break even for the entire domain. */ 110 return to_gpd_data(dev->power.subsys_data->domain_data); in dev_gpd_data() 148 return ERR_PTR(-ENOSYS); in dev_to_genpd() 154 return -ENOSYS; in __pm_genpd_add_device() [all …]
|
D | pm.h | 2 * pm.h - Power management interface 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 39 * Device power management 45 extern const char power_group_name[]; /* = "power" */ 55 * struct dev_pm_ops - device PM callbacks 57 * Several device power state transitions are externally visible, affecting 60 * internal transitions to various low-power modes which are transparent 66 * involved. First, the PM core executes callbacks provided by PM domains, 67 * device types, classes and bus types. They are the subsystem-level callbacks 70 * collaborate with the subsystem-level callbacks to achieve the goals [all …]
|
/linux-3.3/Documentation/hwmon/ |
D | asc7621 | 15 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as 16 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has 18 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in 23 have used registers below 20h for vendor-specific functions in addition 24 to those in the Intel-specified vendor range. 27 The fan speed control uses this finer value to produce a "step-less" fan 28 PWM output. These two bytes are "read-locked" to guarantee that once a 29 high or low byte is read, the other byte is locked-in until after the 32 sheet says 10-bits of resolution, although you may find the lower bits 42 We offer GPIO features on the former VID pins. These are open-drain [all …]
|
/linux-3.3/Documentation/power/ |
D | devices.txt | 1 Device Power Management 3 Copyright (c) 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 7 Most of the code in Linux is device drivers, so most of the Linux power 8 management (PM) code is also driver-specific. Most drivers will do very 12 This writeup gives an overview of how drivers interact with system-wide 13 power management goals, emphasizing the models and interfaces that are 15 background for the domain-specific work you'd do with any specific driver. 18 Two Models for Device Power Management 20 Drivers will use one or both of these models to put devices into low-power 24 Drivers can enter low-power states as part of entering system-wide [all …]
|
D | opp.txt | 5 (C) 2009-2010 Nishanth Menon <nm@ti.com>, Texas Instruments Incorporated 8 -------- 19 Complex SoCs of today consists of a multiple sub-modules working in conjunction. 22 facilitate this, sub-modules in a SoC are grouped into domains, allowing some 23 domains to run at lower voltage and frequency while other domains are loaded 29 information. The library is located in drivers/base/power/opp.c and the header 31 CONFIG_PM_OPP from power management menuconfig menu. OPP library depends on 36 (users) -> registers a set of default OPPs -> (library) 37 SoC framework -> modifies on required cases certain OPPs -> OPP layer 38 -> queries to search/retrieve information -> [all …]
|
/linux-3.3/Documentation/DocBook/ |
D | kernel-api.tmpl | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []> 29 MA 02111-1307 USA 63 <!-- All functions are exported at now 65 --> 73 <chapter id="kernel-lib"> 85 <sect1><title>Command-line Parsing</title> 92 !Elib/crc-itu-t.c 94 !Elib/crc-ccitt.c [all …]
|
/linux-3.3/drivers/base/power/ |
D | domain_governor.c | 2 * drivers/base/power/domain_governor.c - Governors for device PM domains. 18 * default_stop_ok - Default PM domain governor routine for stopping devices. 23 struct gpd_timing_data *td = &dev_gpd_data(dev)->td; in default_stop_ok() 27 if (dev->power.max_time_suspended_ns < 0 || td->break_even_ns == 0) in default_stop_ok() 30 return td->stop_latency_ns + td->start_latency_ns < td->break_even_ns in default_stop_ok() 31 && td->break_even_ns < dev->power.max_time_suspended_ns; in default_stop_ok() 35 * default_power_down_ok - Default generic PM domain power off governor routine. 49 off_on_time_ns = genpd->power_off_latency_ns + in default_power_down_ok() 50 genpd->power_on_latency_ns; in default_power_down_ok() 52 * It doesn't make sense to remove power from the domain if saving in default_power_down_ok() [all …]
|
D | domain.c | 2 * drivers/base/power/domain.c - Common code related to device power domains. 25 __routine = genpd->dev_ops.callback; \ 29 __routine = dev_gpd_data(dev)->ops.callback; \ 42 if (__elapsed > __gpd_data->td.field) { \ 43 __gpd_data->td.field = __elapsed; \ 57 if (IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd() 58 return ERR_PTR(-EINVAL); in dev_to_genpd() 60 return pd_to_genpd(dev->pm_domain); in dev_to_genpd() 92 if (!WARN_ON(atomic_read(&genpd->sd_count) == 0)) in genpd_sd_counter_dec() 93 ret = !!atomic_dec_and_test(&genpd->sd_count); in genpd_sd_counter_dec() [all …]
|
/linux-3.3/drivers/iommu/ |
D | amd_iommu_types.h | 2 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc. 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 224 ((1ULL << PM_LEVEL_SHIFT((x))) - 1): \ 235 (~((1ULL << (12 + ((lvl) * 9))) - 1))) 240 * Pagesize is expected to be a power-of-two 243 ((__ffs(pagesize) - 12) / 9) 246 * Pagesize is expected to be a power-of-two 249 (1ULL << ((__ffs(pagesize) - 12) % 9)) 252 * Aligns a given io-virtual address to a given page size 253 * Pagesize is expected to be a power-of-two [all …]
|
/linux-3.3/include/trace/events/ |
D | power.h | 2 #define TRACE_SYSTEM power 22 __entry->state = state; 23 __entry->cpu_id = cpu_id; 26 TP_printk("state=%lu cpu_id=%lu", (unsigned long)__entry->state, 27 (unsigned long)__entry->cpu_id) 41 #define PWR_EVENT_EXIT -1 62 __entry->state = state; 65 TP_printk("state=%lu", (unsigned long)__entry->state) 72 * The power events are used for cpuidle & suspend (power_start, power_end) 75 DECLARE_EVENT_CLASS(power, [all …]
|
/linux-3.3/kernel/power/ |
D | Kconfig | 5 ---help--- 8 suspend-to-RAM state (e.g. the ACPI S3 state). 31 ---help--- 36 You can suspend your machine with 'echo disk > /sys/power/state' 46 for suspend states like suspend-to-RAM (STR) often don't work very 58 <file:Documentation/power/swsusp-and-swap-files.txt>). 67 For more information take a look at <file:Documentation/power/swsusp.txt>. 76 ---help--- 77 The default resume partition is the partition that the suspend- 78 to-disk implementation will look for a suspended disk image. [all …]
|
/linux-3.3/arch/sparc/ |
D | Kconfig | 2 bool "64-bit kernel" if ARCH = "sparc" 9 Say yes to build a 64-bit kernel - formerly known as sparc64 10 Say no to build a 32-bit kernel - formerly known as sparc 156 bool "Symmetric multi-processing support (does not work on sun4/sun4c)" 157 ---help--- 169 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power 172 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO 269 bool "Support for hot-pluggable CPUs" 283 tristate "UltraSPARC-III CPU Frequency driver" 287 This adds the CPUFreq driver for UltraSPARC-III processors. [all …]
|
/linux-3.3/Documentation/sound/alsa/soc/ |
D | dapm.txt | 1 Dynamic Audio Power Management for Portable Devices 7 Dynamic Audio Power Management (DAPM) is designed to allow portable 8 Linux devices to use the minimum amount of power within the audio 10 such, can easily co-exist with the other PM systems. 13 all power switching is done within the ASoC core. No code changes or 14 recompiling are required for user space applications. DAPM makes power 18 DAPM spans the whole machine. It covers power control within the entire 19 audio subsystem, this includes internal codec power blocks and machine 20 level power systems. 22 There are 4 power domains within DAPM [all …]
|
/linux-3.3/include/linux/mfd/ |
D | dbx500-prcmu.h | 13 #include <asm/mach-types.h> 31 /* EPOD (power domain) IDs */ 35 * - EPOD_ID_SVAMMDSP: power domain for SVA MMDSP 36 * - EPOD_ID_SVAPIPE: power domain for SVA pipe 37 * - EPOD_ID_SIAMMDSP: power domain for SIA MMDSP 38 * - EPOD_ID_SIAPIPE: power domain for SIA pipe 39 * - EPOD_ID_SGA: power domain for SGA 40 * - EPOD_ID_B2R2_MCDE: power domain for B2R2 and MCDE 41 * - EPOD_ID_ESRAM12: power domain for ESRAM 1 and 2 42 * - EPOD_ID_ESRAM34: power domain for ESRAM 3 and 4 [all …]
|
/linux-3.3/Documentation/networking/ |
D | policy-routing.txt | 2 ------- 15 REJECT - abort route lookup and return an error value. 16 THROW - abort route lookup in this class. 24 RT_CLASS_LOCAL=255 - local interface addresses, 27 RT_CLASS_MAIN=254 - all normal routes are put there 30 RT_CLASS_DEFAULT=253 - if ip_fib_model==1, then 36 ----- 41 RTP_ROUTE - lookup in attached class 42 RTP_NAT - lookup in attached class and if a match is found, 44 RTP_MASQUERADE - lookup in attached class and if a match is found, [all …]
|
/linux-3.3/include/xen/interface/ |
D | grant_table.h | 5 * page-ownership transfers. 37 /* Some rough guidelines on accessing and updating grant-table entries 38 * in a concurrency-safe manner. For more information, Linux contains a 41 * NB. WMB is a no-op on current-generation x86 processors. However, a 45 * 1. Write ent->domid. 46 * 2. Write ent->frame: 48 * GTF_accept_transfer: Pseudo-phys frame slot being filled by new 51 * 4. Write ent->flags, inc. valid type. 54 * 1. flags = ent->flags. 56 * 3. Check result of SMP-safe CMPXCHG(&ent->flags, flags, 0). [all …]
|