Home
last modified time | relevance | path

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

12345678910

/linux-6.14.4/drivers/pmdomain/mediatek/
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 "mt8167-pm-domains.h"
22 #include "mt8173-pm-domains.h"
23 #include "mt8183-pm-domains.h"
24 #include "mt8186-pm-domains.h"
25 #include "mt8188-pm-domains.h"
26 #include "mt8192-pm-domains.h"
[all …]
/linux-6.14.4/arch/arm64/boot/dts/freescale/
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 …]
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 …]
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-6.14.4/drivers/pmdomain/xilinx/
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-6.14.4/drivers/cpuidle/
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
33 static int psci_pd_power_off(struct generic_pm_domain *pd) in psci_pd_power_off() argument
35 struct genpd_power_state *state = &pd->states[pd->state_idx]; in psci_pd_power_off()
38 if (!state->data) in psci_pd_power_off()
42 return -EBUSY; in psci_pd_power_off()
45 pd_state = state->data; in psci_pd_power_off()
53 struct generic_pm_domain *pd; in psci_pd_init() local
[all …]
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 …]
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
53 data->available = true; in sbi_set_domain_state()
54 data->state = state; in sbi_set_domain_state()
61 return data->state; in sbi_get_domain_state()
68 data->available = false; in sbi_clear_domain_state()
75 return data->available; in sbi_is_domain_state_available()
96 u32 *states = data->states; in __sbi_enter_domain_idle_state()
97 struct device *pd_dev = data->dev; in __sbi_enter_domain_idle_state()
[all …]
/linux-6.14.4/drivers/gpu/drm/lima/
Dlima_vm.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
2 /* Copyright 2017-2019 Qiang Yu <[email protected]> */
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-6.14.4/drivers/pmdomain/ti/
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-[email protected]>
7 * Dave Gerlach <d-[email protected]>
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-6.14.4/drivers/block/
Dpktcdvd.c3 * Copyright (C) 2001-2004 Peter Osterlund <[email protected]>
9 * Packet writing layer for ATAPI and SCSI CD-RW, DVD+RW, DVD-RW and
10 * DVD-RAM devices.
25 * randomly read and written using 2kB-sized blocks.
39 * At the top layer there is a custom ->submit_bio function that forwards
49 #include <linux/backing-dev.h>
98 static sector_t get_zone(sector_t sector, struct pktcdvd_device *pd) in get_zone() argument
100 return (sector + pd->offset) & ~(sector_t)(pd->settings.size - 1); in get_zone()
107 /sys/class/pktcdvd/pktcdvd[0-7]/
122 struct pktcdvd_device *pd = dev_get_drvdata(dev); in packets_started_show() local
[all …]
/linux-6.14.4/drivers/pmdomain/samsung/
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-6.14.4/Documentation/devicetree/bindings/power/
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 <[email protected]>
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 …]
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 <[email protected]>
11 - Magnus Damm <[email protected]>
14 The R-Mobile System Controller provides the following functions:
15 - Boot mode management,
16 - Reset generation,
[all …]
/linux-6.14.4/drivers/pmdomain/rockchip/
Dpm-domains.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <dt-bindings/power/px30-power.h>
24 #include <dt-bindings/power/rockchip,rv1126-power.h>
25 #include <dt-bindings/power/rk3036-power.h>
26 #include <dt-bindings/power/rk3066-power.h>
27 #include <dt-bindings/power/rk3128-power.h>
28 #include <dt-bindings/power/rk3188-power.h>
29 #include <dt-bindings/power/rk3228-power.h>
30 #include <dt-bindings/power/rk3288-power.h>
31 #include <dt-bindings/power/rk3328-power.h>
[all …]
/linux-6.14.4/drivers/infiniband/hw/mlx5/
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>
57 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem,
64 struct ib_pd *pd) in set_mkc_access_pd_addr_fields() argument
66 struct mlx5_ib_dev *dev = to_mdev(pd->device); in set_mkc_access_pd_addr_fields()
75 if (MLX5_CAP_GEN(dev->mdev, relaxed_ordering_write)) in set_mkc_access_pd_addr_fields()
78 if (MLX5_CAP_GEN(dev->mdev, relaxed_ordering_read) || in set_mkc_access_pd_addr_fields()
[all …]
/linux-6.14.4/arch/arm/mach-rockchip/
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-6.14.4/kernel/sched/
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-6.14.4/drivers/soc/qcom/
Dpdr_interface.c1 // SPDX-License-Identifier: GPL-2.0
32 struct list_head node; member
47 /* serialize pd status invocation */
70 struct list_head node; member
79 mutex_lock(&pdr->lock); in pdr_locator_new_server()
81 pdr->locator_addr.sq_family = AF_QIPCRTR; in pdr_locator_new_server()
82 pdr->locator_addr.sq_node = svc->node; in pdr_locator_new_server()
83 pdr->locator_addr.sq_port = svc->port; in pdr_locator_new_server()
85 pdr->locator_init_complete = true; in pdr_locator_new_server()
86 mutex_unlock(&pdr->lock); in pdr_locator_new_server()
[all …]
/linux-6.14.4/drivers/clk/davinci/
Dpsc.c1 // SPDX-License-Identifier: GPL-2.0
9 * Murali Karicheri <m-[email protected]>
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-6.14.4/Documentation/devicetree/bindings/connector/
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 <[email protected]>
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-6.14.4/Documentation/devicetree/bindings/sound/
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 <[email protected]>
18 - mediatek,mt2701-audio
19 - mediatek,mt7622-audio
23 - description: AFE interrupt
24 - description: ASYS interrupt
[all …]
/linux-6.14.4/arch/arm64/boot/dts/apple/
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-6.14.4/drivers/memory/
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
42 * @node: node in the device list
43 * @base: base address of memory-mapped IO registers.
47 * frequencies, to avoid re-calculating them on
54 * @np_ddr: Pointer to ddr device tree node
60 struct list_head node; member
77 u32 type = emif->plat_data->device_info->type; in do_emif_regdump_show()
78 u32 ip_rev = emif->plat_data->ip_rev; in do_emif_regdump_show()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_pt.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
31 * amdgpu_vm_pt_cursor - state for for_each_amdgpu_vm_pt
41 * amdgpu_vm_pt_level_shift - return the addr shift for each level
56 return 9 * (AMDGPU_VM_PDB0 - level) + in amdgpu_vm_pt_level_shift()
57 adev->vm_manager.block_size; in amdgpu_vm_pt_level_shift()
66 * amdgpu_vm_pt_num_entries - return the number of entries in a PD/PT
79 shift = amdgpu_vm_pt_level_shift(adev, adev->vm_manager.root_level); in amdgpu_vm_pt_num_entries()
80 if (level == adev->vm_manager.root_level) in amdgpu_vm_pt_num_entries()
82 return round_up(adev->vm_manager.max_pfn, 1ULL << shift) in amdgpu_vm_pt_num_entries()
93 * amdgpu_vm_pt_entries_mask - the mask to get the entry number of a PD/PT
[all …]

12345678910