Home
last modified time | relevance | path

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

12

/Linux-v5.4/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
176 parent_node = start_node; in acpi_ns_walk_namespace()
177 child_node = acpi_ns_get_next_node(parent_node, NULL); in acpi_ns_walk_namespace()
285 parent_node = child_node; in acpi_ns_walk_namespace()
287 acpi_ns_get_next_node(parent_node, NULL); in acpi_ns_walk_namespace()
301 child_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_walk_namespace()
[all …]
Dnsxfobj.c85 struct acpi_namespace_node *parent_node; in ACPI_EXPORT_SYMBOL() local
113 parent_node = node->parent; in ACPI_EXPORT_SYMBOL()
114 *ret_handle = ACPI_CAST_PTR(acpi_handle, parent_node); in ACPI_EXPORT_SYMBOL()
118 if (!parent_node) { in ACPI_EXPORT_SYMBOL()
154 struct acpi_namespace_node *parent_node = NULL; in ACPI_EXPORT_SYMBOL() local
174 parent_node = acpi_ns_validate_handle(parent); in ACPI_EXPORT_SYMBOL()
175 if (!parent_node) { in ACPI_EXPORT_SYMBOL()
192 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
121 parent_node = acpi_gbl_root_node; in acpi_ex_load_table_op()
133 &parent_node); in acpi_ex_load_table_op()
148 start_node = parent_node; in acpi_ex_load_table_op()
166 status = acpi_tb_load_table(table_index, parent_node); in acpi_ex_load_table_op()
Devrgnini.c137 struct acpi_namespace_node *parent_node; in acpi_ev_pci_config_region_setup() local
165 parent_node = region_obj->region.node->parent; in acpi_ev_pci_config_region_setup()
184 pci_root_node = parent_node; in acpi_ev_pci_config_region_setup()
Dactables.h94 acpi_tb_load_table(u32 table_index, struct acpi_namespace_node *parent_node);
Dtbdata.c918 acpi_tb_load_table(u32 table_index, struct acpi_namespace_node *parent_node) in acpi_tb_load_table() argument
935 status = acpi_ns_load_table(table_index, parent_node); in acpi_tb_load_table()
Dacnamesp.h371 struct acpi_namespace_node *parent_node,
/Linux-v5.4/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-v5.4/drivers/irqchip/
Dirq-ti-sci-intr.c197 struct device_node *parent_node; in ti_sci_intr_irq_domain_probe() local
201 parent_node = of_irq_find_parent(dev_of_node(dev)); in ti_sci_intr_irq_domain_probe()
202 if (!parent_node) { in ti_sci_intr_irq_domain_probe()
207 parent_domain = irq_find_host(parent_node); in ti_sci_intr_irq_domain_probe()
Dirq-ti-sci-inta.c519 struct device_node *parent_node, *node; in ti_sci_inta_irq_domain_probe() local
526 parent_node = of_irq_find_parent(node); in ti_sci_inta_irq_domain_probe()
527 if (!parent_node) { in ti_sci_inta_irq_domain_probe()
532 parent_domain = irq_find_host(parent_node); in ti_sci_inta_irq_domain_probe()
/Linux-v5.4/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.c282 struct rb_node *parent_node = NULL; in htree_insert() local
291 parent_node = *p; in htree_insert()
292 entry = rb_entry(parent_node, struct btrfs_delayed_ref_head, in htree_insert()
305 rb_link_node(node, parent_node, p); in htree_insert()
315 struct rb_node *parent_node = NULL; in tree_insert() local
322 parent_node = *p; in tree_insert()
323 entry = rb_entry(parent_node, struct btrfs_delayed_ref_node, in tree_insert()
336 rb_link_node(node, parent_node, p); in tree_insert()
/Linux-v5.4/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()
/Linux-v5.4/drivers/pinctrl/qcom/
Dpinctrl-ssbi-gpio.c766 struct device_node *parent_node; in pm8xxx_gpio_probe() local
835 parent_node = of_irq_find_parent(pctrl->dev->of_node); in pm8xxx_gpio_probe()
836 if (!parent_node) in pm8xxx_gpio_probe()
839 parent_domain = irq_find_host(parent_node); in pm8xxx_gpio_probe()
840 of_node_put(parent_node); in pm8xxx_gpio_probe()
Dpinctrl-spmi-gpio.c970 struct device_node *parent_node; in pmic_gpio_probe() local
1047 parent_node = of_irq_find_parent(state->dev->of_node); in pmic_gpio_probe()
1048 if (!parent_node) in pmic_gpio_probe()
1051 parent_domain = irq_find_host(parent_node); in pmic_gpio_probe()
1052 of_node_put(parent_node); in pmic_gpio_probe()
/Linux-v5.4/drivers/hwtracing/stm/
Dpolicy.c231 struct stp_policy_node *policy_node, *parent_node; in stp_policy_node_make() local
238 parent_node = container_of(group, struct stp_policy_node, in stp_policy_node_make()
240 policy = parent_node->policy; in stp_policy_node_make()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dvio.c1330 struct device_node *parent_node; in vio_register_device_node() local
1338 parent_node = of_get_parent(of_node); in vio_register_device_node()
1339 if (parent_node) { in vio_register_device_node()
1340 if (of_node_is_type(parent_node, "ibm,platform-facilities")) in vio_register_device_node()
1342 else if (of_node_is_type(parent_node, "vdevice")) in vio_register_device_node()
1347 parent_node, in vio_register_device_node()
1349 of_node_put(parent_node); in vio_register_device_node()
1352 of_node_put(parent_node); in vio_register_device_node()
/Linux-v5.4/arch/sparc/include/asm/
Doplib_32.h115 phandle prom_getchild(phandle parent_node);
Doplib_64.h183 phandle prom_getchild(phandle parent_node);
/Linux-v5.4/arch/m68k/include/asm/
Doplib.h214 extern int prom_getchild(int parent_node);
/Linux-v5.4/fs/pstore/
Dram.c660 struct device_node *parent_node; in ramoops_parse_dt() local
706 parent_node = of_get_parent(of_node); in ramoops_parse_dt()
707 if (!of_node_name_eq(parent_node, "reserved-memory") && in ramoops_parse_dt()
713 of_node_put(parent_node); in ramoops_parse_dt()
/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c29 phy = sas_phy_alloc(pqi_sas_port->parent_node->parent_dev, in pqi_alloc_sas_phy()
131 pqi_sas_port->parent_node = pqi_sas_node; in pqi_alloc_sas_port()

12