Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 46) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.h77 struct list_head children; member
206 list_for_each_entry_reverse(pos, &(prio)->node.children, list)
209 list_for_each_entry(pos, (&(prio)->node.children), list)
212 fs_list_for_each_entry(pos, &(ns)->node.children)
215 fs_list_for_each_entry(pos, &(prio)->node.children)
218 fs_list_for_each_entry(pos, &(prio)->node.children)
221 fs_list_for_each_entry_safe(pos, tmp, &(prio)->node.children)
224 fs_list_for_each_entry(pos, &(ft)->node.children)
227 fs_list_for_each_entry(pos, &(fg)->node.children)
230 fs_list_for_each_entry(pos, &(fte)->node.children)
Dfs_core.c49 .children = (struct init_tree_node[]) {__VA_ARGS__},\
58 .children = (struct init_tree_node[]) {__VA_ARGS__},\
109 struct init_tree_node *children; member
119 .children = (struct init_tree_node[]) {
163 INIT_LIST_HEAD(&node->children); in tree_init_node()
534 list_for_each_advance_continue(iter, &root->children, reverse) { in find_closest_ft_recursive()
539 ft = find_closest_ft_recursive(iter, &iter->children, reverse); in find_closest_ft_recursive()
708 if (list_empty(&prio->node.children)) { in connect_flow_table()
728 struct list_head *prev = &prio->node.children; in list_add_flow_table()
899 fg = create_flow_group_common(ft, fg_in, ft->node.children.prev, false); in mlx5_create_flow_group()
[all …]
Dfs_cmd.c254 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_set_fte()
280 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_set_fte()
/drivers/mfd/
Dwl1273-core.c179 int children = 0; in wl1273_core_probe() local
189 if (!(pdata->children & WL1273_RADIO_CHILD)) { in wl1273_core_probe()
206 cell = &core->cells[children]; in wl1273_core_probe()
210 children++; in wl1273_core_probe()
218 if (pdata->children & WL1273_CODEC_CHILD) { in wl1273_core_probe()
219 cell = &core->cells[children]; in wl1273_core_probe()
225 children++; in wl1273_core_probe()
229 __func__, children); in wl1273_core_probe()
232 children, NULL, 0, NULL); in wl1273_core_probe()
Dtwl6040.c644 int irq, ret, children = 0; in twl6040_probe() local
764 cell = &twl6040->cells[children]; in twl6040_probe()
770 children++; in twl6040_probe()
776 cell = &twl6040->cells[children]; in twl6040_probe()
782 children++; in twl6040_probe()
786 cell = &twl6040->cells[children]; in twl6040_probe()
788 children++; in twl6040_probe()
791 cell = &twl6040->cells[children]; in twl6040_probe()
793 children++; in twl6040_probe()
799 ret = mfd_add_devices(&client->dev, -1, twl6040->cells, children, in twl6040_probe()
Dretu-mfd.c124 const struct mfd_cell *children; member
131 .children = retu_devs,
138 .children = tahvo_devs,
274 ret = mfd_add_devices(rdev->dev, -1, rdat->children, rdat->nchildren, in retu_probe()
Dmfd-core.c109 list_for_each_entry(child, &parent->children, node) { in mfd_acpi_add_device()
119 list_for_each_entry(child, &parent->children, node) { in mfd_acpi_add_device()
/drivers/input/misc/
Dsoc_button_array.c46 struct platform_device *children[BUTTON_TYPES]; member
147 if (priv->children[i]) in soc_button_remove()
148 platform_device_unregister(priv->children[i]); in soc_button_remove()
186 priv->children[i] = pd; in soc_button_probe()
189 if (!priv->children[0] && !priv->children[1]) in soc_button_probe()
/drivers/net/phy/
Dmdio-mux.c29 struct mdio_mux_child_bus *children; member
173 cb->next = pb->children; in mdio_mux_init()
174 pb->children = cb; in mdio_mux_init()
177 if (pb->children) { in mdio_mux_init()
197 struct mdio_mux_child_bus *cb = pb->children; in mdio_mux_uninit()
/drivers/phy/
Dphy-core.c144 for_each_child_of_node(phy_provider->children, child) in of_phy_provider_lookup()
864 struct device_node *children, struct module *owner, in __of_phy_provider_register() argument
875 if (children) { in __of_phy_provider_register()
876 struct device_node *parent = of_node_get(children), *next; in __of_phy_provider_register()
892 children = dev->of_node; in __of_phy_provider_register()
900 phy_provider->children = of_node_get(children); in __of_phy_provider_register()
926 struct device_node *children, struct module *owner, in __devm_of_phy_provider_register() argument
936 phy_provider = __of_phy_provider_register(dev, children, owner, in __devm_of_phy_provider_register()
962 of_node_put(phy_provider->children); in of_phy_provider_unregister()
/drivers/input/serio/
Dserio.c521 INIT_LIST_HEAD(&serio->children); in serio_init_port()
549 list_add_tail(&serio->child_node, &parent->children); in serio_add_port()
630 if (!list_empty(&s->children)) { in serio_reconnect_subtree()
631 s = list_first_entry(&s->children, in serio_reconnect_subtree()
645 if (!list_is_last(&s->child_node, &parent->children)) { in serio_reconnect_subtree()
668 while (!list_empty(&serio->children)) { in serio_disconnect_port()
671 while (!list_empty(&s->children)) in serio_disconnect_port()
672 s = list_first_entry(&s->children, in serio_disconnect_port()
738 list_for_each_entry_safe(s, next, &serio->children, child_node) { in serio_unregister_child_port()
/drivers/clk/
Dclk.c67 struct hlist_head children; member
216 hlist_for_each_entry(child, &core->children, child_node) { in __clk_lookup_subtree()
739 hlist_for_each_entry(child, &core->children, child_node) in clk_unprepare_unused_subtree()
765 hlist_for_each_entry(child, &core->children, child_node) in clk_disable_unused_subtree()
1000 hlist_for_each_entry(child, &core->children, child_node) in __clk_recalc_accuracies()
1078 hlist_for_each_entry(child, &core->children, child_node) in __clk_recalc_rates()
1138 hlist_for_each_entry(child, &core->children, child_node) in clk_core_update_orphan_status()
1155 hlist_add_head(&core->child_node, &new_parent->children); in clk_reparent()
1300 hlist_for_each_entry(child, &core->children, child_node) { in __clk_speculate_rates()
1323 hlist_for_each_entry(child, &core->children, child_node) { in clk_calc_subtree()
[all …]
/drivers/sh/clk/
Dcore.c218 list_add(&child->sibling, &parent->children); in clk_reparent()
229 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
425 INIT_LIST_HEAD(&clk->children); in clk_register()
433 list_add(&clk->sibling, &clk->parent->children); in clk_register()
/drivers/phy/tegra/
Dxusb.c193 struct device_node *children; in tegra_xusb_pad_register() local
198 children = of_find_node_by_name(pad->dev.of_node, "lanes"); in tegra_xusb_pad_register()
199 if (!children) in tegra_xusb_pad_register()
205 of_node_put(children); in tegra_xusb_pad_register()
237 pad->provider = of_phy_provider_register_full(&pad->dev, children, in tegra_xusb_pad_register()
250 of_node_put(children); in tegra_xusb_pad_register()
/drivers/pci/host/
Dpci-hyperv.c378 struct list_head children; member
1055 list_for_each(iter, &hbus->children) { in survey_child_resources()
1131 list_for_each(iter, &hbus->children) { in prepopulate_bars()
1320 list_add_tail(&hpdev->list_entry, &hbus->children); in new_pcichild_device()
1349 list_for_each_entry(iter, &hbus->children, list_entry) { in get_pcichild_wslot()
1435 list_for_each(iter, &hbus->children) { in pci_devices_present_work()
1448 list_for_each(iter, &hbus->children) { in pci_devices_present_work()
1474 list_for_each(iter, &hbus->children) { in pci_devices_present_work()
2208 INIT_LIST_HEAD(&hbus->children); in hv_pci_probe()
Dpci-host-common.c161 list_for_each_entry(child, &bus->children, node) in pci_host_common_probe()
/drivers/acpi/
Dglue.c98 if (check_children && list_empty(&adev->children)) in find_child_checks()
121 list_for_each_entry(adev, &parent->children, node) { in acpi_find_child_device()
Dcontainer.c48 list_for_each_entry(child, &adev->children, node) in acpi_container_offline()
Dscan.c368 list_for_each_entry(child, &adev->children, node) { in acpi_scan_bus_check()
646 INIT_LIST_HEAD(&device->children); in acpi_device_add()
683 list_add_tail(&device->node, &device->parent->children); in acpi_device_add()
1845 list_for_each_entry(child, &device->children, node) in acpi_bus_attach()
1916 list_for_each_entry_reverse(child, &adev->children, node) in acpi_bus_trim()
/drivers/pci/hotplug/
Dpnv_php.c76 WARN_ON(!list_empty(&php_slot->children)); in pnv_php_free_slot()
101 list_for_each_entry(tmp, &php_slot->children, link) { in pnv_php_match()
608 INIT_LIST_HEAD(&php_slot->children); in pnv_php_alloc_slot()
656 list_add_tail(&php_slot->link, &parent->children); in pnv_php_register_slot()
/drivers/acpi/nfit/
DKconfig24 device and its children. This can be very verbose, so leave
/drivers/scsi/libsas/
Dsas_expander.c867 list_add_tail(&child->siblings, &parent_ex->children); in sas_ex_discover_end_dev()
982 list_add_tail(&child->siblings, &parent->ex_dev.children); in sas_ex_discover_expander()
1134 list_for_each_entry(child, &ex->children, siblings) { in sas_check_level_subtractive_boundary()
1853 list_for_each_entry(ch, &ex->children, siblings) { in sas_find_bcast_dev()
1869 list_for_each_entry_safe(child, n, &ex->children, siblings) { in sas_unregister_ex_tree()
1888 &ex_dev->children, siblings) { in sas_unregister_devs_sas_addr()
1920 list_for_each_entry(child, &ex_root->children, siblings) { in sas_discover_bfs_by_root_level()
1972 list_for_each_entry(child, &dev->ex_dev.children, siblings) { in sas_discover_new()
/drivers/pci/pcie/
Daspm.c46 struct list_head children; /* list of child link states */ member
523 INIT_LIST_HEAD(&link->children); in alloc_pcie_link_state()
549 list_add(&link->link, &parent->children); in alloc_pcie_link_state()
/drivers/usb/core/
Dusb-acpi.c138 list_for_each_entry(adev, &parent->children, node) { in usb_acpi_find_port()
/drivers/pci/
Dsearch.c118 list_for_each_entry(tmp, &bus->children, node) { in pci_do_find_bus()

12