/linux-6.3-rc2/drivers/base/power/ |
A D | runtime.c | 107 time = suspended ? dev->power.suspended_time : dev->power.active_time; in rpm_get_accounted_time() 267 else if (!dev->power.ignore_children && atomic_read(&dev->power.child_count)) in rpm_check_suspend_allowed() 273 (dev->power.request_pending && dev->power.request == RPM_REQ_RESUME)) in rpm_check_suspend_allowed() 361 __releases(&dev->power.lock) __acquires(&dev->power.lock) in __rpm_callback() 517 if (dev->power.irq_safe) in rpm_idle() 524 if (dev->power.irq_safe) in rpm_idle() 559 __releases(&dev->power.lock) __acquires(&dev->power.lock) in rpm_suspend() 693 if (dev->power.irq_safe) in rpm_suspend() 762 __releases(&dev->power.lock) __acquires(&dev->power.lock) in rpm_resume() 1262 if (dev->power.runtime_error || dev->power.disable_depth) in __pm_runtime_set_status() [all …]
|
A D | qos.c | 230 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 D | sysfs.c | 356 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 …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/apple/ |
A D | t8103-pmgr.dtsi | 10 ps_sbr: power-controller@100 { 13 #power-domain-cells = <0>; 19 ps_aic: power-controller@108 { 22 #power-domain-cells = <0>; 31 #power-domain-cells = <0>; 40 #power-domain-cells = <0>; 48 #power-domain-cells = <0>; 56 #power-domain-cells = <0>; 64 #power-domain-cells = <0>; 72 #power-domain-cells = <0>; [all …]
|
A D | t600x-pmgr.dtsi | 12 #power-domain-cells = <0>; 21 #power-domain-cells = <0>; 30 #power-domain-cells = <0>; 39 #power-domain-cells = <0>; 48 #power-domain-cells = <0>; 57 #power-domain-cells = <0>; 66 #power-domain-cells = <0>; 75 #power-domain-cells = <0>; 83 #power-domain-cells = <0>; 91 #power-domain-cells = <0>; [all …]
|
/linux-6.3-rc2/drivers/net/ipa/ |
A D | ipa_power.c | 92 ret = of_icc_bulk_get(power->dev, power->interconnect_count, in ipa_interconnect_init() 111 icc_bulk_put(power->interconnect_count, power->interconnect); in ipa_interconnect_exit() 117 struct ipa_power *power = ipa->power; in ipa_power_enable() local 137 struct ipa_power *power = ipa->power; in ipa_power_disable() local 261 struct ipa_power *power = ipa->power; in ipa_power_modem_queue_stop() local 281 struct ipa_power *power = ipa->power; in ipa_power_modem_queue_wake() local 326 struct ipa_power *power = ipa->power; in ipa_power_retention() local 385 if (!power) { in ipa_power_init() 406 return power; in ipa_power_init() 411 kfree(power); in ipa_power_init() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/power/ |
A D | rockchip,power-controller.yaml | 112 "include/dt-bindings/power/px30-power.h" 113 "include/dt-bindings/power/rk3036-power.h" 114 "include/dt-bindings/power/rk3066-power.h" 115 "include/dt-bindings/power/rk3128-power.h" 116 "include/dt-bindings/power/rk3188-power.h" 117 "include/dt-bindings/power/rk3228-power.h" 118 "include/dt-bindings/power/rk3288-power.h" 119 "include/dt-bindings/power/rk3328-power.h" 120 "include/dt-bindings/power/rk3366-power.h" 121 "include/dt-bindings/power/rk3368-power.h" [all …]
|
A D | mediatek,power-controller.yaml | 4 $id: http://devicetree.org/schemas/power/mediatek,power-controller.yaml# 17 IP cores belonging to a power domain should contain a 'power-domains' 66 in Documentation/devicetree/bindings/power/power-domain.yaml. 84 "include/dt-bindings/power/mt6795-power.h" - for MT8167 type power domain. 85 "include/dt-bindings/power/mt8167-power.h" - for MT8167 type power domain. 86 "include/dt-bindings/power/mt8173-power.h" - for MT8173 type power domain. 87 "include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain. 88 "include/dt-bindings/power/mediatek,mt8188-power.h" - for MT8188 type power domain. 89 "include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain. 90 "include/dt-bindings/power/mt8195-power.h" - for MT8195 type power domain. [all …]
|
A D | fsl,imx-gpcv2.yaml | 18 Documentation/devicetree/bindings/power/power-domain.yaml, which are 21 IP cores belonging to a power domain should contain a 'power-domains' 56 "power-domain@[0-9a-f]+$": 62 '#power-domain-cells': 68 include/dt-bindings/power/imx7-power.h for fsl,imx7d-gpc and 69 include/dt-bindings/power/imx8m-power.h for fsl,imx8mq-gpc 70 include/dt-bindings/power/imx8mm-power.h for fsl,imx8mm-gpc 71 include/dt-bindings/power/imx8mp-power.h for fsl,imx8mp-gpc 82 power-supply: true 84 power-domains: [all …]
|
A D | power-domain.yaml | 4 $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)([@-].*)?$" 47 Phandles to the OPP tables of power domains provided by a power domain 53 "#power-domain-cells": 60 power-domains: 71 - "#power-domain-cells" 77 power: power-controller@12340000 { 80 #power-domain-cells = <1>; 90 #power-domain-cells = <1>; [all …]
|
A D | power_domain.txt | 4 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 …]
|
A D | brcm,bcm63xx-power.yaml | 4 $id: http://devicetree.org/schemas/power/brcm,bcm63xx-power.yaml# 7 title: BCM63xx power domain driver 20 - brcm,bcm6318-power-controller 21 - brcm,bcm6328-power-controller 22 - brcm,bcm6362-power-controller 23 - brcm,bcm63268-power-controller 28 "#power-domain-cells": 34 - "#power-domain-cells" 40 periph_pwr: power-controller@10001848 { 41 compatible = "brcm,bcm6328-power-controller"; [all …]
|
/linux-6.3-rc2/drivers/power/supply/ |
A D | axp20x_usb_power.c | 84 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 D | axp20x_ac_power.c | 299 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 D | wm831x_power.c | 548 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-6.3-rc2/drivers/staging/nvec/ |
A D | nvec_power.c | 87 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-6.3-rc2/drivers/gpu/drm/msm/dp/ |
A D | dp_power.c | 67 drm_dbg_dp(power->drm_dev, in dp_power_clk_status() 101 drm_dbg_dp(power->drm_dev, in dp_power_clk_enable() 107 drm_dbg_dp(power->drm_dev, in dp_power_clk_enable() 113 drm_dbg_dp(power->drm_dev, in dp_power_clk_enable() 119 drm_dbg_dp(power->drm_dev, in dp_power_clk_enable() 154 drm_dbg_dp(power->drm_dev, in dp_power_clk_enable() 246 power = devm_kzalloc(&parser->pdev->dev, sizeof(*power), GFP_KERNEL); in dp_power_get() 247 if (!power) in dp_power_get() 250 power->parser = parser; in dp_power_get() 251 power->pdev = parser->pdev; in dp_power_get() [all …]
|
/linux-6.3-rc2/drivers/soc/bcm/ |
A D | bcm2835-power.c | 199 struct bcm2835_power *power = pd->power; in bcm2835_power_power_off() local 202 if (power->rpivid_asb) in bcm2835_power_power_off() 219 struct bcm2835_power *power = pd->power; in bcm2835_power_power_on() local 293 struct bcm2835_power *power = pd->power; in bcm2835_asb_power_on() local 348 struct bcm2835_power *power = pd->power; in bcm2835_asb_power_off() local 377 struct bcm2835_power *power = pd->power; in bcm2835_power_pd_power_on() local 443 struct bcm2835_power *power = pd->power; in bcm2835_power_pd_power_off() local 527 dom->power = power; in bcm2835_init_power_domain() 635 power = devm_kzalloc(dev, sizeof(*power), GFP_KERNEL); in bcm2835_power_probe() 636 if (!power) in bcm2835_power_probe() [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/arm/ |
A D | juno-scmi.dtsi | 3 power-domains = <&scmi_devpd 8>; 7 power-domains = <&scmi_devpd 8>; 11 power-domains = <&scmi_devpd 8>; 15 power-domains = <&scmi_devpd 8>; 19 power-domains = <&scmi_devpd 8>; 23 power-domains = <&scmi_devpd 8>; 27 power-domains = <&scmi_devpd 8>; 31 power-domains = <&scmi_devpd 8>; 55 #power-domain-cells = <1>; 120 power-domains = <&scmi_devpd 8>; [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/soc/mediatek/ |
A D | scpsys.txt | 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 50 - isp-supply: Power supply for the isp power domain 51 - mm-supply: Power supply for the mm power domain [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/apple/ |
A D | apple,pmgr.yaml | 20 pattern: "^power-management@[0-9a-f]+$" 41 "power-controller@[0-9a-f]+$": 59 power-management@23b700000 { 65 ps_sio: power-controller@1c0 { 68 #power-domain-cells = <0>; 77 #power-domain-cells = <0>; 80 power-domains = <&ps_sio>; 86 #power-domain-cells = <0>; 93 power-management@23d280000 { 102 #power-domain-cells = <0>; [all …]
|
/linux-6.3-rc2/drivers/soc/bcm/bcm63xx/ |
A D | bcm63xx-power.c | 41 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-6.3-rc2/include/trace/events/ |
A D | thermal.h | 96 TP_PROTO(int cpu, u32 power), 98 TP_ARGS(cpu, power), 102 __field(u32, power) 107 __entry->power = power; 131 __entry->power = power; 136 __entry->power) 144 u32 power), 161 __entry->power = power; 168 __entry->power) 188 __entry->power = power; [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | bcm2835-rpi.dtsi | 1 #include <dt-bindings/power/raspberrypi-power.h> 14 power: power { label 15 compatible = "raspberrypi,bcm2835-power"; 17 #power-domain-cells = <1>; 57 power-domains = <&power RPI_POWER_DOMAIN_USB>; 61 power-domains = <&power RPI_POWER_DOMAIN_VEC>; 66 power-domains = <&power RPI_POWER_DOMAIN_DSI0>; 70 power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
|
/linux-6.3-rc2/Documentation/devicetree/bindings/soc/imx/ |
A D | fsl,imx8mm-vpu-blk-ctrl.yaml | 26 '#power-domain-cells': 29 power-domains: 32 power-domain-names: 50 - power-domains 51 - power-domain-names 63 power-domains: 70 power-domain-names: 108 power-domains: 115 power-domain-names: 151 #include <dt-bindings/power/imx8mm-power.h> [all …]
|