Home
last modified time | relevance | path

Searched +full:pd +full:- +full:node (Results 1 – 25 of 213) sorted by relevance

123456789

/linux/drivers/pmdomain/mediatek/
H A Dmtk-pm-domains.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
19 #include "mt6735-pm-domains.h"
20 #include "mt6795-pm-domains.h"
21 #include "mt6893-pm-domains.h"
22 #include "mt8167-pm-domains.h"
23 #include "mt8173-pm-domains.h"
24 #include "mt8183-pm-domains.h"
25 #include "mt8186-pm-domains.h"
26 #include "mt8188-pm-domains.h"
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8dxl-ss-adma.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 /delete-node/ &asrc1;
7 /delete-node/ &asrc1_lpcg;
8 /delete-node/ &adc1;
9 /delete-node/ &adc1_lpcg;
10 /delete-node/ &amix;
11 /delete-node/ &amix_lpcg;
12 /delete-node/ &edma1;
13 /delete-node/ &esai0;
14 /delete-node/ &esai0_lpcg;
[all …]
H A Dimx8qm-ss-audio.dtsi1 // SPDX-License-Identifier: GPL-2.0+
7 /delete-node/ &acm;
8 /delete-node/ &sai4;
9 /delete-node/ &sai5;
10 /delete-node/ &sai4_lpcg;
11 /delete-node/ &sai5_lpcg;
37 power-domains = <&pd IMX_SC_R_ASRC_0>;
43 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_2>;
44 clock-output-names = "asrc0_lpcg_ipg_clk", "asrc0_lpcg_mem_clk";
67 power-domains = <&pd IMX_SC_R_ASRC_1>;
[all …]
H A Dimx8qm-ss-dma.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2019 NXP
7 /delete-node/ &adma_pwm;
8 /delete-node/ &adma_pwm_lpcg;
11 uart4_lpcg: clock-controller@5a4a0000 {
12 compatible = "fsl,imx8qxp-lpcg";
14 #clock-cells = <1>;
17 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
18 clock-output-names = "uart4_lpcg_baud_clk",
20 power-domains = <&pd IMX_SC_R_UART_4>;
[all …]
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2019 Xilinx, Inc.
20 #include <linux/firmware/xlnx-zynqmp.h>
27 * struct zynqmp_pm_domain - Wrapper around struct generic_pm_domain
29 * @node_id: PM node ID corresponding to device inside PM domain
30 * @requested: The PM node mapped to the PM domain has been requested
42 * zynqmp_gpd_is_active_wakeup_path() - Check if device is in wakeup source
65 * zynqmp_gpd_power_on() - Power on PM domain
75 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_power_on() local
78 ret = zynqmp_pm_set_requirement(pd->node_id, in zynqmp_gpd_power_on()
[all …]
/linux/drivers/cpuidle/
H A Dcpuidle-psci-domain.c1 // SPDX-License-Identifier: GPL-2.0
3 * PM domains for CPUs via genpd - managed by cpuidle-psci.
22 #include "cpuidle-psci.h"
27 struct device_node *node; member
32 static int psci_pd_power_off(struct generic_pm_domain *pd) in psci_pd_power_off() argument
34 struct genpd_power_state *state = &pd->states[pd->state_idx]; in psci_pd_power_off()
37 if (!state->data) in psci_pd_power_off()
41 pd_state = state->data; in psci_pd_power_off()
42 psci_set_domain_state(pd, pd->state_idx, *pd_state); in psci_pd_power_off()
49 struct generic_pm_domain *pd; in psci_pd_init() local
[all …]
H A Ddt_idle_genpd.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #define pr_fmt(fmt) "dt-idle-genpd: " fmt
38 ret = -ENOMEM; in pd_parse_state_nodes()
48 i--; in pd_parse_state_nodes()
49 for (; i >= 0; i--) in pd_parse_state_nodes()
84 void dt_idle_pd_free(struct generic_pm_domain *pd) in dt_idle_pd_free() argument
86 pd_free_states(pd->states, pd->state_count); in dt_idle_pd_free()
87 kfree(pd->name); in dt_idle_pd_free()
88 kfree(pd); in dt_idle_pd_free()
94 struct generic_pm_domain *pd; in dt_idle_pd_alloc() local
[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
52 data->available = true; in sbi_set_domain_state()
53 data->state = state; in sbi_set_domain_state()
60 return data->state; in sbi_get_domain_state()
67 data->available = false; in sbi_clear_domain_state()
74 return data->available; in sbi_is_domain_state_available()
95 u32 *states = data->states; in __sbi_enter_domain_idle_state()
96 struct device *pd_dev = data->dev; in __sbi_enter_domain_idle_state()
[all …]
/linux/drivers/gpu/drm/lima/
H A Dlima_vm.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
2 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */
5 #include <linux/dma-mapping.h>
16 struct drm_mm_node node; member
26 #define LIMA_VM_PT_MASK ((1 << LIMA_VM_PD_SHIFT) - 1)
27 #define LIMA_VM_BT_MASK ((1 << LIMA_VM_PB_SHIFT) - 1)
43 vm->bts[pbe].cpu[bte] = 0; in lima_vm_unmap_range()
52 if (!vm->bts[pbe].cpu) { in lima_vm_map_page()
54 u32 *pd; in lima_vm_map_page() local
57 vm->bts[pbe].cpu = dma_alloc_wc( in lima_vm_map_page()
[all …]
/linux/drivers/pmdomain/ti/
H A Dti_sci_pm_domains.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
6 * J Keerthy <j-keerthy@ti.com>
7 * Dave Gerlach <d-gerlach@ti.com>
19 #include <dt-bindings/soc/ti,sci_pm_domain.h>
42 * @pd: generic_pm_domain for use with the genpd framework
43 * @node: link for the genpd list
49 struct generic_pm_domain pd; member
50 struct list_head node; member
54 #define genpd_to_ti_sci_pd(gpd) container_of(gpd, struct ti_sci_pm_domain, pd)
[all …]
/linux/Documentation/devicetree/bindings/power/
H A Dfsl,scu-pd.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/fsl,scu-pd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: i.MX SCU Client Device Node - Power Domain Based on SCU Message Protocol
10 - Dong Aisheng <aisheng.dong@nxp.com>
12 description: i.MX SCU Client Device Node
13 Client nodes are maintained as children of the relevant IMX-SCU device node.
17 - $ref: power-domain.yaml#
22 - enum:
[all …]
H A Drenesas,sysc-rmobile.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/renesas,sysc-rmobile.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Mobile System Controller
10 - Geert Uytterhoeven <geert+renesas@glider.be>
11 - Magnus Damm <magnus.damm@gmail.com>
14 The R-Mobile System Controller provides the following functions:
15 - Boot mode management,
16 - Reset generation,
[all …]
H A Drockchip,power-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/rockchip,power-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Elaine Zhang <zhangqing@rock-chips.com>
11 - Heiko Stuebner <heiko@sntech.de>
18 Power domains contained within power-controller node are
20 Documentation/devicetree/bindings/power/power-domain.yaml.
23 "power-domains" property that is a phandle for the
24 power domain node representing the domain.
[all …]
/linux/drivers/pmdomain/rockchip/
H A Dpm-domains.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/arm-smccc.h>
26 #include <dt-bindings/power/px30-power.h>
27 #include <dt-bindings/power/rockchip,rv1126-power.h>
28 #include <dt-bindings/power/rk3036-power.h>
29 #include <dt-bindings/power/rk3066-power.h>
30 #include <dt-bindings/power/rk3128-power.h>
31 #include <dt-bindings/power/rk3188-power.h>
32 #include <dt-bindings/power/rk3228-power.h>
33 #include <dt-bindings/power/rk3288-power.h>
[all …]
/linux/drivers/pmdomain/samsung/
H A Dexynos-pm-domains.c1 // SPDX-License-Identifier: GPL-2.0
9 // conjunction with runtime-pm. Support for both device-tree and non-device-tree
32 struct generic_pm_domain pd; member
38 struct exynos_pm_domain *pd; in exynos_pd_power() local
43 pd = container_of(domain, struct exynos_pm_domain, pd); in exynos_pd_power()
44 base = pd->base; in exynos_pd_power()
46 pwr = power_on ? pd->local_pwr_cfg : 0; in exynos_pd_power()
52 while ((readl_relaxed(base + 0x4) & pd->local_pwr_cfg) != pwr) { in exynos_pd_power()
55 pr_err("Power domain %s %s failed\n", domain->name, op); in exynos_pd_power()
56 return -ETIMEDOUT; in exynos_pd_power()
[all …]
/linux/arch/arm/mach-rockchip/
H A Dplatsmp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
38 static int pmu_power_domain_is_on(int pd) in pmu_power_domain_is_on() argument
47 return !(val & BIT(pd)); in pmu_power_domain_is_on()
57 np = dev->of_node; in rockchip_get_core_reset()
64 static int pmu_set_power_domain(int pd, bool on) in pmu_set_power_domain() argument
66 u32 val = (on) ? 0 : BIT(pd); in pmu_set_power_domain()
67 struct reset_control *rstc = rockchip_get_core_reset(pd); in pmu_set_power_domain()
72 __func__, pd); in pmu_set_power_domain()
85 ret = regmap_update_bits(pmu, PMU_PWRDN_CON, BIT(pd), val); in pmu_set_power_domain()
92 ret = -1; in pmu_set_power_domain()
[all …]
/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
40 #include <linux/dma-buf.h>
41 #include <linux/dma-resv.h>
58 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem,
65 struct ib_pd *pd) in set_mkc_access_pd_addr_fields() argument
67 struct mlx5_ib_dev *dev = to_mdev(pd->device); in set_mkc_access_pd_addr_fields()
76 if (MLX5_CAP_GEN(dev->mdev, relaxed_ordering_write)) in set_mkc_access_pd_addr_fields()
79 if (MLX5_CAP_GEN(dev->mdev, relaxed_ordering_read) || in set_mkc_access_pd_addr_fields()
[all …]
/linux/kernel/sched/
H A Dtopology.c1 // SPDX-License-Identifier: GPL-2.0
46 struct sched_group *group = sd->groups; in sched_domain_debug_one()
47 unsigned long flags = sd->flags; in sched_domain_debug_one()
52 printk(KERN_DEBUG "%*s domain-%d: ", level, "", level); in sched_domain_debug_one()
54 cpumask_pr_args(sched_domain_span(sd)), sd->name); in sched_domain_debug_one()
57 printk(KERN_ERR "ERROR: domain->span does not contain CPU%d\n", cpu); in sched_domain_debug_one()
60 printk(KERN_ERR "ERROR: domain->groups does not contain CPU%d\n", cpu); in sched_domain_debug_one()
67 if ((meta_flags & SDF_SHARED_CHILD) && sd->child && in sched_domain_debug_one()
68 !(sd->child->flags & flag)) in sched_domain_debug_one()
72 if ((meta_flags & SDF_SHARED_PARENT) && sd->parent && in sched_domain_debug_one()
[all …]
/linux/drivers/clk/davinci/
H A Dpsc.c1 // SPDX-License-Identifier: GPL-2.0
9 * Murali Karicheri <m-karicheri2@ti.com>
12 * And: arch/arm/mach-davinci/psc.c
16 #include <linux/clk-provider.h>
27 #include <linux/reset-controller.h>
65 * struct davinci_lpsc_clk - LPSC clock structure
72 * @pd: Power domain
82 u32 pd; member
90 * best_dev_name - get the "best" device name.
93 * Returns the device tree compatible name if the device has a DT node,
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dmediatek,mt2701-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt2701-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 The AFE PCM node must be a subnode of the MediaTek audsys device tree node.
13 - Eugen Hristev <eugen.hristev@collabora.com>
18 - mediatek,mt2701-audio
19 - mediatek,mt7622-audio
23 - description: AFE interrupt
24 - description: ASYS interrupt
[all …]
/linux/arch/arm64/boot/dts/apple/
H A Dt6002-j375d.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 * target-type: J375d
10 /dts-v1/;
13 #include "t600x-j375.dtsi"
16 compatible = "apple,j375d", "apple,t6002", "apple,arm-platform";
22 /* front-right */
23 hpm4: usb-pd@39 {
26 interrupt-parent = <&pinctrl_ap>;
28 interrupt-names = "irq";
31 /* front-left */
[all …]
/linux/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
13 A USB connector node represents a physical USB connector. It should be a child
14 of a USB interface controller or a separate node when it is attached to both
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
[all …]
/linux/drivers/memory/
H A Demif.c1 // SPDX-License-Identifier: GPL-2.0-only
33 * struct emif_data - Per device static data for driver's use
38 * to this EMIF - read from MR4 register. If there
43 * @node: node in the device list
44 * @base: base address of memory-mapped IO registers.
48 * frequencies, to avoid re-calculating them on
55 * @np_ddr: Pointer to ddr device tree node
61 struct list_head node; member
78 u32 type = emif->plat_data->device_info->type; in do_emif_regdump_show()
79 u32 ip_rev = emif->plat_data->ip_rev; in do_emif_regdump_show()
[all …]
/linux/arch/arm/mach-omap2/
H A Dpowerdomain.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2007-2008, 2010 Texas Instruments, Inc.
6 * Copyright (C) 2007-2011 Nokia Corporation
10 * XXX This should be moved to the mach-omap2/ directory at the earliest
45 * PWRDM_HAS_HDWR_SAR - powerdomain has hardware save-and-restore support
47 * PWRDM_HAS_MPU_QUIRK - MPU pwr domain has MEM bank 0 bits in MEM
50 * PWRDM_HAS_LOWPOWERSTATECHANGE - can transition from a sleep state
58 * Number of memory banks that are power-controllable. On OMAP4430, the
77 * struct powerdomain - OMAP powerdomain
85 * @banks: Number of software-controllable memory banks in this powerdomain
[all …]
/linux/drivers/video/backlight/
H A Dlp855x_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
40 #define DEFAULT_BL_NAME "lcd-backlight"
81 return i2c_smbus_write_byte_data(lp->client, reg, data); in lp855x_write_byte()
89 ret = i2c_smbus_read_byte_data(lp->client, reg); in lp855x_update_bit()
91 dev_err(lp->dev, "failed to read 0x%.2x\n", reg); in lp855x_update_bit()
106 switch (lp->chip_id) { in lp855x_is_valid_rom_area()
173 struct lp855x_platform_data *pd = lp->pdata; in lp855x_configure() local
175 if (lp->cfg->pre_init_device) { in lp855x_configure()
176 ret = lp->cfg->pre_init_device(lp); in lp855x_configure()
178 dev_err(lp->dev, "pre init device err: %d\n", ret); in lp855x_configure()
[all …]

123456789