Home
last modified time | relevance | path

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

/linux/drivers/acpi/acpica/
H A 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 …]
H 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()
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 …]
H 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/drivers/leds/flash/
H A Dleds-sgm3140.c191 struct fwnode_handle *child_node; in sgm3140_probe() local
217 child_node = fwnode_get_next_available_child_node(pdev->dev.fwnode, in sgm3140_probe()
219 if (!child_node) { in sgm3140_probe()
225 ret = fwnode_property_read_u32(child_node, "flash-max-timeout-us", in sgm3140_probe()
252 init_data.fwnode = child_node; in sgm3140_probe()
269 child_node, in sgm3140_probe()
280 fwnode_handle_put(child_node); in sgm3140_probe()
H A Dleds-ktd2692.c242 struct device_node *child_node __free(device_node) = in ktd2692_parse_dt()
244 if (!child_node) { in ktd2692_parse_dt()
250 of_get_property(child_node, "label", NULL) ? : child_node->name; in ktd2692_parse_dt()
252 ret = of_property_read_u32(child_node, "led-max-microamp", in ktd2692_parse_dt()
259 ret = of_property_read_u32(child_node, "flash-max-microamp", in ktd2692_parse_dt()
266 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in ktd2692_parse_dt()
H A Dleds-aat1290.c249 struct device_node *child_node __free(device_node) = in aat1290_led_parse_dt()
251 if (!child_node) { in aat1290_led_parse_dt()
256 ret = of_property_read_u32(child_node, "led-max-microamp", in aat1290_led_parse_dt()
266 ret = of_property_read_u32(child_node, "flash-max-microamp", in aat1290_led_parse_dt()
274 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in aat1290_led_parse_dt()
282 *sub_node = child_node; in aat1290_led_parse_dt()
H A Dleds-max77693.c611 for_each_available_child_of_node_scoped(node, child_node) { in max77693_led_parse_dt()
612 prop = of_find_property(child_node, "led-sources", NULL); in max77693_led_parse_dt()
649 sub_nodes[fled_id] = of_node_get(child_node); in max77693_led_parse_dt()
653 of_get_property(child_node, "label", NULL) ? : in max77693_led_parse_dt()
654 child_node->name; in max77693_led_parse_dt()
656 ret = of_property_read_u32(child_node, "led-max-microamp", in max77693_led_parse_dt()
663 ret = of_property_read_u32(child_node, "flash-max-microamp", in max77693_led_parse_dt()
671 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in max77693_led_parse_dt()
/linux/drivers/mmc/host/
H A Dcavium-thunderx.c62 struct device_node *child_node; in thunder_mmc_probe() local
132 for_each_child_of_node(node, child_node) { in thunder_mmc_probe()
139 if (of_device_is_compatible(child_node, "mmc-slot")) { in thunder_mmc_probe()
140 host->slot_pdev[i] = of_platform_device_create(child_node, NULL, in thunder_mmc_probe()
147 of_node_put(child_node); in thunder_mmc_probe()
/linux/drivers/clk/
H A Dclk.c89 struct hlist_node child_node; member
395 hlist_for_each_entry(child, &core->children, child_node) { in __clk_lookup_subtree()
413 hlist_for_each_entry(root_clk, &clk_root_list, child_node) { in clk_core_lookup()
420 hlist_for_each_entry(root_clk, &clk_orphan_list, child_node) { in clk_core_lookup()
1324 hlist_for_each_entry(child, &core->children, child_node) { in clk_core_save_context()
1343 hlist_for_each_entry(child, &core->children, child_node) in clk_core_restore_context()
1359 hlist_for_each_entry(clk, &clk_root_list, child_node) { in clk_save_context()
1365 hlist_for_each_entry(clk, &clk_orphan_list, child_node) { in clk_save_context()
1385 hlist_for_each_entry(core, &clk_root_list, child_node) in clk_restore_context()
1388 hlist_for_each_entry(core, &clk_orphan_list, child_node) in clk_restore_context()
[all …]
/linux/drivers/input/serio/
H 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/drivers/leds/
H A Dleds-lp8860.c380 struct device_node *child_node; in lp8860_probe() local
387 child_node = of_get_next_available_child(np, NULL); in lp8860_probe()
388 if (!child_node) in lp8860_probe()
430 init_data.fwnode = of_fwnode_handle(child_node); in lp8860_probe()
/linux/drivers/pmdomain/
H A Dcore.c427 list_for_each_entry(link, &genpd->child_links, child_node) { in _genpd_set_performance_state()
445 list_for_each_entry_reverse(link, &genpd->child_links, child_node) { in _genpd_set_performance_state()
456 list_for_each_entry_continue_reverse(link, &genpd->child_links, child_node) in _genpd_set_performance_state()
460 list_for_each_entry_continue(link, &genpd->child_links, child_node) in _genpd_set_performance_state()
894 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_power_off()
925 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_power_on()
952 child_node) { in genpd_power_on()
1304 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_sync_power_off()
1335 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_sync_power_on()
1738 list_for_each_entry(link, &genpd->child_links, child_node) { in genpd_update_cpumask()
[all …]
H A Dgovernor.c311 list_for_each_entry(link, &genpd->child_links, child_node) { in _default_power_down_ok()
/linux/drivers/phy/ti/
H A Dphy-j721e-wiz.c1452 struct device_node *child_node; in wiz_probe() local
1474 child_node = of_get_child_by_name(node, "serdes"); in wiz_probe()
1475 if (!child_node) { in wiz_probe()
1480 ret = of_address_to_resource(child_node, 0, &res); in wiz_probe()
1618 serdes_pdev = of_platform_device_create(child_node, NULL, dev); in wiz_probe()
1626 of_node_put(child_node); in wiz_probe()
1637 of_node_put(child_node); in wiz_probe()
/linux/include/linux/
H A Dserio.h42 struct list_head child_node; member
H A Dpm_domain.h217 struct list_head child_node; member
/linux/drivers/input/misc/
H A Diqs7222.c1996 struct fwnode_handle *child_node, in iqs7222_gpio_select() argument
2008 if (!fwnode_property_present(child_node, "azoteq,gpio-select")) in iqs7222_gpio_select()
2011 count = fwnode_property_count_u32(child_node, "azoteq,gpio-select"); in iqs7222_gpio_select()
2014 fwnode_get_name(child_node)); in iqs7222_gpio_select()
2018 fwnode_get_name(child_node), count); in iqs7222_gpio_select()
2022 error = fwnode_property_read_u32_array(child_node, in iqs7222_gpio_select()
2027 fwnode_get_name(child_node), error); in iqs7222_gpio_select()
2036 fwnode_get_name(child_node), gpio_sel[i]); in iqs7222_gpio_select()
/linux/sound/soc/bcm/
H 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/drivers/net/ethernet/altera/
H 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()
/linux/Documentation/devicetree/bindings/
H A Ddts-coding-style.rst152 child_node: child-class@100 {