/drivers/acpi/acpica/ |
D | nsalloc.c | 228 struct acpi_namespace_node *child_node; in acpi_ns_install_node() local 256 child_node = parent_node->child; in acpi_ns_install_node() 258 if (!child_node) { in acpi_ns_install_node() 263 while (child_node->peer) { in acpi_ns_install_node() 264 child_node = child_node->peer; in acpi_ns_install_node() 267 child_node->peer = node; in acpi_ns_install_node() 352 struct acpi_namespace_node *child_node = NULL; in acpi_ns_delete_namespace_subtree() local 377 child_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_delete_namespace_subtree() 378 if (child_node) { in acpi_ns_delete_namespace_subtree() 382 acpi_ns_detach_object(child_node); in acpi_ns_delete_namespace_subtree() [all …]
|
D | nswalk.c | 71 *child_node) in acpi_ns_get_next_node() 75 if (!child_node) { in acpi_ns_get_next_node() 84 return (child_node->peer); in acpi_ns_get_next_node() 112 *child_node) in acpi_ns_get_next_node_typed() 118 next_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_get_next_node_typed() 194 struct acpi_namespace_node *child_node; in acpi_ns_walk_namespace() local 211 child_node = acpi_ns_get_next_node(parent_node, NULL); in acpi_ns_walk_namespace() 220 while (level > 0 && child_node) { in acpi_ns_walk_namespace() 226 child_type = child_node->type; in acpi_ns_walk_namespace() 237 if ((child_node->flags & ANOBJ_TEMPORARY) && in acpi_ns_walk_namespace() [all …]
|
D | nsxfobj.c | 191 struct acpi_namespace_node *child_node = NULL; in ACPI_EXPORT_SYMBOL() local 219 child_node = acpi_ns_validate_handle(child); in ACPI_EXPORT_SYMBOL() 220 if (!child_node) { in ACPI_EXPORT_SYMBOL() 228 node = acpi_ns_get_next_node_typed(type, parent_node, child_node); in ACPI_EXPORT_SYMBOL()
|
/drivers/leds/ |
D | leds-ktd2692.c | 266 struct device_node *child_node; in ktd2692_parse_dt() local 296 child_node = of_get_next_available_child(np, NULL); in ktd2692_parse_dt() 297 if (!child_node) { in ktd2692_parse_dt() 303 of_get_property(child_node, "label", NULL) ? : child_node->name; in ktd2692_parse_dt() 305 ret = of_property_read_u32(child_node, "led-max-microamp", in ktd2692_parse_dt() 312 ret = of_property_read_u32(child_node, "flash-max-microamp", in ktd2692_parse_dt() 319 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in ktd2692_parse_dt() 327 of_node_put(child_node); in ktd2692_parse_dt()
|
D | leds-aat1290.c | 223 struct device_node *child_node; in aat1290_led_parse_dt() local 254 child_node = of_get_next_available_child(dev->of_node, NULL); in aat1290_led_parse_dt() 255 if (!child_node) { in aat1290_led_parse_dt() 260 led_cdev->name = of_get_property(child_node, "label", NULL) ? : in aat1290_led_parse_dt() 261 child_node->name; in aat1290_led_parse_dt() 263 ret = of_property_read_u32(child_node, "led-max-microamp", in aat1290_led_parse_dt() 273 ret = of_property_read_u32(child_node, "flash-max-microamp", in aat1290_led_parse_dt() 281 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in aat1290_led_parse_dt() 289 *sub_node = child_node; in aat1290_led_parse_dt() 292 of_node_put(child_node); in aat1290_led_parse_dt()
|
D | leds-max77693.c | 605 struct device_node *node = dev->of_node, *child_node; in max77693_led_parse_dt() local 614 for_each_available_child_of_node(node, child_node) { in max77693_led_parse_dt() 615 prop = of_find_property(child_node, "led-sources", NULL); in max77693_led_parse_dt() 628 of_node_put(child_node); in max77693_led_parse_dt() 644 of_node_put(child_node); in max77693_led_parse_dt() 651 of_node_put(child_node); in max77693_led_parse_dt() 655 sub_nodes[fled_id] = child_node; in max77693_led_parse_dt() 659 of_get_property(child_node, "label", NULL) ? : in max77693_led_parse_dt() 660 child_node->name; in max77693_led_parse_dt() 662 ret = of_property_read_u32(child_node, "led-max-microamp", in max77693_led_parse_dt() [all …]
|
/drivers/clk/ |
D | clk.c | 68 struct hlist_node child_node; member 216 hlist_for_each_entry(child, &core->children, child_node) { in __clk_lookup_subtree() 234 hlist_for_each_entry(root_clk, &clk_root_list, child_node) { in clk_core_lookup() 241 hlist_for_each_entry(root_clk, &clk_orphan_list, child_node) { in clk_core_lookup() 740 hlist_for_each_entry(child, &core->children, child_node) in clk_unprepare_unused_subtree() 766 hlist_for_each_entry(child, &core->children, child_node) in clk_disable_unused_subtree() 819 hlist_for_each_entry(core, &clk_root_list, child_node) in clk_disable_unused() 822 hlist_for_each_entry(core, &clk_orphan_list, child_node) in clk_disable_unused() 825 hlist_for_each_entry(core, &clk_root_list, child_node) in clk_disable_unused() 828 hlist_for_each_entry(core, &clk_orphan_list, child_node) in clk_disable_unused() [all …]
|
/drivers/mmc/host/ |
D | cavium-thunderx.c | 61 struct device_node *child_node; in thunder_mmc_probe() local 127 for_each_child_of_node(node, child_node) { in thunder_mmc_probe() 134 if (of_device_is_compatible(child_node, "mmc-slot")) { in thunder_mmc_probe() 135 host->slot_pdev[i] = of_platform_device_create(child_node, NULL, in thunder_mmc_probe()
|
/drivers/input/serio/ |
D | serio.c | 520 INIT_LIST_HEAD(&serio->child_node); in serio_init_port() 549 list_add_tail(&serio->child_node, &parent->children); in serio_add_port() 583 list_del_init(&serio->child_node); in serio_destroy_port() 632 struct serio, child_node); in serio_reconnect_subtree() 645 if (!list_is_last(&s->child_node, &parent->children)) { in serio_reconnect_subtree() 646 s = list_entry(s->child_node.next, in serio_reconnect_subtree() 647 struct serio, child_node); in serio_reconnect_subtree() 673 struct serio, child_node); in serio_disconnect_port() 738 list_for_each_entry_safe(s, next, &serio->children, child_node) { in serio_unregister_child_port()
|
/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 158 struct device_node *child_node = NULL; in altera_tse_mdio_create() local 160 for_each_child_of_node(priv->device->of_node, child_node) { in altera_tse_mdio_create() 161 if (of_device_is_compatible(child_node, "altr,tse-mdio")) { in altera_tse_mdio_create() 162 mdio_node = child_node; in altera_tse_mdio_create()
|