Home
last modified time | relevance | path

Searched refs:child_node (Results 1 – 12 of 12) 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 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-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.c95 struct hlist_node child_node; member
1312 hlist_for_each_entry(child, &core->children, child_node) { in clk_core_save_context()
1331 hlist_for_each_entry(child, &core->children, child_node) in clk_core_restore_context()
1347 hlist_for_each_entry(clk, &clk_root_list, child_node) { in clk_save_context()
1353 hlist_for_each_entry(clk, &clk_orphan_list, child_node) { in clk_save_context()
1373 hlist_for_each_entry(core, &clk_root_list, child_node) in clk_restore_context()
1376 hlist_for_each_entry(core, &clk_orphan_list, child_node) in clk_restore_context()
1451 hlist_for_each_entry(child, &core->children, child_node) in clk_unprepare_unused_subtree()
1477 hlist_for_each_entry(child, &core->children, child_node) in clk_disable_unused_subtree()
1540 hlist_for_each_entry(core, &clk_root_list, child_node) in clk_disable_unused()
[all …]
/linux/drivers/leds/
H A Dleds-lp8860.c284 struct device_node *child_node; in lp8860_probe() local
292 child_node = of_get_next_available_child(np, NULL); in lp8860_probe()
293 if (!child_node) in lp8860_probe()
334 init_data.fwnode = of_fwnode_handle(child_node); in lp8860_probe()
/linux/drivers/phy/ti/
H A Dphy-j721e-wiz.c1451 struct device_node *child_node; in wiz_probe() local
1473 child_node = of_get_child_by_name(node, "serdes"); in wiz_probe()
1474 if (!child_node) { in wiz_probe()
1479 ret = of_address_to_resource(child_node, 0, &res); in wiz_probe()
1617 serdes_pdev = of_platform_device_create(child_node, NULL, dev); in wiz_probe()
1625 of_node_put(child_node); in wiz_probe()
1636 of_node_put(child_node); in wiz_probe()
/linux/include/linux/
H A Dserio.h43 struct list_head child_node; member
/linux/drivers/input/misc/
H A Diqs7222.c1993 struct fwnode_handle *child_node, in iqs7222_gpio_select() argument
2005 if (!fwnode_property_present(child_node, "azoteq,gpio-select")) in iqs7222_gpio_select()
2008 count = fwnode_property_count_u32(child_node, "azoteq,gpio-select"); in iqs7222_gpio_select()
2011 fwnode_get_name(child_node)); in iqs7222_gpio_select()
2015 fwnode_get_name(child_node), count); in iqs7222_gpio_select()
2019 error = fwnode_property_read_u32_array(child_node, in iqs7222_gpio_select()
2024 fwnode_get_name(child_node), error); in iqs7222_gpio_select()
2033 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()