Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/acpi/acpica/
A Dnsalloc.c226 if (!child_node) { 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()
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()
354 if (child_node->child) { in acpi_ns_delete_namespace_subtree()
361 child_node = NULL; in acpi_ns_delete_namespace_subtree()
429 child_node = NULL; in acpi_ns_delete_namespace_by_owner()
441 child_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_delete_namespace_by_owner()
449 if (child_node) { in acpi_ns_delete_namespace_by_owner()
[all …]
A 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()
195 child_type = child_node->type; in acpi_ns_walk_namespace()
283 if (child_node->child) { in acpi_ns_walk_namespace()
288 parent_node = child_node; in acpi_ns_walk_namespace()
289 child_node = in acpi_ns_walk_namespace()
304 child_node = acpi_ns_get_next_node(parent_node, child_node); in acpi_ns_walk_namespace()
305 if (child_node) { in acpi_ns_walk_namespace()
[all …]
A 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.3-rc2/drivers/leds/flash/
A 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()
A 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()
A 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()
A 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.3-rc2/drivers/mmc/host/
A 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.3-rc2/drivers/clk/
A Dclk.c84 struct hlist_node child_node; member
1244 hlist_for_each_entry(core, &clk_root_list, child_node) in clk_restore_context()
1950 hlist_del(&core->child_node); in clk_reparent()
1964 hlist_add_head(&core->child_node, &clk_orphan_list); in clk_reparent()
3206 hlist_for_each_entry(c, *lists, child_node) in clk_summary_show()
3262 hlist_for_each_entry(c, *lists, child_node) { in clk_dump_show()
3797 hlist_add_head(&core->child_node, &clk_root_list); in __clk_core_init()
3881 hlist_del_init(&core->child_node); in __clk_core_init()
4334 hlist_for_each_entry(root, *lists, child_node) in clk_core_evict_parent_cache()
4378 child_node) in clk_unregister()
[all …]
/linux-6.3-rc2/drivers/input/serio/
A 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.3-rc2/drivers/leds/
A Dleds-lp8860.c383 struct device_node *child_node; in lp8860_probe() local
390 child_node = of_get_next_available_child(np, NULL); in lp8860_probe()
391 if (!child_node) in lp8860_probe()
433 init_data.fwnode = of_fwnode_handle(child_node); in lp8860_probe()
/linux-6.3-rc2/drivers/base/power/
A Ddomain.c325 list_for_each_entry(link, &genpd->child_links, child_node) { in _genpd_set_performance_state()
363 child_node) { in _genpd_set_performance_state()
743 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_power_off()
774 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_power_on()
801 child_node) { in genpd_power_on()
1148 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_sync_power_off()
1179 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_sync_power_on()
1585 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_update_cpumask()
1886 list_add_tail(&link->child_node, &subdomain->child_links); in genpd_add_subdomain()
1945 list_del(&link->child_node); in pm_genpd_remove_subdomain()
[all …]
A Ddomain_governor.c307 list_for_each_entry(link, &genpd->child_links, child_node) { in _default_power_down_ok()
/linux-6.3-rc2/include/linux/
A Dserio.h42 struct list_head child_node; member
A Dpm_domain.h181 struct list_head child_node; member
/linux-6.3-rc2/drivers/phy/ti/
A Dphy-j721e-wiz.c1449 struct device_node *child_node; in wiz_probe() local
1471 child_node = of_get_child_by_name(node, "serdes"); in wiz_probe()
1472 if (!child_node) { in wiz_probe()
1477 ret = of_address_to_resource(child_node, 0, &res); in wiz_probe()
1615 serdes_pdev = of_platform_device_create(child_node, NULL, dev); in wiz_probe()
1623 of_node_put(child_node); in wiz_probe()
1634 of_node_put(child_node); in wiz_probe()
/linux-6.3-rc2/drivers/input/misc/
A 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.3-rc2/sound/soc/bcm/
A 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.3-rc2/drivers/net/ethernet/altera/
A 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()

Completed in 73 milliseconds