Home
last modified time | relevance | path

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

12

/drivers/mfd/
Dwl1273-core.c164 int children = 0; in wl1273_core_probe() local
174 if (!(pdata->children & WL1273_RADIO_CHILD)) { in wl1273_core_probe()
191 cell = &core->cells[children]; in wl1273_core_probe()
195 children++; in wl1273_core_probe()
203 if (pdata->children & WL1273_CODEC_CHILD) { in wl1273_core_probe()
204 cell = &core->cells[children]; in wl1273_core_probe()
210 children++; in wl1273_core_probe()
214 __func__, children); in wl1273_core_probe()
217 children, NULL, 0, NULL); in wl1273_core_probe()
Dtwl6040.c638 int irq, ret, children = 0; in twl6040_probe() local
756 cell = &twl6040->cells[children]; in twl6040_probe()
762 children++; in twl6040_probe()
768 cell = &twl6040->cells[children]; in twl6040_probe()
774 children++; in twl6040_probe()
778 cell = &twl6040->cells[children]; in twl6040_probe()
780 children++; in twl6040_probe()
783 cell = &twl6040->cells[children]; in twl6040_probe()
785 children++; in twl6040_probe()
791 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()
/drivers/net/ethernet/netronome/nfp/abm/
Dqdisc.c23 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/net/ethernet/mellanox/mlx5/core/
Dfs_core.h158 struct list_head children; member
334 list_for_each_entry_reverse(pos, &(prio)->node.children, list)
337 list_for_each_entry(pos, (&(prio)->node.children), list)
340 fs_list_for_each_entry(pos, &(ns)->node.children)
343 fs_list_for_each_entry(pos, &(prio)->node.children)
346 fs_list_for_each_entry(pos, &(prio)->node.children)
349 fs_list_for_each_entry_safe(pos, tmp, &(prio)->node.children)
352 fs_list_for_each_entry(pos, &(ft)->node.children)
355 fs_list_for_each_entry(pos, &(fg)->node.children)
358 fs_list_for_each_entry(pos, &(fte)->node.children)
Dfs_core.c55 .children = (struct init_tree_node[]) {__VA_ARGS__},\
65 .children = (struct init_tree_node[]) {__VA_ARGS__},\
154 struct init_tree_node *children; member
165 .children = (struct init_tree_node[]){
206 .children = (struct init_tree_node[]) {
248 .children = (struct init_tree_node[]) {
302 .children = (struct init_tree_node[]) {
378 INIT_LIST_HEAD(&node->children); in tree_init_node()
764 list_add_tail(&fte->node.list, &fg->node.children); in insert_fte()
916 list_for_each_advance_continue(iter, &root->children, reverse) { in find_closest_ft_recursive()
[all …]
/drivers/iio/multiplexer/
Diio-mux.c336 int children; in mux_probe() local
366 children = 0; in mux_probe()
369 children++; in mux_probe()
371 if (children <= 0) { in mux_probe()
377 sizeof_priv += sizeof(*mux->child) * children; in mux_probe()
378 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe()
387 mux->chan = (struct iio_chan_spec *)(mux->child + children); in mux_probe()
401 indio_dev->num_channels = children; in mux_probe()
/drivers/i2c/muxes/
Di2c-mux-gpmux.c77 int children; in i2c_mux_probe() local
97 children = of_get_child_count(np); in i2c_mux_probe()
99 muxc = i2c_mux_alloc(parent, dev, children, 0, 0, in i2c_mux_probe()
132 dev_info(dev, "%d-port mux on %s adapter\n", children, parent->name); in i2c_mux_probe()
/drivers/powercap/
Ddtpm.c72 list_for_each_entry(child, &dtpm->children, sibling) { in __get_power_uw()
91 list_for_each_entry(child, &dtpm->children, sibling) { in __dtpm_rebalance_weight()
174 if (!list_empty(&dtpm->children)) in dtpm_release_zone()
231 list_for_each_entry(child, &dtpm->children, sibling) { in __set_power_limit_uw()
322 INIT_LIST_HEAD(&dtpm->children); in dtpm_init()
398 list_add_tail(&dtpm->sibling, &parent->children); in dtpm_register()
622 list_for_each_entry_safe(child, aux, &dtpm->children, sibling) in __dtpm_destroy_hierarchy()
/drivers/net/mdio/
Dmdio-mux.c25 struct mdio_mux_child_bus *children; member
130 struct mdio_mux_child_bus *cb = pb->children; in mdio_mux_uninit_children()
235 cb->next = pb->children; in mdio_mux_init()
236 pb->children = cb; in mdio_mux_init()
239 if (pb->children) { in mdio_mux_init()
/drivers/net/ethernet/intel/ice/
Dice_sched.c32 root->children = devm_kcalloc(ice_hw_to_dev(hw), hw->max_children[0], in ice_sched_add_root_node()
34 if (!root->children) { in ice_sched_add_root_node()
72 if (ICE_TXSCHED_GET_NODE_TEID(start_node->children[i]) == teid) in ice_sched_find_node_by_teid()
73 return start_node->children[i]; in ice_sched_find_node_by_teid()
79 tmp = ice_sched_find_node_by_teid(start_node->children[i], in ice_sched_find_node_by_teid()
190 node->children = devm_kcalloc(ice_hw_to_dev(hw), in ice_sched_add_node()
193 if (!node->children) { in ice_sched_add_node()
202 parent->children[parent->num_children++] = node; in ice_sched_add_node()
295 if (pi->root->children[i]->tc_num == tc) in ice_sched_get_tc_node()
296 return pi->root->children[i]; in ice_sched_get_tc_node()
[all …]
/drivers/input/misc/
Dsoc_button_array.c48 struct platform_device *children[BUTTON_TYPES]; member
426 if (priv->children[i]) in soc_button_remove()
427 platform_device_unregister(priv->children[i]); in soc_button_remove()
480 priv->children[i] = pd; in soc_button_probe()
483 if (!priv->children[0] && !priv->children[1]) in soc_button_probe()
/drivers/phy/
Dphy-core.c142 for_each_child_of_node(phy_provider->children, child) in of_phy_provider_lookup()
1096 struct device_node *children, struct module *owner, in __of_phy_provider_register() argument
1107 if (children) { in __of_phy_provider_register()
1108 struct device_node *parent = of_node_get(children), *next; in __of_phy_provider_register()
1124 children = dev->of_node; in __of_phy_provider_register()
1132 phy_provider->children = of_node_get(children); in __of_phy_provider_register()
1159 struct device_node *children, struct module *owner, in __devm_of_phy_provider_register() argument
1169 phy_provider = __of_phy_provider_register(dev, children, owner, in __devm_of_phy_provider_register()
1195 of_node_put(phy_provider->children); in of_phy_provider_unregister()
/drivers/dma-buf/
Dst-dma-fence-chain.c391 atomic_t children; member
437 if (atomic_dec_and_test(&data->children)) in __find_race()
438 wake_up_var(&data->children); in __find_race()
461 atomic_set(&data.children, 0); in find_race()
468 atomic_inc(&data.children); in find_race()
472 wait_var_event_timeout(&data.children, in find_race()
473 !atomic_read(&data.children), in find_race()
/drivers/input/serio/
Dserio.c502 INIT_LIST_HEAD(&serio->children); in serio_init_port()
530 list_add_tail(&serio->child_node, &parent->children); in serio_add_port()
611 if (!list_empty(&s->children)) { in serio_reconnect_subtree()
612 s = list_first_entry(&s->children, in serio_reconnect_subtree()
626 if (!list_is_last(&s->child_node, &parent->children)) { in serio_reconnect_subtree()
649 while (!list_empty(&serio->children)) { in serio_disconnect_port()
652 while (!list_empty(&s->children)) in serio_disconnect_port()
653 s = list_first_entry(&s->children, in serio_disconnect_port()
719 list_for_each_entry_safe(s, next, &serio->children, child_node) { in serio_unregister_child_port()
/drivers/base/
Dswnode.c25 struct list_head children; member
458 if (!p || list_empty(&p->children) || in software_node_get_next_child()
459 (c && list_is_last(&c->entry, &p->children))) { in software_node_get_next_child()
467 c = list_first_entry(&p->children, struct swnode, entry); in software_node_get_next_child()
480 if (!swnode || list_empty(&swnode->children)) in software_node_get_named_child_node()
483 list_for_each_entry(child, &swnode->children, entry) { in software_node_get_named_child_node()
797 INIT_LIST_HEAD(&swnode->children); in swnode_register()
819 list_add_tail(&swnode->entry, &parent->children); in swnode_register()
/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c1240 list_add(&nft_m_entry->tc_merge_list, &tc_m_entry->children); in nfp_ct_do_nft_merge()
1241 list_add(&nft_m_entry->nft_flow_list, &nft_entry->children); in nfp_ct_do_nft_merge()
1315 list_add(&m_entry->post_ct_list, &post_ct_entry->children); in nfp_ct_do_tc_merge()
1316 list_add(&m_entry->pre_ct_list, &pre_ct_entry->children); in nfp_ct_do_tc_merge()
1317 INIT_LIST_HEAD(&m_entry->children); in nfp_ct_do_tc_merge()
1567 INIT_LIST_HEAD(&entry->children); in nfp_fl_ct_add_flow()
1654 list_for_each_entry_safe(m_entry, tmp, &ct_entry->children, in nfp_free_nft_merge_children()
1662 list_for_each_entry_safe(m_entry, tmp, &ct_entry->children, in nfp_free_nft_merge_children()
1684 if (!list_empty(&m_ent->children)) in nfp_del_tc_merge_entry()
1695 list_for_each_entry_safe(m_ent, tmp, &entry->children, pre_ct_list) { in nfp_free_tc_merge_children()
[all …]
Dconntrack.h137 struct list_head children; member
166 struct list_head children; member
/drivers/sh/clk/
Dcore.c219 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/clk/
Dclk.c90 struct hlist_head children; member
397 hlist_for_each_entry(child, &core->children, child_node) { in __clk_lookup_subtree()
1307 hlist_for_each_entry(child, &core->children, child_node) { in clk_core_save_context()
1326 hlist_for_each_entry(child, &core->children, child_node) in clk_core_restore_context()
1446 hlist_for_each_entry(child, &core->children, child_node) in clk_unprepare_unused_subtree()
1476 hlist_for_each_entry(child, &core->children, child_node) in clk_disable_unused_subtree()
1570 hlist_for_each_entry(child, &core->children, child_node) in clk_unprepare_disable_dev_subtree()
1917 hlist_for_each_entry(child, &core->children, child_node) in __clk_recalc_accuracies()
2003 hlist_for_each_entry(child, &core->children, child_node) in __clk_recalc_rates()
2123 hlist_for_each_entry(child, &core->children, child_node) in __clk_core_update_orphan_hold_state()
[all …]
/drivers/pci/controller/
Dpci-hyperv.c509 struct list_head children; member
2163 list_for_each_entry(hpdev, &hbus->children, list_entry) { in survey_child_resources()
2246 list_for_each_entry(hpdev, &hbus->children, list_entry) { in prepopulate_bars()
2254 list_for_each_entry(hpdev, &hbus->children, list_entry) { in prepopulate_bars()
2330 list_for_each_entry(hpdev, &hbus->children, list_entry) { in hv_pci_assign_slots()
2352 list_for_each_entry(hpdev, &hbus->children, list_entry) { in hv_pci_remove_slots()
2512 list_add_tail(&hpdev->list_entry, &hbus->children); in new_pcichild_device()
2541 list_for_each_entry(iter, &hbus->children, list_entry) { in get_pcichild_wslot()
2616 list_for_each_entry(hpdev, &hbus->children, list_entry) { in pci_devices_present_work()
2627 list_for_each_entry(hpdev, &hbus->children, list_entry) { in pci_devices_present_work()
[all …]
/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()
664 INIT_LIST_HEAD(&php_slot->children); in pnv_php_alloc_slot()
711 list_add_tail(&php_slot->link, &parent->children); in pnv_php_register_slot()
/drivers/phy/tegra/
Dxusb.c190 struct device_node *children; in tegra_xusb_pad_register() local
195 children = of_get_child_by_name(pad->dev.of_node, "lanes"); in tegra_xusb_pad_register()
196 if (!children) in tegra_xusb_pad_register()
202 of_node_put(children); in tegra_xusb_pad_register()
234 pad->provider = of_phy_provider_register_full(&pad->dev, children, in tegra_xusb_pad_register()
247 of_node_put(children); in tegra_xusb_pad_register()
/drivers/scsi/libsas/
Dsas_expander.c834 list_add_tail(&child->siblings, &parent_ex->children); in sas_ex_discover_end_dev()
944 list_add_tail(&child->siblings, &parent->ex_dev.children); in sas_ex_discover_expander()
1072 list_for_each_entry(child, &ex->children, siblings) { in sas_check_level_subtractive_boundary()
1800 list_for_each_entry(ch, &ex->children, siblings) { in sas_find_bcast_dev()
1816 list_for_each_entry_safe(child, n, &ex->children, siblings) { in sas_unregister_ex_tree()
1834 &ex_dev->children, siblings) { in sas_unregister_devs_sas_addr()
1865 list_for_each_entry(child, &ex_root->children, siblings) { in sas_discover_bfs_by_root_level()
1916 list_for_each_entry(child, &dev->ex_dev.children, siblings) { in sas_discover_new()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c303 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_dr_create_fte()
426 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_dr_create_fte()
507 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_dr_create_fte()

12