Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-ktd2692.c274 struct device_node *child_node; in ktd2692_parse_dt() local
310 child_node = of_get_next_available_child(np, NULL); in ktd2692_parse_dt()
311 if (!child_node) { in ktd2692_parse_dt()
317 of_get_property(child_node, "label", NULL) ? : child_node->name; in ktd2692_parse_dt()
319 ret = of_property_read_u32(child_node, "led-max-microamp", in ktd2692_parse_dt()
326 ret = of_property_read_u32(child_node, "flash-max-microamp", in ktd2692_parse_dt()
333 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in ktd2692_parse_dt()
341 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 …]
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/clk/
Dclk.c84 struct hlist_node child_node; member
303 hlist_for_each_entry(child, &core->children, child_node) { in __clk_lookup_subtree()
321 hlist_for_each_entry(root_clk, &clk_root_list, child_node) { in clk_core_lookup()
328 hlist_for_each_entry(root_clk, &clk_orphan_list, child_node) { in clk_core_lookup()
1093 hlist_for_each_entry(child, &core->children, child_node) { in clk_core_save_context()
1112 hlist_for_each_entry(child, &core->children, child_node) in clk_core_restore_context()
1128 hlist_for_each_entry(clk, &clk_root_list, child_node) { in clk_save_context()
1134 hlist_for_each_entry(clk, &clk_orphan_list, child_node) { in clk_save_context()
1154 hlist_for_each_entry(core, &clk_root_list, child_node) in clk_restore_context()
1157 hlist_for_each_entry(core, &clk_orphan_list, child_node) in clk_restore_context()
[all …]
/kernel/linux/linux-5.10/drivers/input/serio/
Dserio.c504 INIT_LIST_HEAD(&serio->child_node); in serio_init_port()
533 list_add_tail(&serio->child_node, &parent->children); in serio_add_port()
567 list_del_init(&serio->child_node); in serio_destroy_port()
616 struct serio, child_node); in serio_reconnect_subtree()
629 if (!list_is_last(&s->child_node, &parent->children)) { in serio_reconnect_subtree()
630 s = list_entry(s->child_node.next, in serio_reconnect_subtree()
631 struct serio, child_node); in serio_reconnect_subtree()
657 struct serio, child_node); in serio_disconnect_port()
722 list_for_each_entry_safe(s, next, &serio->children, child_node) { in serio_unregister_child_port()
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-j721e-wiz.c823 struct device_node *child_node; in wiz_probe() local
837 child_node = of_get_child_by_name(node, "serdes"); in wiz_probe()
838 if (!child_node) { in wiz_probe()
843 ret = of_address_to_resource(child_node, 0, &res); in wiz_probe()
964 serdes_pdev = of_platform_device_create(child_node, NULL, dev); in wiz_probe()
972 of_node_put(child_node); in wiz_probe()
983 of_node_put(child_node); in wiz_probe()
/kernel/linux/linux-5.10/drivers/base/power/
Ddomain.c296 list_for_each_entry(link, &genpd->child_links, child_node) { in _genpd_set_performance_state()
337 child_node) { in _genpd_set_performance_state()
600 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_power_off()
631 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_power_on()
658 child_node) { in genpd_power_on()
997 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_sync_power_off()
1028 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_sync_power_on()
1477 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_update_cpumask()
1775 list_add_tail(&link->child_node, &subdomain->child_links); in genpd_add_subdomain()
1834 list_del(&link->child_node); in pm_genpd_remove_subdomain()
[all …]
Ddomain_governor.c225 list_for_each_entry(link, &genpd->child_links, child_node) in default_power_down_ok()
/kernel/linux/linux-5.10/include/linux/
Dserio.h42 struct list_head child_node; member
Dpm_domain.h167 struct list_head child_node; member
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/
Daltera_tse_main.c147 struct device_node *child_node = NULL; in altera_tse_mdio_create() local
149 for_each_child_of_node(priv->device->of_node, child_node) { in altera_tse_mdio_create()
150 if (of_device_is_compatible(child_node, "altr,tse-mdio")) { in altera_tse_mdio_create()
151 mdio_node = child_node; in altera_tse_mdio_create()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0013_linux_drivers_base.patch182 list_for_each_entry(link, &genpd->child_links, child_node) {
/kernel/linux/linux-5.10/sound/soc/bcm/
Dcygnus-ssp.c1310 struct device_node *child_node; in cygnus_ssp_probe() local
1346 for_each_available_child_of_node(pdev->dev.of_node, child_node) { in cygnus_ssp_probe()
1347 err = parse_ssp_child_node(pdev, child_node, cygaud, in cygnus_ssp_probe()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch59475 + struct device_node *root_node, *child_node;
59478 + child_node = of_find_node_by_name(root_node, "xhci_0");
59479 + if (child_node)
59480 + child_node->sibling = child_node->sibling->sibling;
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch364007 + struct device_node *root_node, *child_node;
364010 + child_node = of_find_node_by_name(root_node, "xhci_0");
364011 + if (child_node)
364012 + child_node->sibling = child_node->sibling->sibling;