Home
last modified time | relevance | path

Searched full:power (Results 1 – 25 of 6499) sorted by relevance

12345678910>>...260

/Linux-v5.15/Documentation/devicetree/bindings/power/
Drockchip,power-controller.yaml4 $id: http://devicetree.org/schemas/power/rockchip,power-controller.yaml#
7 title: Rockchip Power Domains
14 Rockchip processors include support for multiple power domains
16 application scenarios to save power.
18 Power domains contained within power-controller node are
19 generic power domain providers documented in
20 Documentation/devicetree/bindings/power/power-domain.yaml.
22 IP cores belonging to a power domain should contain a
23 "power-domains" property that is a phandle for the
24 power domain node representing the domain.
[all …]
Dmediatek,power-controller.yaml4 $id: http://devicetree.org/schemas/power/mediatek,power-controller.yaml#
7 title: Mediatek Power Domains Controller
14 Mediatek processors include support for multiple power domains which can be
15 powered up/down by software based on different application scenes to save power.
17 IP cores belonging to a power domain should contain a 'power-domains'
22 const: power-controller
26 - mediatek,mt8167-power-controller
27 - mediatek,mt8173-power-controller
28 - mediatek,mt8183-power-controller
29 - mediatek,mt8192-power-controller
[all …]
Dfsl,imx-gpcv2.yaml4 $id: http://devicetree.org/schemas/power/fsl,imx-gpcv2.yaml#
7 title: Freescale i.MX General Power Controller v2
13 The i.MX7S/D General Power Control (GPC) block contains Power Gating
14 Control (PGC) for various power domains.
16 Power domains contained within GPC node are generic power domain
18 Documentation/devicetree/bindings/power/power-domain.yaml, which are
19 described as subnodes of the power gating controller 'pgc' node.
21 IP cores belonging to a power domain should contain a 'power-domains'
44 description: list of power domains provided by this controller.
47 "power-domain@[0-9]$":
[all …]
Dpower-domain.yaml4 $id: http://devicetree.org/schemas/power/power-domain.yaml#
16 used for power gating of selected IP blocks for power saving by reduced leakage
24 \#power-domain-cells property in the PM domain provider node.
28 pattern: "^(power-controller|power-domain)([@-].*)?$"
34 power-domain provider. The idle state definitions are compatible with the
46 Phandles to the OPP tables of power domains provided by a power domain
47 provider. If the provider provides a single power domain only or all
48 the power domains provided by the provider have identical OPP tables,
52 "#power-domain-cells":
56 domains (e.g. power controllers), but can be any value as specified
[all …]
Dpower_domain.txt4 used for power gating of selected IP blocks for power saving by reduced leakage
12 #power-domain-cells property in the PM domain provider node.
16 See power-domain.yaml.
21 - power-domains : A list of PM domain specifiers, as defined by bindings of
22 the power controller that is the PM domain provider.
25 - power-domain-names : A list of power domain name strings sorted in the same
26 order as the power-domains property. Consumers drivers will use
27 power-domain-names to match power domains with power-domains
35 power-domains = <&power 0>;
36 power-domain-names = "io";
[all …]
Dfsl,imx-gpc.yaml4 $id: http://devicetree.org/schemas/power/fsl,imx-gpc.yaml#
7 title: Freescale i.MX General Power Controller
13 The i.MX6 General Power Control (GPC) block contains DVFS load tracking
14 counters and Power Gating Control (PGC).
16 The power domains are generic power domain providers as documented in
17 Documentation/devicetree/bindings/power/power-domain.yaml. They are
18 described as subnodes of the power gating controller 'pgc' node of the GPC.
20 IP cores belonging to a power domain should contain a 'power-domains'
21 property that is a phandle pointing to the power domain the device belongs
46 description: list of power domains provided by this controller.
[all …]
/Linux-v5.15/drivers/base/power/
Druntime.c3 * drivers/base/power/runtime.c - Helper functions for device runtime PM
17 #include "power.h"
55 * update_pm_runtime_accounting - Update the time accounting of power states
58 * In order to be able to have time accounting of the various power states
69 if (dev->power.disable_depth > 0) in update_pm_runtime_accounting()
72 last = dev->power.accounting_timestamp; in update_pm_runtime_accounting()
75 dev->power.accounting_timestamp = now; in update_pm_runtime_accounting()
87 if (dev->power.runtime_status == RPM_SUSPENDED) in update_pm_runtime_accounting()
88 dev->power.suspended_time += delta; in update_pm_runtime_accounting()
90 dev->power.active_time += delta; in update_pm_runtime_accounting()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/soc/mediatek/
Dscpsys.txt4 The System Control Processor System (SCPSYS) has several power management
7 The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power
11 power/power-domain.yaml. It provides the power domains defined in
12 - include/dt-bindings/power/mt8173-power.h
13 - include/dt-bindings/power/mt6797-power.h
14 - include/dt-bindings/power/mt6765-power.h
15 - include/dt-bindings/power/mt2701-power.h
16 - include/dt-bindings/power/mt2712-power.h
17 - include/dt-bindings/power/mt7622-power.h
30 - #power-domain-cells: Must be 1
[all …]
/Linux-v5.15/drivers/staging/nvec/
Dnvec_power.c3 * nvec_power: power supply driver for a NVIDIA compliant embedded controller
87 struct nvec_power *power = in nvec_power_notifier() local
95 if (power->on != res->plu) { in nvec_power_notifier()
96 power->on = res->plu; in nvec_power_notifier()
109 static void get_bat_mfg_data(struct nvec_power *power) in get_bat_mfg_data() argument
116 nvec_write_async(power->nvec, buf, 2); in get_bat_mfg_data()
123 struct nvec_power *power = in nvec_power_bat_notifier() local
134 if (power->bat_present == 0) { in nvec_power_bat_notifier()
136 get_bat_mfg_data(power); in nvec_power_bat_notifier()
139 power->bat_present = 1; in nvec_power_bat_notifier()
[all …]
/Linux-v5.15/drivers/power/supply/
Daxp20x_usb_power.c3 * AXP20x PMIC USB power supply status driver
27 #define DRVNAME "axp20x-usb-power-supply"
77 static bool axp20x_usb_vbus_needs_polling(struct axp20x_usb_power *power) in axp20x_usb_vbus_needs_polling() argument
84 if (power->axp20x_id >= AXP221_ID && !power->online) in axp20x_usb_vbus_needs_polling()
92 struct axp20x_usb_power *power = devid; in axp20x_usb_power_irq() local
94 power_supply_changed(power->supply); in axp20x_usb_power_irq()
96 mod_delayed_work(system_power_efficient_wq, &power->vbus_detect, DEBOUNCE_TIME); in axp20x_usb_power_irq()
103 struct axp20x_usb_power *power = in axp20x_usb_power_poll_vbus() local
108 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &val); in axp20x_usb_power_poll_vbus()
113 if (val != power->old_status) in axp20x_usb_power_poll_vbus()
[all …]
Daxp20x_ac_power.c3 * AXP20X and AXP22X PMICs' ACIN power supply driver
40 #define DRVNAME "axp20x-ac-power-supply"
54 struct axp20x_ac_power *power = devid; in axp20x_ac_power_irq() local
56 power_supply_changed(power->supply); in axp20x_ac_power_irq()
65 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property() local
70 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &reg); in axp20x_ac_power_get_property()
83 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &reg); in axp20x_ac_power_get_property()
91 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &reg); in axp20x_ac_power_get_property()
98 if (val->intval && power->has_acin_path_sel) { in axp20x_ac_power_get_property()
99 ret = regmap_read(power->regmap, AXP813_ACIN_PATH_CTRL, in axp20x_ac_power_get_property()
[all …]
/Linux-v5.15/Documentation/power/powercap/
Dpowercap.rst2 Power Capping Framework
5 The power capping framework provides a consistent interface between the kernel
6 and the user space that allows power capping drivers to expose the settings to
12 The framework exposes power capping devices to user space via sysfs in the
14 'control types', which correspond to different methods of power capping. For
16 Power Limit" (RAPL) technology, whereas the 'idle-injection' control type
17 corresponds to the use of idle injection for controlling power.
19 Power zones represent different parts of the system, which can be controlled and
20 monitored using the power capping method determined by the control type the
21 given zone belongs to. They each contain attributes for monitoring power, as
[all …]
Ddtpm.rst4 Dynamic Thermal Power Management framework
12 Another aspect is to sustain the performance for a given power budget,
15 reduce the battery charging because the dissipated power is too high
16 compared with the power consumed by other devices.
19 different devices by limiting their power given an application
22 The Dynamic Thermal Power Management (DTPM) is a technique acting on
23 the device power by limiting and/or balancing a power budget among
27 device power.
34 driver to do the connection with the power manageable device.
36 The DTPM is a tree representation describing the power constraints
[all …]
/Linux-v5.15/Documentation/hwmon/
Docc.rst15 embedded on POWER processors. The OCC is a device that collects and aggregates
17 sensor data as well as perform thermal and power management on the system.
77 power[1-n]_input
78 Latest measured power reading of the component in
80 power[1-n]_average
81 Average power of the component in microwatts.
82 power[1-n]_average_interval
83 The amount of time over which the power average
86 [with power sensor version < 2]
88 power[1-n]_label
[all …]
/Linux-v5.15/drivers/net/ipa/
Dipa_power.c21 * DOC: IPA Power Management
24 * interconnects (buses) it depends on are enabled. Runtime power
48 * enum ipa_power_flag - IPA power flags
53 * @IPA_POWER_FLAG_COUNT: Number of defined power flags
64 * struct ipa_power - IPA power management information
75 spinlock_t spinlock; /* used with STOPPED/STARTED power flags */
111 static int ipa_interconnect_init(struct ipa_power *power, struct device *dev, in ipa_interconnect_init() argument
118 count = power->interconnect_count; in ipa_interconnect_init()
122 power->interconnect = interconnect; in ipa_interconnect_init()
134 while (interconnect-- > power->interconnect) in ipa_interconnect_init()
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/dp/
Ddp_power.c27 static void dp_power_regulator_disable(struct dp_power_private *power) in dp_power_regulator_disable() argument
29 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_disable()
30 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_disable()
31 int num = power->parser->regulator_cfg->num; in dp_power_regulator_disable()
43 static int dp_power_regulator_enable(struct dp_power_private *power) in dp_power_regulator_enable() argument
45 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_enable()
46 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_enable()
47 int num = power->parser->regulator_cfg->num; in dp_power_regulator_enable()
77 static int dp_power_regulator_init(struct dp_power_private *power) in dp_power_regulator_init() argument
79 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_init()
[all …]
Ddp_power.h12 * sruct dp_power - DisplayPort's power related data
26 * dp_power_init() - enable power supplies for display controller
28 * @power: instance of power module
35 int dp_power_init(struct dp_power *power, bool flip);
40 * @power: instance of power module
43 * This API turns off power and regulators.
45 int dp_power_deinit(struct dp_power *power);
50 * @power: instance of power module
52 * return: status of power clocks
62 * @power: instance of power module
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-class-powercap6 The powercap/ class sub directory belongs to the power cap
8 Documentation/power/powercap/powercap.rst for details.
16 Here <control type> determines how the power is going to be
17 controlled. A <control type> can contain multiple power zones.
24 This allows to enable/disable power capping for a "control type".
25 This status affects every power zone using this "control_type.
27 What: /sys/class/powercap/<control type>/<power zone>
32 A power zone is a single or a collection of devices, which can
33 be independently monitored and controlled. A power zone sysfs
37 What: /sys/class/powercap/<control type>/<power zone>/<child power zone>
[all …]
Dsysfs-power1 What: /sys/power/
5 The /sys/power directory will contain files that will
6 provide a unified interface to the power management
9 What: /sys/power/state
13 The /sys/power/state file controls system sleep states.
15 labels, which may be "mem" (suspend), "standby" (power-on
24 What: /sys/power/mem_sleep
28 The /sys/power/mem_sleep file controls the operating mode of
32 to suspend the system (by writing "mem" to the /sys/power/state
42 What: /sys/power/disk
[all …]
/Linux-v5.15/drivers/soc/bcm/
Dbcm2835-power.c3 * Power domain driver for Broadcom BCM2835
61 /* The power gates must be enabled with this bit before enabling the LDO in the
109 #define PM_READ(reg) readl(power->base + (reg))
110 #define PM_WRITE(reg, val) writel(PM_PASSWORD | (val), power->base + (reg))
129 #define ASB_READ(reg) readl(power->asb + (reg))
130 #define ASB_WRITE(reg, val) writel(PM_PASSWORD | (val), power->asb + (reg))
134 struct bcm2835_power *power; member
151 static int bcm2835_asb_enable(struct bcm2835_power *power, u32 reg) in bcm2835_asb_enable() argument
171 static int bcm2835_asb_disable(struct bcm2835_power *power, u32 reg) in bcm2835_asb_disable() argument
193 struct bcm2835_power *power = pd->power; in bcm2835_power_power_off() local
[all …]
/Linux-v5.15/arch/powerpc/boot/dts/fsl/
De6500_power_isa.dtsi2 * e6500 Power ISA Device Tree Source (include)
37 power-isa-version = "2.06";
38 power-isa-b; // Base
39 power-isa-e; // Embedded
40 power-isa-atb; // Alternate Time Base
41 power-isa-cs; // Cache Specification
42 power-isa-ds; // Decorated Storage
43 power-isa-e.ed; // Embedded.Enhanced Debug
44 power-isa-e.pd; // Embedded.External PID
45 power-isa-e.hv; // Embedded.Hypervisor
[all …]
De5500_power_isa.dtsi2 * e5500 Power ISA Device Tree Source (include)
37 power-isa-version = "2.06";
38 power-isa-b; // Base
39 power-isa-e; // Embedded
40 power-isa-atb; // Alternate Time Base
41 power-isa-cs; // Cache Specification
42 power-isa-ds; // Decorated Storage
43 power-isa-e.ed; // Embedded.Enhanced Debug
44 power-isa-e.pd; // Embedded.External PID
45 power-isa-e.hv; // Embedded.Hypervisor
[all …]
/Linux-v5.15/drivers/power/reset/
DKconfig3 bool "Board level reset or power off"
6 or shut it down, by manipulating the main power supply on the board.
8 Say Y here to enable board reset and power off
13 bool "ams AS3722 power-off driver"
16 This driver supports turning off board via a ams AS3722 power-off.
43 tristate "Actions Semi ATC260x PMIC power-off driver"
46 This driver provides power-off and restart support for a system
79 bool "Cortina Gemini power-off driver"
88 bool "GPIO power-off driver"
92 If your board needs a GPIO high/low to power down, say Y and
[all …]
/Linux-v5.15/drivers/acpi/
Ddevice_pm.c3 * drivers/acpi/device_pm.c - ACPI device power management routines.
27 * acpi_power_state_string - String representation of ACPI device power state.
28 * @state: ACPI device power state to return the string representation of.
62 * acpi_device_get_power - Get power state of an ACPI device.
63 * @device: Device to get the power state of.
64 * @state: Place to store the power state of the device.
66 * This function does not update the device's power.state field, but it may
67 * update its parent's power.state field (when the parent's power state is
68 * unknown and the device's power state turns out to be D0).
70 * Also, it does not update power resource reference counters to ensure that
[all …]
/Linux-v5.15/Documentation/driver-api/thermal/
Dpower_allocator.rst2 Power allocator governor tunables
22 The power allocator governor implements a
24 temperature as the control input and power as the controlled output:
48 | S |-----+----->| sum e |----->| X |--->| S |-->| S |-->|power |
60 Sustainable power
63 An estimate of the sustainable dissipatable power (in mW) should be
65 sustained power that can be dissipated at the desired control
66 temperature. This is the maximum sustained power for allocation at
67 the desired maximum temperature. The actual sustained power can vary
72 the thermal ramp. For reference, the sustainable power of a 4" phone
[all …]

12345678910>>...260