Home
last modified time | relevance | path

Searched refs:parent_node (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.1.9/drivers/acpi/acpica/
Dnsalloc.c134 struct acpi_namespace_node *parent_node; in acpi_ns_remove_node() local
140 parent_node = node->parent; in acpi_ns_remove_node()
143 next_node = parent_node->child; in acpi_ns_remove_node()
162 parent_node->child = node->peer; in acpi_ns_remove_node()
191 …tall_node(struct acpi_walk_state *walk_state, struct acpi_namespace_node *parent_node, /* Parent */ in acpi_ns_install_node() argument
208 (parent_node != walk_state->method_node)) { in acpi_ns_install_node()
223 node->parent = parent_node; in acpi_ns_install_node()
224 child_node = parent_node->child; in acpi_ns_install_node()
227 parent_node->child = node; in acpi_ns_install_node()
247 acpi_ut_get_node_name(parent_node), in acpi_ns_install_node()
[all …]
Dnssearch.c60 struct acpi_namespace_node *parent_node, in acpi_ns_search_one_scope() argument
72 scope_name = acpi_ns_get_normalized_pathname(parent_node, TRUE); in acpi_ns_search_one_scope()
76 scope_name, parent_node, in acpi_ns_search_one_scope()
89 node = parent_node->child; in acpi_ns_search_one_scope()
112 acpi_ut_get_node_name(parent_node), in acpi_ns_search_one_scope()
113 parent_node)); in acpi_ns_search_one_scope()
131 acpi_ut_get_node_name(parent_node), parent_node, in acpi_ns_search_one_scope()
132 parent_node->child)); in acpi_ns_search_one_scope()
169 struct acpi_namespace_node *parent_node; in acpi_ns_search_parent_tree() local
173 parent_node = node->parent; in acpi_ns_search_parent_tree()
[all …]
Dnswalk.c35 *parent_node, in acpi_ns_get_next_node()
45 return (parent_node->child); in acpi_ns_get_next_node()
75 *parent_node, in acpi_ns_get_next_node_typed()
84 next_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_get_next_node_typed()
161 struct acpi_namespace_node *parent_node; in acpi_ns_walk_namespace() local
179 parent_node = start_node; in acpi_ns_walk_namespace()
180 child_node = acpi_ns_get_next_node(parent_node, NULL); in acpi_ns_walk_namespace()
288 parent_node = child_node; in acpi_ns_walk_namespace()
290 acpi_ns_get_next_node(parent_node, NULL); in acpi_ns_walk_namespace()
304 child_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_walk_namespace()
[all …]
Dnsxfobj.c86 struct acpi_namespace_node *parent_node; in ACPI_EXPORT_SYMBOL() local
114 parent_node = node->parent; in ACPI_EXPORT_SYMBOL()
115 *ret_handle = ACPI_CAST_PTR(acpi_handle, parent_node); in ACPI_EXPORT_SYMBOL()
119 if (!parent_node) { in ACPI_EXPORT_SYMBOL()
155 struct acpi_namespace_node *parent_node = NULL; in ACPI_EXPORT_SYMBOL() local
175 parent_node = acpi_ns_validate_handle(parent); in ACPI_EXPORT_SYMBOL()
176 if (!parent_node) { in ACPI_EXPORT_SYMBOL()
193 node = acpi_ns_get_next_node_typed(type, parent_node, child_node); in ACPI_EXPORT_SYMBOL()
Dnsinit.c456 struct acpi_namespace_node *parent_node; in acpi_ns_find_ini_methods() local
478 parent_node = node->parent; in acpi_ns_find_ini_methods()
479 switch (parent_node->type) { in acpi_ns_find_ini_methods()
486 while (parent_node) { in acpi_ns_find_ini_methods()
487 parent_node->flags |= ANOBJ_SUBTREE_HAS_INI; in acpi_ns_find_ini_methods()
488 parent_node = parent_node->parent; in acpi_ns_find_ini_methods()
Dexconfig.c87 struct acpi_namespace_node *parent_node; in acpi_ex_load_table_op() local
125 parent_node = acpi_gbl_root_node; in acpi_ex_load_table_op()
137 &parent_node); in acpi_ex_load_table_op()
152 start_node = parent_node; in acpi_ex_load_table_op()
170 status = acpi_tb_load_table(table_index, parent_node); in acpi_ex_load_table_op()
Devrgnini.c139 struct acpi_namespace_node *parent_node; in acpi_ev_pci_config_region_setup() local
167 parent_node = region_obj->region.node->parent; in acpi_ev_pci_config_region_setup()
186 pci_root_node = parent_node; in acpi_ev_pci_config_region_setup()
/linux-6.1.9/drivers/irqchip/
Dirq-ti-sci-intr.c138 struct device_node *parent_node; in ti_sci_intr_alloc_parent_irq() local
151 parent_node = of_irq_find_parent(dev_of_node(intr->dev)); in ti_sci_intr_alloc_parent_irq()
152 fwspec.fwnode = of_node_to_fwnode(parent_node); in ti_sci_intr_alloc_parent_irq()
154 if (of_device_is_compatible(parent_node, "arm,gic-v3")) { in ti_sci_intr_alloc_parent_irq()
228 struct device_node *parent_node; in ti_sci_intr_irq_domain_probe() local
232 parent_node = of_irq_find_parent(dev_of_node(dev)); in ti_sci_intr_irq_domain_probe()
233 if (!parent_node) { in ti_sci_intr_irq_domain_probe()
238 parent_domain = irq_find_host(parent_node); in ti_sci_intr_irq_domain_probe()
Dirq-ti-sci-inta.c210 struct device_node *parent_node; in ti_sci_inta_alloc_parent_irq() local
235 parent_node = of_irq_find_parent(dev_of_node(&inta->pdev->dev)); in ti_sci_inta_alloc_parent_irq()
236 parent_fwspec.fwnode = of_node_to_fwnode(parent_node); in ti_sci_inta_alloc_parent_irq()
238 if (of_device_is_compatible(parent_node, "arm,gic-v3")) { in ti_sci_inta_alloc_parent_irq()
650 struct device_node *parent_node, *node; in ti_sci_inta_irq_domain_probe() local
656 parent_node = of_irq_find_parent(node); in ti_sci_inta_irq_domain_probe()
657 if (!parent_node) { in ti_sci_inta_irq_domain_probe()
662 parent_domain = irq_find_host(parent_node); in ti_sci_inta_irq_domain_probe()
/linux-6.1.9/arch/powerpc/boot/
Dcuboot-pq2.c50 void *bus_node, *parent_node; in update_cs_ranges() local
65 parent_node = get_parent(bus_node); in update_cs_ranges()
66 if (!parent_node) in update_cs_ranges()
69 dt_get_reg_format(parent_node, &naddr, &nsize); in update_cs_ranges()
127 void *node, *parent_node; in fixup_pci() local
147 parent_node = get_parent(node); in fixup_pci()
148 if (!parent_node) in fixup_pci()
151 dt_get_reg_format(parent_node, &naddr, &nsize); in fixup_pci()
/linux-6.1.9/drivers/interconnect/samsung/
Dexynos.c99 struct icc_node *parent_node, *node = priv->node; in exynos_generic_icc_remove() local
101 parent_node = exynos_icc_get_parent(priv->dev->parent->of_node); in exynos_generic_icc_remove()
102 if (parent_node && !IS_ERR(parent_node)) in exynos_generic_icc_remove()
103 icc_link_destroy(node, parent_node); in exynos_generic_icc_remove()
/linux-6.1.9/fs/btrfs/
Dref-verify.c79 struct rb_node *parent_node = NULL; in insert_block_entry() local
83 parent_node = *p; in insert_block_entry()
84 entry = rb_entry(parent_node, struct block_entry, node); in insert_block_entry()
93 rb_link_node(&be->node, parent_node, p); in insert_block_entry()
120 struct rb_node *parent_node = NULL; in insert_root_entry() local
124 parent_node = *p; in insert_root_entry()
125 entry = rb_entry(parent_node, struct root_entry, node); in insert_root_entry()
134 rb_link_node(&re->node, parent_node, p); in insert_root_entry()
165 struct rb_node *parent_node = NULL; in insert_ref_entry() local
170 parent_node = *p; in insert_ref_entry()
[all …]
Ddelayed-ref.c306 struct rb_node *parent_node = NULL; in htree_insert() local
315 parent_node = *p; in htree_insert()
316 entry = rb_entry(parent_node, struct btrfs_delayed_ref_head, in htree_insert()
329 rb_link_node(node, parent_node, p); in htree_insert()
339 struct rb_node *parent_node = NULL; in tree_insert() local
346 parent_node = *p; in tree_insert()
347 entry = rb_entry(parent_node, struct btrfs_delayed_ref_node, in tree_insert()
360 rb_link_node(node, parent_node, p); in tree_insert()
/linux-6.1.9/drivers/gpio/
Dgpio-lpc18xx.c208 struct device_node *parent_node; in lpc18xx_gpio_pin_ic_probe() local
213 parent_node = of_irq_find_parent(dev->of_node); in lpc18xx_gpio_pin_ic_probe()
214 if (!parent_node) in lpc18xx_gpio_pin_ic_probe()
217 parent_domain = irq_find_host(parent_node); in lpc18xx_gpio_pin_ic_probe()
218 of_node_put(parent_node); in lpc18xx_gpio_pin_ic_probe()
Dgpio-msc313.c599 struct device_node *parent_node; in msc313_gpio_probe() local
606 parent_node = of_irq_find_parent(dev->of_node); in msc313_gpio_probe()
607 if (!parent_node) in msc313_gpio_probe()
610 parent_domain = irq_find_host(parent_node); in msc313_gpio_probe()
/linux-6.1.9/security/landlock/
Druleset.c151 struct rb_node *parent_node = NULL; in insert_rule() local
164 parent_node = *walker_node; in insert_rule()
213 rb_link_node(&new_rule->node, parent_node, walker_node); in insert_rule()
/linux-6.1.9/drivers/pinctrl/qcom/
Dpinctrl-ssbi-gpio.c712 struct device_node *parent_node; in pm8xxx_gpio_probe() local
780 parent_node = of_irq_find_parent(pctrl->dev->of_node); in pm8xxx_gpio_probe()
781 if (!parent_node) in pm8xxx_gpio_probe()
784 parent_domain = irq_find_host(parent_node); in pm8xxx_gpio_probe()
785 of_node_put(parent_node); in pm8xxx_gpio_probe()
Dpinctrl-spmi-mpp.c827 struct device_node *parent_node; in pmic_mpp_probe() local
907 parent_node = of_irq_find_parent(state->dev->of_node); in pmic_mpp_probe()
908 if (!parent_node) in pmic_mpp_probe()
911 parent_domain = irq_find_host(parent_node); in pmic_mpp_probe()
912 of_node_put(parent_node); in pmic_mpp_probe()
Dpinctrl-ssbi-mpp.c795 struct device_node *parent_node; in pm8xxx_mpp_probe() local
864 parent_node = of_irq_find_parent(pctrl->dev->of_node); in pm8xxx_mpp_probe()
865 if (!parent_node) in pm8xxx_mpp_probe()
868 parent_domain = irq_find_host(parent_node); in pm8xxx_mpp_probe()
869 of_node_put(parent_node); in pm8xxx_mpp_probe()
Dpinctrl-spmi-gpio.c1053 struct device_node *parent_node; in pmic_gpio_probe() local
1134 parent_node = of_irq_find_parent(state->dev->of_node); in pmic_gpio_probe()
1135 if (!parent_node) in pmic_gpio_probe()
1138 parent_domain = irq_find_host(parent_node); in pmic_gpio_probe()
1139 of_node_put(parent_node); in pmic_gpio_probe()
/linux-6.1.9/drivers/hwtracing/stm/
Dpolicy.c226 struct stp_policy_node *policy_node, *parent_node; in stp_policy_node_make() local
233 parent_node = container_of(group, struct stp_policy_node, in stp_policy_node_make()
235 policy = parent_node->policy; in stp_policy_node_make()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dvio.c1354 struct device_node *parent_node; in vio_register_device_node() local
1362 parent_node = of_get_parent(of_node); in vio_register_device_node()
1363 if (parent_node) { in vio_register_device_node()
1364 if (of_node_is_type(parent_node, "ibm,platform-facilities")) in vio_register_device_node()
1366 else if (of_node_is_type(parent_node, "vdevice")) in vio_register_device_node()
1371 parent_node, in vio_register_device_node()
1373 of_node_put(parent_node); in vio_register_device_node()
1376 of_node_put(parent_node); in vio_register_device_node()
/linux-6.1.9/drivers/base/power/
Ddomain_governor.c148 list_for_each_entry(link, &genpd->parent_links, parent_node) { in update_domain_next_wakeup()
192 list_for_each_entry(link, &genpd->parent_links, parent_node) { in __default_power_down_ok()
Ddomain.c297 list_for_each_entry(link, &genpd->parent_links, parent_node) { in _genpd_reeval_performance_state()
653 list_for_each_entry(link, &genpd->parent_links, parent_node) { in genpd_power_off()
1088 list_for_each_entry(link, &genpd->parent_links, parent_node) { in genpd_sync_power_off()
1871 list_for_each_entry(itr, &genpd->parent_links, parent_node) { in genpd_add_subdomain()
1879 list_add_tail(&link->parent_node, &genpd->parent_links); in genpd_add_subdomain()
1935 list_for_each_entry_safe(link, l, &genpd->parent_links, parent_node) { in pm_genpd_remove_subdomain()
1939 list_del(&link->parent_node); in pm_genpd_remove_subdomain()
2135 list_del(&link->parent_node); in genpd_remove()
3129 list_for_each_entry(link, &genpd->parent_links, parent_node) { in genpd_summary_one()
3130 if (list_is_first(&link->parent_node, &genpd->parent_links)) in genpd_summary_one()
[all …]
/linux-6.1.9/arch/sparc/include/asm/
Doplib_32.h115 phandle prom_getchild(phandle parent_node);

12