/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.h | 124 struct list_head children; member 284 list_for_each_entry_reverse(pos, &(prio)->node.children, list) 287 list_for_each_entry(pos, (&(prio)->node.children), list) 290 fs_list_for_each_entry(pos, &(ns)->node.children) 293 fs_list_for_each_entry(pos, &(prio)->node.children) 296 fs_list_for_each_entry(pos, &(prio)->node.children) 299 fs_list_for_each_entry_safe(pos, tmp, &(prio)->node.children) 302 fs_list_for_each_entry(pos, &(ft)->node.children) 305 fs_list_for_each_entry(pos, &(fg)->node.children) 308 fs_list_for_each_entry(pos, &(fte)->node.children)
|
D | fs_core.c | 55 .children = (struct init_tree_node[]) {__VA_ARGS__},\ 65 .children = (struct init_tree_node[]) {__VA_ARGS__},\ 128 struct init_tree_node *children; member 139 .children = (struct init_tree_node[]){ 176 .children = (struct init_tree_node[]) { 190 .children = (struct init_tree_node[]) { 253 INIT_LIST_HEAD(&node->children); in tree_init_node() 608 list_add_tail(&fte->node.list, &fg->node.children); in insert_fte() 761 list_for_each_advance_continue(iter, &root->children, reverse) { in find_closest_ft_recursive() 766 ft = find_closest_ft_recursive(iter, &iter->children, reverse); in find_closest_ft_recursive() [all …]
|
/drivers/mfd/ |
D | wl1273-core.c | 165 int children = 0; in wl1273_core_probe() local 175 if (!(pdata->children & WL1273_RADIO_CHILD)) { in wl1273_core_probe() 192 cell = &core->cells[children]; in wl1273_core_probe() 196 children++; in wl1273_core_probe() 204 if (pdata->children & WL1273_CODEC_CHILD) { in wl1273_core_probe() 205 cell = &core->cells[children]; in wl1273_core_probe() 211 children++; in wl1273_core_probe() 215 __func__, children); in wl1273_core_probe() 218 children, NULL, 0, NULL); in wl1273_core_probe()
|
D | twl6040.c | 642 int irq, ret, children = 0; in twl6040_probe() local 762 cell = &twl6040->cells[children]; in twl6040_probe() 768 children++; in twl6040_probe() 774 cell = &twl6040->cells[children]; in twl6040_probe() 780 children++; in twl6040_probe() 784 cell = &twl6040->cells[children]; in twl6040_probe() 786 children++; in twl6040_probe() 789 cell = &twl6040->cells[children]; in twl6040_probe() 791 children++; in twl6040_probe() 797 ret = mfd_add_devices(&client->dev, -1, twl6040->cells, children, in twl6040_probe()
|
D | retu-mfd.c | 124 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()
|
D | mfd-core.c | 105 list_for_each_entry(child, &parent->children, node) { in mfd_acpi_add_device() 115 list_for_each_entry(child, &parent->children, node) { in mfd_acpi_add_device()
|
/drivers/net/ethernet/netronome/nfp/abm/ |
D | qdisc.c | 23 return qdisc->children[id] && in nfp_abm_qdisc_child_valid() 24 qdisc->children[id] != NFP_QDISC_UNTRACKED; in nfp_abm_qdisc_child_valid() 80 nfp_abm_stats_update_red(alink, qdisc->children[i], i); in nfp_abm_stats_update_mq() 113 qdisc->children[i]->use_cnt--; in nfp_abm_qdisc_unlink_children() 114 qdisc->children[i] = NULL; in nfp_abm_qdisc_unlink_children() 201 !qdisc->children[0]; in nfp_abm_offload_compile_red() 236 struct nfp_qdisc *child = qdisc->children[i]; in nfp_abm_offload_compile_mq() 310 if (mq->children[i] == qdisc) { in nfp_abm_qdisc_clear_mq() 311 mq->children[i] = NULL; in nfp_abm_qdisc_clear_mq() 332 kfree(qdisc->children); in nfp_abm_qdisc_free() [all …]
|
/drivers/platform/x86/ |
D | surface3_button.c | 65 struct platform_device *children[BUTTON_TYPES]; member 167 if (priv->children[i]) in surface3_button_remove() 168 platform_device_unregister(priv->children[i]); in surface3_button_remove() 220 priv->children[i] = pd; in surface3_button_probe() 223 if (!priv->children[0] && !priv->children[1]) in surface3_button_probe()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_sched.c | 31 root->children = devm_kcalloc(ice_hw_to_dev(hw), hw->max_children[0], in ice_sched_add_root_node() 33 if (!root->children) { in ice_sched_add_root_node() 71 if (ICE_TXSCHED_GET_NODE_TEID(start_node->children[i]) == teid) in ice_sched_find_node_by_teid() 72 return start_node->children[i]; in ice_sched_find_node_by_teid() 78 tmp = ice_sched_find_node_by_teid(start_node->children[i], in ice_sched_find_node_by_teid() 185 node->children = devm_kcalloc(ice_hw_to_dev(hw), in ice_sched_add_node() 188 if (!node->children) { in ice_sched_add_node() 197 parent->children[parent->num_children++] = node; in ice_sched_add_node() 290 if (pi->root->children[i]->tc_num == tc) in ice_sched_get_tc_node() 291 return pi->root->children[i]; in ice_sched_get_tc_node() [all …]
|
/drivers/net/phy/ |
D | mdio-mux.c | 25 struct mdio_mux_child_bus *children; member 174 cb->next = pb->children; in mdio_mux_init() 175 pb->children = cb; in mdio_mux_init() 178 if (pb->children) { in mdio_mux_init() 196 struct mdio_mux_child_bus *cb = pb->children; in mdio_mux_uninit()
|
/drivers/i2c/muxes/ |
D | i2c-mux-gpmux.c | 77 int children; in i2c_mux_probe() local 101 children = of_get_child_count(np); in i2c_mux_probe() 103 muxc = i2c_mux_alloc(parent, dev, children, 0, 0, in i2c_mux_probe() 136 dev_info(dev, "%d-port mux on %s adapter\n", children, parent->name); in i2c_mux_probe()
|
/drivers/iio/multiplexer/ |
D | iio-mux.c | 348 int children; in mux_probe() local 369 children = 0; in mux_probe() 372 children++; in mux_probe() 374 if (children <= 0) { in mux_probe() 380 sizeof_priv += sizeof(*mux->child) * children; in mux_probe() 381 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe() 390 mux->chan = (struct iio_chan_spec *)(mux->child + children); in mux_probe() 402 indio_dev->num_channels = children; in mux_probe()
|
/drivers/input/misc/ |
D | soc_button_array.c | 41 struct platform_device *children[BUTTON_TYPES]; member 314 if (priv->children[i]) in soc_button_remove() 315 platform_device_unregister(priv->children[i]); in soc_button_remove() 368 priv->children[i] = pd; in soc_button_probe() 371 if (!priv->children[0] && !priv->children[1]) in soc_button_probe()
|
/drivers/phy/ |
D | phy-core.c | 140 for_each_child_of_node(phy_provider->children, child) in of_phy_provider_lookup() 980 struct device_node *children, struct module *owner, in __of_phy_provider_register() argument 991 if (children) { in __of_phy_provider_register() 992 struct device_node *parent = of_node_get(children), *next; in __of_phy_provider_register() 1008 children = dev->of_node; in __of_phy_provider_register() 1016 phy_provider->children = of_node_get(children); in __of_phy_provider_register() 1042 struct device_node *children, struct module *owner, in __devm_of_phy_provider_register() argument 1052 phy_provider = __of_phy_provider_register(dev, children, owner, in __devm_of_phy_provider_register() 1078 of_node_put(phy_provider->children); in of_phy_provider_unregister()
|
/drivers/input/serio/ |
D | serio.c | 505 INIT_LIST_HEAD(&serio->children); in serio_init_port() 533 list_add_tail(&serio->child_node, &parent->children); in serio_add_port() 614 if (!list_empty(&s->children)) { in serio_reconnect_subtree() 615 s = list_first_entry(&s->children, in serio_reconnect_subtree() 629 if (!list_is_last(&s->child_node, &parent->children)) { in serio_reconnect_subtree() 652 while (!list_empty(&serio->children)) { in serio_disconnect_port() 655 while (!list_empty(&s->children)) in serio_disconnect_port() 656 s = list_first_entry(&s->children, in serio_disconnect_port() 722 list_for_each_entry_safe(s, next, &serio->children, child_node) { in serio_unregister_child_port()
|
/drivers/base/ |
D | swnode.c | 23 struct list_head children; member 536 if (!p || list_empty(&p->children) || in software_node_get_next_child() 537 (c && list_is_last(&c->entry, &p->children))) in software_node_get_next_child() 543 c = list_first_entry(&p->children, struct swnode, entry); in software_node_get_next_child() 554 if (!swnode || list_empty(&swnode->children)) in software_node_get_named_child_node() 557 list_for_each_entry(child, &swnode->children, entry) { in software_node_get_named_child_node() 724 INIT_LIST_HEAD(&swnode->children); in swnode_register() 740 list_add_tail(&swnode->entry, &parent->children); in swnode_register()
|
/drivers/clk/ |
D | clk.c | 85 struct hlist_head children; member 301 hlist_for_each_entry(child, &core->children, child_node) { in __clk_lookup_subtree() 1080 hlist_for_each_entry(child, &core->children, child_node) { in clk_core_save_context() 1099 hlist_for_each_entry(child, &core->children, child_node) in clk_core_restore_context() 1198 hlist_for_each_entry(child, &core->children, child_node) in clk_unprepare_unused_subtree() 1233 hlist_for_each_entry(child, &core->children, child_node) in clk_disable_unused_subtree() 1320 hlist_for_each_entry(child, &core->children, child_node) in clk_unprepare_disable_dev_subtree() 1558 hlist_for_each_entry(child, &core->children, child_node) in __clk_recalc_accuracies() 1640 hlist_for_each_entry(child, &core->children, child_node) in __clk_recalc_rates() 1742 hlist_for_each_entry(child, &core->children, child_node) in __clk_core_update_orphan_hold_state() [all …]
|
/drivers/sh/clk/ |
D | core.c | 219 list_add(&child->sibling, &parent->children); in clk_reparent() 230 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate() 426 INIT_LIST_HEAD(&clk->children); in clk_register() 434 list_add(&clk->sibling, &clk->parent->children); in clk_register()
|
/drivers/phy/tegra/ |
D | xusb.c | 178 struct device_node *children; in tegra_xusb_pad_register() local 183 children = of_get_child_by_name(pad->dev.of_node, "lanes"); in tegra_xusb_pad_register() 184 if (!children) in tegra_xusb_pad_register() 190 of_node_put(children); in tegra_xusb_pad_register() 222 pad->provider = of_phy_provider_register_full(&pad->dev, children, in tegra_xusb_pad_register() 235 of_node_put(children); in tegra_xusb_pad_register()
|
/drivers/pci/controller/ |
D | pci-hyperv.c | 481 struct list_head children; member 1612 list_for_each_entry(hpdev, &hbus->children, list_entry) { in survey_child_resources() 1686 list_for_each_entry(hpdev, &hbus->children, list_entry) { in prepopulate_bars() 1757 list_for_each_entry(hpdev, &hbus->children, list_entry) { in hv_pci_assign_slots() 1779 list_for_each_entry(hpdev, &hbus->children, list_entry) { in hv_pci_remove_slots() 1908 list_add_tail(&hpdev->list_entry, &hbus->children); in new_pcichild_device() 1937 list_for_each_entry(iter, &hbus->children, list_entry) { in get_pcichild_wslot() 2012 list_for_each_entry(hpdev, &hbus->children, list_entry) { in pci_devices_present_work() 2023 list_for_each_entry(hpdev, &hbus->children, list_entry) { in pci_devices_present_work() 2046 list_for_each_entry(hpdev, &hbus->children, list_entry) { in pci_devices_present_work() [all …]
|
/drivers/acpi/ |
D | glue.c | 100 if (check_children && list_empty(&adev->children)) in find_child_checks() 123 list_for_each_entry(adev, &parent->children, node) { in acpi_find_child_device()
|
D | container.c | 35 list_for_each_entry(child, &adev->children, node) in acpi_container_offline()
|
/drivers/pci/hotplug/ |
D | pnv_php.c | 72 WARN_ON(!list_empty(&php_slot->children)); in pnv_php_free_slot() 97 list_for_each_entry(tmp, &php_slot->children, link) { in pnv_php_match() 654 INIT_LIST_HEAD(&php_slot->children); in pnv_php_alloc_slot() 701 list_add_tail(&php_slot->link, &parent->children); in pnv_php_register_slot()
|
/drivers/usb/gadget/function/ |
D | uvc_configfs.c | 61 const struct uvcg_config_group_type **children; member 88 for (child = type->children; child && *child; ++child) { in uvcg_config_create_children() 352 .children = (const struct uvcg_config_group_type*[]) { 466 .children = (const struct uvcg_config_group_type*[]) { 541 .children = (const struct uvcg_config_group_type*[]) { 557 .children = (const struct uvcg_config_group_type*[]) { 753 .children = (const struct uvcg_config_group_type*[]) { 1923 .children = (const struct uvcg_config_group_type*[]) { 2356 .children = (const struct uvcg_config_group_type*[]) { 2447 .children = (const struct uvcg_config_group_type*[]) {
|
/drivers/scsi/libsas/ |
D | sas_expander.c | 896 list_add_tail(&child->siblings, &parent_ex->children); in sas_ex_discover_end_dev() 1012 list_add_tail(&child->siblings, &parent->ex_dev.children); in sas_ex_discover_expander() 1142 list_for_each_entry(child, &ex->children, siblings) { in sas_check_level_subtractive_boundary() 1851 list_for_each_entry(ch, &ex->children, siblings) { in sas_find_bcast_dev() 1867 list_for_each_entry_safe(child, n, &ex->children, siblings) { in sas_unregister_ex_tree() 1885 &ex_dev->children, siblings) { in sas_unregister_devs_sas_addr() 1917 list_for_each_entry(child, &ex_root->children, siblings) { in sas_discover_bfs_by_root_level() 1968 list_for_each_entry(child, &dev->ex_dev.children, siblings) { in sas_discover_new()
|