Home
last modified time | relevance | path

Searched refs:child_node (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/acpi/acpica/
Dnsalloc.c196 struct acpi_namespace_node *child_node; in acpi_ns_install_node() local
224 child_node = parent_node->child; in acpi_ns_install_node()
226 if (!child_node) { in acpi_ns_install_node()
231 while (child_node->peer) { in acpi_ns_install_node()
232 child_node = child_node->peer; in acpi_ns_install_node()
235 child_node->peer = node; in acpi_ns_install_node()
320 struct acpi_namespace_node *child_node = NULL; in acpi_ns_delete_namespace_subtree() local
345 child_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_delete_namespace_subtree()
346 if (child_node) { in acpi_ns_delete_namespace_subtree()
350 acpi_ns_detach_object(child_node); in acpi_ns_delete_namespace_subtree()
[all …]
Dnswalk.c37 *child_node) in acpi_ns_get_next_node()
41 if (!child_node) { in acpi_ns_get_next_node()
50 return (child_node->peer); in acpi_ns_get_next_node()
78 *child_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()
160 struct acpi_namespace_node *child_node; in acpi_ns_walk_namespace() local
180 child_node = acpi_ns_get_next_node(parent_node, NULL); in acpi_ns_walk_namespace()
189 while (level > 0 && child_node) { in acpi_ns_walk_namespace()
195 child_type = child_node->type; in acpi_ns_walk_namespace()
206 if ((child_node->flags & ANOBJ_TEMPORARY) && in acpi_ns_walk_namespace()
[all …]
Dnsxfobj.c156 struct acpi_namespace_node *child_node = NULL; in ACPI_EXPORT_SYMBOL() local
184 child_node = acpi_ns_validate_handle(child); in ACPI_EXPORT_SYMBOL()
185 if (!child_node) { in ACPI_EXPORT_SYMBOL()
193 node = acpi_ns_get_next_node_typed(type, parent_node, child_node); in ACPI_EXPORT_SYMBOL()
/linux-6.1.9/arch/powerpc/platforms/85xx/
Dsgy_cts1000.c74 struct device_node *child_node; in gpio_halt_probe() local
82 child_node = of_find_matching_node(node, child_match); in gpio_halt_probe()
83 if (!child_node) in gpio_halt_probe()
88 if (of_gpio_count(child_node) != 1) { in gpio_halt_probe()
94 gpio = of_get_gpio_flags(child_node, 0, &flags); in gpio_halt_probe()
112 irq = irq_of_parse_and_map(child_node, 0); in gpio_halt_probe()
114 IRQF_TRIGGER_FALLING, "gpio-halt", child_node); in gpio_halt_probe()
129 halt_node = child_node; in gpio_halt_probe()
133 of_node_put(child_node); in gpio_halt_probe()
/linux-6.1.9/drivers/leds/flash/
Dleds-ktd2692.c274 struct device_node *child_node; in ktd2692_parse_dt() local
305 child_node = of_get_next_available_child(np, NULL); in ktd2692_parse_dt()
306 if (!child_node) { in ktd2692_parse_dt()
312 of_get_property(child_node, "label", NULL) ? : child_node->name; in ktd2692_parse_dt()
314 ret = of_property_read_u32(child_node, "led-max-microamp", in ktd2692_parse_dt()
321 ret = of_property_read_u32(child_node, "flash-max-microamp", in ktd2692_parse_dt()
328 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in ktd2692_parse_dt()
336 of_node_put(child_node); in ktd2692_parse_dt()
Dleds-sgm3140.c188 struct fwnode_handle *child_node; in sgm3140_probe() local
214 child_node = fwnode_get_next_available_child_node(pdev->dev.fwnode, in sgm3140_probe()
216 if (!child_node) { in sgm3140_probe()
222 ret = fwnode_property_read_u32(child_node, "flash-max-timeout-us", in sgm3140_probe()
249 init_data.fwnode = child_node; in sgm3140_probe()
266 child_node, in sgm3140_probe()
277 fwnode_handle_put(child_node); in sgm3140_probe()
Dleds-aat1290.c220 struct device_node *child_node; in aat1290_led_parse_dt() local
251 child_node = of_get_next_available_child(dev_of_node(dev), NULL); in aat1290_led_parse_dt()
252 if (!child_node) { in aat1290_led_parse_dt()
257 ret = of_property_read_u32(child_node, "led-max-microamp", in aat1290_led_parse_dt()
267 ret = of_property_read_u32(child_node, "flash-max-microamp", in aat1290_led_parse_dt()
275 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in aat1290_led_parse_dt()
283 *sub_node = child_node; in aat1290_led_parse_dt()
286 of_node_put(child_node); in aat1290_led_parse_dt()
Dleds-max77693.c602 struct device_node *node = dev_of_node(dev), *child_node; in max77693_led_parse_dt() local
611 for_each_available_child_of_node(node, child_node) { in max77693_led_parse_dt()
612 prop = of_find_property(child_node, "led-sources", NULL); in max77693_led_parse_dt()
625 of_node_put(child_node); in max77693_led_parse_dt()
641 of_node_put(child_node); in max77693_led_parse_dt()
648 of_node_put(child_node); in max77693_led_parse_dt()
652 sub_nodes[fled_id] = child_node; in max77693_led_parse_dt()
656 of_get_property(child_node, "label", NULL) ? : in max77693_led_parse_dt()
657 child_node->name; in max77693_led_parse_dt()
659 ret = of_property_read_u32(child_node, "led-max-microamp", in max77693_led_parse_dt()
[all …]
/linux-6.1.9/drivers/mmc/host/
Dcavium-thunderx.c61 struct device_node *child_node; in thunder_mmc_probe() local
131 for_each_child_of_node(node, child_node) { in thunder_mmc_probe()
138 if (of_device_is_compatible(child_node, "mmc-slot")) { in thunder_mmc_probe()
139 host->slot_pdev[i] = of_platform_device_create(child_node, NULL, in thunder_mmc_probe()
146 of_node_put(child_node); in thunder_mmc_probe()
/linux-6.1.9/drivers/clk/
Dclk.c84 struct hlist_node child_node; member
296 hlist_for_each_entry(child, &core->children, child_node) { in __clk_lookup_subtree()
314 hlist_for_each_entry(root_clk, &clk_root_list, child_node) { in clk_core_lookup()
321 hlist_for_each_entry(root_clk, &clk_orphan_list, child_node) { in clk_core_lookup()
1162 hlist_for_each_entry(child, &core->children, child_node) { in clk_core_save_context()
1181 hlist_for_each_entry(child, &core->children, child_node) in clk_core_restore_context()
1197 hlist_for_each_entry(clk, &clk_root_list, child_node) { in clk_save_context()
1203 hlist_for_each_entry(clk, &clk_orphan_list, child_node) { in clk_save_context()
1223 hlist_for_each_entry(core, &clk_root_list, child_node) in clk_restore_context()
1226 hlist_for_each_entry(core, &clk_orphan_list, child_node) in clk_restore_context()
[all …]
/linux-6.1.9/drivers/input/serio/
Dserio.c501 INIT_LIST_HEAD(&serio->child_node); in serio_init_port()
530 list_add_tail(&serio->child_node, &parent->children); in serio_add_port()
564 list_del_init(&serio->child_node); in serio_destroy_port()
613 struct serio, child_node); in serio_reconnect_subtree()
626 if (!list_is_last(&s->child_node, &parent->children)) { in serio_reconnect_subtree()
627 s = list_entry(s->child_node.next, in serio_reconnect_subtree()
628 struct serio, child_node); in serio_reconnect_subtree()
654 struct serio, child_node); in serio_disconnect_port()
719 list_for_each_entry_safe(s, next, &serio->children, child_node) { in serio_unregister_child_port()
/linux-6.1.9/drivers/leds/
Dleds-lp8860.c384 struct device_node *child_node; in lp8860_probe() local
391 child_node = of_get_next_available_child(np, NULL); in lp8860_probe()
392 if (!child_node) in lp8860_probe()
434 init_data.fwnode = of_fwnode_handle(child_node); in lp8860_probe()
/linux-6.1.9/drivers/base/power/
Ddomain.c328 list_for_each_entry(link, &genpd->child_links, child_node) { in _genpd_set_performance_state()
366 child_node) { in _genpd_set_performance_state()
695 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_power_off()
726 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_power_on()
753 child_node) { in genpd_power_on()
1101 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_sync_power_off()
1132 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_sync_power_on()
1580 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_update_cpumask()
1881 list_add_tail(&link->child_node, &subdomain->child_links); in genpd_add_subdomain()
1940 list_del(&link->child_node); in pm_genpd_remove_subdomain()
[all …]
Ddomain_governor.c307 list_for_each_entry(link, &genpd->child_links, child_node) { in _default_power_down_ok()
/linux-6.1.9/include/linux/
Dserio.h42 struct list_head child_node; member
Dpm_domain.h178 struct list_head child_node; member
/linux-6.1.9/drivers/phy/ti/
Dphy-j721e-wiz.c1365 struct device_node *child_node; in wiz_probe() local
1387 child_node = of_get_child_by_name(node, "serdes"); in wiz_probe()
1388 if (!child_node) { in wiz_probe()
1393 ret = of_address_to_resource(child_node, 0, &res); in wiz_probe()
1531 serdes_pdev = of_platform_device_create(child_node, NULL, dev); in wiz_probe()
1539 of_node_put(child_node); in wiz_probe()
1550 of_node_put(child_node); in wiz_probe()
/linux-6.1.9/drivers/input/misc/
Diqs7222.c1609 struct fwnode_handle *child_node, in iqs7222_gpio_select() argument
1621 if (!fwnode_property_present(child_node, "azoteq,gpio-select")) in iqs7222_gpio_select()
1624 count = fwnode_property_count_u32(child_node, "azoteq,gpio-select"); in iqs7222_gpio_select()
1627 fwnode_get_name(child_node)); in iqs7222_gpio_select()
1631 fwnode_get_name(child_node), count); in iqs7222_gpio_select()
1635 error = fwnode_property_read_u32_array(child_node, in iqs7222_gpio_select()
1640 fwnode_get_name(child_node), error); in iqs7222_gpio_select()
1649 fwnode_get_name(child_node), gpio_sel[i]); in iqs7222_gpio_select()
/linux-6.1.9/sound/soc/bcm/
Dcygnus-ssp.c1301 struct device_node *child_node; in cygnus_ssp_probe() local
1334 for_each_available_child_of_node(pdev->dev.of_node, child_node) { in cygnus_ssp_probe()
1335 err = parse_ssp_child_node(pdev, child_node, cygaud, in cygnus_ssp_probe()
1340 of_node_put(child_node); in cygnus_ssp_probe()
/linux-6.1.9/drivers/net/ethernet/altera/
Daltera_tse_main.c125 struct device_node *child_node = NULL; in altera_tse_mdio_create() local
129 for_each_child_of_node(priv->device->of_node, child_node) { in altera_tse_mdio_create()
130 if (of_device_is_compatible(child_node, "altr,tse-mdio")) { in altera_tse_mdio_create()
131 mdio_node = child_node; in altera_tse_mdio_create()