Home
last modified time | relevance | path

Searched refs:power (Results 1 – 25 of 2336) sorted by relevance

12345678910>>...94

/linux/drivers/base/power/
A Druntime.c107 time = suspended ? dev->power.suspended_time : dev->power.active_time; in rpm_get_accounted_time()
346 __releases(&dev->power.lock) __acquires(&dev->power.lock) in __rpm_callback()
351 if (dev->power.irq_safe) { in __rpm_callback()
379 if (dev->power.irq_safe) { in __rpm_callback()
533 __releases(&dev->power.lock) __acquires(&dev->power.lock) in rpm_suspend()
667 if (dev->power.irq_safe) in rpm_suspend()
736 __releases(&dev->power.lock) __acquires(&dev->power.lock) in rpm_resume()
747 else if (dev->power.disable_depth == 1 && dev->power.is_suspended in rpm_resume()
845 if (dev->power.irq_safe) in rpm_resume()
1201 if (dev->power.runtime_error || dev->power.disable_depth) in __pm_runtime_set_status()
[all …]
A Dqos.c230 spin_lock_irq(&dev->power.lock); in dev_pm_qos_constraints_allocate()
231 dev->power.qos = qos; in dev_pm_qos_constraints_allocate()
267 qos = dev->power.qos; in dev_pm_qos_constraints_destroy()
308 spin_lock_irq(&dev->power.lock); in dev_pm_qos_constraints_destroy()
341 if (IS_ERR(dev->power.qos)) in __dev_pm_qos_add_request()
343 else if (!dev->power.qos) in __dev_pm_qos_add_request()
542 if (IS_ERR(dev->power.qos)) in dev_pm_qos_add_notifier()
544 else if (!dev->power.qos) in dev_pm_qos_add_notifier()
747 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->resume_latency_req) in __dev_pm_qos_hide_latency_limit()
825 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->flags_req) in __dev_pm_qos_hide_flags()
[all …]
A Dsysfs.c356 if (dev->power.wakeup) { in wakeup_count_show()
377 if (dev->power.wakeup) { in wakeup_active_count_show()
398 if (dev->power.wakeup) { in wakeup_abort_count_show()
419 if (dev->power.wakeup) { in wakeup_expire_count_show()
439 if (dev->power.wakeup) { in wakeup_active_show()
460 if (dev->power.wakeup) { in wakeup_total_time_ms_show()
480 if (dev->power.wakeup) { in wakeup_max_time_ms_show()
501 if (dev->power.wakeup) { in wakeup_last_time_ms_show()
515 if (dev->power.wakeup && dev->power.wakeup->dev) in dpm_sysfs_wakeup_change_owner()
531 if (dev->power.wakeup) { in wakeup_prevent_sleep_time_ms_show()
[all …]
A D.built-in.a.cmd1power/built-in.a := echo >/dev/null; rm -f drivers/base/power/built-in.a; /usr/bin/ccache /home/te…
A Dmain.c105 dev->power.wakeup = NULL; in device_pm_sleep_init()
179 list_move_tail(&deva->power.entry, &devb->power.entry); in device_pm_move_before()
193 list_move(&deva->power.entry, &devb->power.entry); in device_pm_move_after()
600 if (dev->power.syscore || dev->power.direct_complete) in device_resume_noirq()
770 if (dev->power.syscore || dev->power.direct_complete) in device_resume_early()
906 if (dev->power.syscore) in device_resume()
1060 if (dev->power.syscore) in device_complete()
1213 if (dev->power.syscore || dev->power.direct_complete) in __device_suspend_noirq()
1407 if (dev->power.syscore || dev->power.direct_complete) in __device_suspend_late()
1642 if (dev->power.syscore) in __device_suspend()
[all …]
/linux/Documentation/devicetree/bindings/power/
A Drockchip,power-controller.yaml110 "include/dt-bindings/power/px30-power.h"
111 "include/dt-bindings/power/rk3036-power.h"
112 "include/dt-bindings/power/rk3066-power.h"
113 "include/dt-bindings/power/rk3128-power.h"
114 "include/dt-bindings/power/rk3188-power.h"
115 "include/dt-bindings/power/rk3228-power.h"
116 "include/dt-bindings/power/rk3288-power.h"
117 "include/dt-bindings/power/rk3328-power.h"
118 "include/dt-bindings/power/rk3366-power.h"
119 "include/dt-bindings/power/rk3368-power.h"
[all …]
A Dmediatek,power-controller.yaml4 $id: http://devicetree.org/schemas/power/mediatek,power-controller.yaml#
17 IP cores belonging to a power domain should contain a 'power-domains'
31 '#power-domain-cells':
44 Represents the power domains within the power controller node as documented
45 in Documentation/devicetree/bindings/power/power-domain.yaml.
63 "include/dt-bindings/power/mt8167-power.h" - for MT8167 type power domain.
64 "include/dt-bindings/power/mt8173-power.h" - for MT8173 type power domain.
65 "include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain.
66 "include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain.
102 Represents a power domain child within a power domain parent node.
[all …]
A Dfsl,imx-gpcv2.yaml14 Control (PGC) for various power domains.
18 Documentation/devicetree/bindings/power/power-domain.yaml, which are
21 IP cores belonging to a power domain should contain a 'power-domains'
47 "power-domain@[0-9]$":
51 '#power-domain-cells':
57 include/dt-bindings/power/imx7-power.h for fsl,imx7d-gpc and
58 include/dt-bindings/power/imx8m-power.h for fsl,imx8mq-gpc
59 include/dt-bindings/power/imx8mm-power.h for fsl,imx8mm-gpc
66 inside this power domain.
70 power-supply: true
[all …]
A 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
28 pattern: "^(power-controller|power-domain)([@-].*)?$"
46 Phandles to the OPP tables of power domains provided by a power domain
52 "#power-domain-cells":
59 power-domains:
70 - "#power-domain-cells"
76 power: power-controller@12340000 {
79 #power-domain-cells = <1>;
89 #power-domain-cells = <1>;
[all …]
A Dpower_domain.txt4 used for power gating of selected IP blocks for power saving by reduced leakage
16 See power-domain.yaml.
25 - power-domain-names : A list of power domain name strings sorted in the same
27 power-domain-names to match power domains with power-domains
35 power-domains = <&power 0>;
36 power-domain-names = "io";
42 power-domains = <&power 0>, <&power 1> ;
48 node with the label "power".
91 power: power-controller@12340000 {
101 power-domains = <&power 0>;
[all …]
/linux/drivers/power/supply/
A Daxp20x_usb_power.c84 if (power->axp20x_id >= AXP221_ID && !power->online) in axp20x_usb_vbus_needs_polling()
113 if (val != power->old_status) in axp20x_usb_power_poll_vbus()
116 power->old_status = val; in axp20x_usb_power_poll_vbus()
513 while (i < power->num_irqs) in axp20x_usb_power_suspend()
526 while (i < power->num_irqs) in axp20x_usb_power_resume()
542 if (IS_ERR(power->vbus_v)) { in configure_iio_channels()
549 if (IS_ERR(power->vbus_i)) { in configure_iio_channels()
589 if (!power) in axp20x_usb_power_probe()
629 psy_cfg.drv_data = power; in axp20x_usb_power_probe()
634 if (IS_ERR(power->supply)) in axp20x_usb_power_probe()
[all …]
A Daxp20x_ac_power.c299 while (i < power->num_irqs) in axp20x_ac_power_suspend()
300 disable_irq(power->irqs[i++]); in axp20x_ac_power_suspend()
312 while (i < power->num_irqs) in axp20x_ac_power_resume()
313 enable_irq(power->irqs[i++]); in axp20x_ac_power_resume()
326 struct axp20x_ac_power *power; in axp20x_ac_power_probe() local
343 if (!power) in axp20x_ac_power_probe()
348 if (IS_ERR(power->acin_v)) { in axp20x_ac_power_probe()
355 if (IS_ERR(power->acin_i)) { in axp20x_ac_power_probe()
369 psy_cfg.drv_data = power; in axp20x_ac_power_probe()
374 if (IS_ERR(power->supply)) in axp20x_ac_power_probe()
[all …]
A Dwm831x_power.c548 snprintf(power->wall_name, sizeof(power->wall_name), in wm831x_power_probe()
550 snprintf(power->battery_name, sizeof(power->wall_name), in wm831x_power_probe()
552 snprintf(power->usb_name, sizeof(power->wall_name), in wm831x_power_probe()
555 snprintf(power->wall_name, sizeof(power->wall_name), in wm831x_power_probe()
557 snprintf(power->battery_name, sizeof(power->wall_name), in wm831x_power_probe()
559 snprintf(power->usb_name, sizeof(power->wall_name), in wm831x_power_probe()
568 power->wall_desc.name = power->wall_name; in wm831x_power_probe()
580 power->usb_desc.name = power->usb_name, in wm831x_power_probe()
597 power->battery_desc.name = power->battery_name; in wm831x_power_probe()
614 power); in wm831x_power_probe()
[all …]
/linux/drivers/staging/nvec/
A Dnvec_power.c87 struct nvec_power *power = in nvec_power_notifier() local
96 power->on = res->plu; in nvec_power_notifier()
123 struct nvec_power *power = in nvec_power_bat_notifier() local
139 power->bat_present = 1; in nvec_power_bat_notifier()
143 power->bat_status = in nvec_power_bat_notifier()
147 power->bat_status = in nvec_power_bat_notifier()
151 power->bat_status = in nvec_power_bat_notifier()
161 power->bat_present = 0; in nvec_power_bat_notifier()
381 if (!power) in nvec_power_probe()
385 power->nvec = nvec; in nvec_power_probe()
[all …]
/linux/drivers/net/ipa/
A Dipa_power.c147 interconnect = power->interconnect + power->interconnect_count; in ipa_interconnect_exit()
158 struct ipa_power *power = ipa->power; in ipa_interconnect_enable() local
189 struct ipa_power *power = ipa->power; in ipa_interconnect_disable() local
294 return ipa->power ? (u32)clk_get_rate(ipa->power->core) : 0; in ipa_core_clock_rate()
346 struct ipa_power *power = ipa->power; in ipa_power_modem_queue_stop() local
366 struct ipa_power *power = ipa->power; in ipa_power_modem_queue_wake() local
427 power = kzalloc(sizeof(*power), GFP_KERNEL); in ipa_power_init()
428 if (!power) { in ipa_power_init()
445 return power; in ipa_power_init()
448 kfree(power); in ipa_power_init()
[all …]
/linux/drivers/gpu/drm/msm/dp/
A Ddp_power.c230 struct dp_power_private *power; in dp_power_clk_enable() local
299 struct dp_power_private *power; in dp_power_client_init() local
316 rc = dp_power_clk_init(power); in dp_power_client_init()
330 struct dp_power_private *power; in dp_power_client_deinit() local
339 dp_power_clk_deinit(power); in dp_power_client_deinit()
400 power = devm_kzalloc(&parser->pdev->dev, sizeof(*power), GFP_KERNEL); in dp_power_get()
401 if (!power) in dp_power_get()
404 power->parser = parser; in dp_power_get()
405 power->pdev = parser->pdev; in dp_power_get()
406 power->dev = dev; in dp_power_get()
[all …]
/linux/drivers/soc/bcm/
A Dbcm2835-power.c193 struct bcm2835_power *power = pd->power; in bcm2835_power_power_off() local
209 struct bcm2835_power *power = pd->power; in bcm2835_power_power_on() local
279 struct bcm2835_power *power = pd->power; in bcm2835_asb_power_on() local
334 struct bcm2835_power *power = pd->power; in bcm2835_asb_power_off() local
363 struct bcm2835_power *power = pd->power; in bcm2835_power_pd_power_on() local
429 struct bcm2835_power *power = pd->power; in bcm2835_power_pd_power_off() local
513 dom->power = power; in bcm2835_init_power_domain()
621 power = devm_kzalloc(dev, sizeof(*power), GFP_KERNEL); in bcm2835_power_probe()
622 if (!power) in bcm2835_power_probe()
626 power->dev = dev; in bcm2835_power_probe()
[all …]
/linux/Documentation/devicetree/bindings/soc/mediatek/
A Dscpsys.txt11 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
50 - isp-supply: Power supply for the isp power domain
51 - mm-supply: Power supply for the mm power domain
[all …]
/linux/drivers/soc/bcm/bcm63xx/
A Dbcm63xx-power.c41 struct bcm63xx_power *power = pmd->power; in bcm63xx_power_get_state() local
55 struct bcm63xx_power *power = pmd->power; in bcm63xx_power_set_state() local
100 power = devm_kzalloc(dev, sizeof(*power), GFP_KERNEL); in bcm63xx_power_probe()
101 if (!power) in bcm63xx_power_probe()
105 if (IS_ERR(power->base)) in bcm63xx_power_probe()
124 power->dev = devm_kcalloc(dev, power->genpd_data.num_domains, in bcm63xx_power_probe()
127 if (!power->dev) in bcm63xx_power_probe()
130 power->genpd = devm_kcalloc(dev, power->genpd_data.num_domains, in bcm63xx_power_probe()
133 if (!power->genpd) in bcm63xx_power_probe()
136 power->genpd_data.domains = power->genpd; in bcm63xx_power_probe()
[all …]
/linux/kernel/power/
A D.built-in.a.cmd1power/built-in.a := echo >/dev/null; rm -f kernel/power/built-in.a; /usr/bin/ccache /home/test/wor…
/linux/Documentation/ABI/testing/
A Dsysfs-class-powercap6 The powercap/ class sub directory belongs to the power cap
8 Documentation/power/powercap/powercap.rst for details.
27 What: /sys/class/powercap/<control type>/<power zone>
37 What: /sys/class/powercap/<control type>/<power zone>/<child power zone>
46 be a child power zone.
48 What: /sys/class/powercap/.../<power zone>/name
53 Specifies the name of this power zone.
72 What: /sys/class/powercap/.../<power zone>/power_uw
77 Current power in micro-watts.
84 Range of the above power value in micro-watts.
[all …]
/linux/Documentation/hwmon/
A Docc.rst77 power[1-n]_input
80 power[1-n]_average
88 power[1-n]_label
93 power[1-n]_label
101 power[1-n]_label
111 power[1-n]_label
113 power[1-n]_input
115 power[1-n]_cap
120 power[1-n]_cap_max
123 power[1-n]_cap_min Minimum power cap that the OCC can enforce in
[all …]
/linux/arch/arm64/boot/dts/mediatek/
A Dmt8167.dtsi10 #include <dt-bindings/power/mt8167-power.h>
41 #power-domain-cells = <1>;
43 spm: power-controller {
47 #power-domain-cells = <1>;
49 /* power domains of the SoC */
54 #power-domain-cells = <0>;
63 #power-domain-cells = <0>;
70 #power-domain-cells = <0>;
80 #power-domain-cells = <1>;
87 #power-domain-cells = <1>;
[all …]
/linux/arch/powerpc/boot/dts/fsl/
A De6500_power_isa.dtsi37 power-isa-version = "2.06";
38 power-isa-b; // Base
39 power-isa-e; // Embedded
42 power-isa-ds; // Decorated Storage
50 power-isa-exp; // External Proxy
51 power-isa-fp; // Floating Point
53 power-isa-mmc; // Memory Coherence
55 power-isa-wt; // Wait
56 power-isa-64; // 64-bit
60 power-isa-v; // Vector (AltiVec)
[all …]
/linux/Documentation/power/powercap/
A Dpowercap.rst26 parent power zone containing multiple subzones and so on to reflect the power
57 │   │   ├──power
74 │   │   ├──power
83 │   ├──power
110 │   │   ├──power
127 │   │   ├──power
136 │   ├──power
141 ├──power
204 Current power in micro watts.
210 Name of this power zone.
[all …]

Completed in 55 milliseconds

12345678910>>...94