Home
last modified time | relevance | path

Searched refs:num_nodes (Results 1 – 25 of 59) sorted by relevance

123

/linux/drivers/char/xillybus/
A Dxillybus_class.c38 int num_nodes; member
46 int num_nodes, in xillybus_init_chrdev() argument
89 unit->num_nodes = num_nodes; in xillybus_init_chrdev()
101 unit->num_nodes); in xillybus_init_chrdev()
109 for (i = 0; i < num_nodes; i++) { in xillybus_init_chrdev()
147 dev_info(dev, "Created %d device files.\n", num_nodes); in xillybus_init_chrdev()
162 unit->num_nodes); in xillybus_init_chrdev()
195 minor < (unit->lowest_minor + unit->num_nodes); in xillybus_cleanup_chrdev()
202 unit->num_nodes); in xillybus_cleanup_chrdev()
205 unit->num_nodes); in xillybus_cleanup_chrdev()
[all …]
/linux/arch/sparc/kernel/
A Dcpumap.c127 int i, n, num_nodes; in enumerate_cpuinfo_nodes() local
136 num_nodes = 1; /* Include the root node */ in enumerate_cpuinfo_nodes()
144 tree_level[CPUINFO_LVL_NODE].num_nodes++; in enumerate_cpuinfo_nodes()
146 num_nodes++; in enumerate_cpuinfo_nodes()
150 tree_level[CPUINFO_LVL_CORE].num_nodes++; in enumerate_cpuinfo_nodes()
152 num_nodes++; in enumerate_cpuinfo_nodes()
156 tree_level[CPUINFO_LVL_PROC].num_nodes++; in enumerate_cpuinfo_nodes()
158 num_nodes++; in enumerate_cpuinfo_nodes()
162 tree_level[CPUINFO_LVL_ROOT].num_nodes = 1; in enumerate_cpuinfo_nodes()
164 n = tree_level[CPUINFO_LVL_NODE].num_nodes; in enumerate_cpuinfo_nodes()
[all …]
/linux/drivers/interconnect/qcom/
A Dsc7280.c1287 .num_nodes = 1,
1293 .num_nodes = 1,
1300 .num_nodes = 2,
1334 .num_nodes = 6,
1342 .num_nodes = 1,
1348 .num_nodes = 1,
1355 .num_nodes = 1,
1362 .num_nodes = 1,
1368 .num_nodes = 2,
1374 .num_nodes = 1,
[all …]
A Dosm-l3.c70 size_t num_nodes; member
95 .num_nodes = ARRAY_SIZE(sdm845_osm_l3_nodes),
111 .num_nodes = ARRAY_SIZE(sc7180_osm_l3_nodes),
127 .num_nodes = ARRAY_SIZE(sc8180x_osm_l3_nodes),
143 .num_nodes = ARRAY_SIZE(sm8150_osm_l3_nodes),
159 .num_nodes = ARRAY_SIZE(sm8250_epss_l3_nodes),
216 size_t num_nodes; in qcom_osm_l3_probe() local
276 num_nodes = desc->num_nodes; in qcom_osm_l3_probe()
278 data = devm_kcalloc(&pdev->dev, num_nodes, sizeof(*node), GFP_KERNEL); in qcom_osm_l3_probe()
296 for (i = 0; i < num_nodes; i++) { in qcom_osm_l3_probe()
[all …]
A Dicc-rpmh.c176 for (i = 0; i < bcm->num_nodes; i++) { in qcom_icc_bcm_init()
195 size_t num_nodes, i, j; in qcom_icc_rpmh_probe() local
203 num_nodes = desc->num_nodes; in qcom_icc_rpmh_probe()
209 data = devm_kzalloc(dev, struct_size(data, nodes, num_nodes), GFP_KERNEL); in qcom_icc_rpmh_probe()
237 for (i = 0; i < num_nodes; i++) { in qcom_icc_rpmh_probe()
258 data->num_nodes = num_nodes; in qcom_icc_rpmh_probe()
A Dsc8180x.c433 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
440 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
468 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
473 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
480 .num_nodes = ARRAY_SIZE(ipa_virt_nodes),
487 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
494 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
514 size_t num_nodes, i; in qnoc_probe() local
522 num_nodes = desc->num_nodes; in qnoc_probe()
558 for (i = 0; i < num_nodes; i++) { in qnoc_probe()
[all …]
A Dsc7180.c201 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
224 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
329 .num_nodes = ARRAY_SIZE(config_noc_nodes),
342 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
370 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
386 .num_nodes = ARRAY_SIZE(ipa_virt_nodes),
403 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
430 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
451 .num_nodes = ARRAY_SIZE(npu_noc_nodes),
467 .num_nodes = ARRAY_SIZE(qup_virt_nodes),
[all …]
A Dmsm8974.c224 size_t num_nodes; member
259 .num_nodes = ARRAY_SIZE(msm8974_bimc_nodes),
342 .num_nodes = ARRAY_SIZE(msm8974_cnoc_nodes),
395 .num_nodes = ARRAY_SIZE(msm8974_mnoc_nodes),
430 .num_nodes = ARRAY_SIZE(msm8974_onoc_nodes),
493 .num_nodes = ARRAY_SIZE(msm8974_pnoc_nodes),
550 .num_nodes = ARRAY_SIZE(msm8974_snoc_nodes),
657 size_t num_nodes, i; in msm8974_icc_probe() local
669 num_nodes = desc->num_nodes; in msm8974_icc_probe()
709 for (i = 0; i < num_nodes; i++) { in msm8974_icc_probe()
[all …]
A Dicc-rpm.c273 size_t num_nodes, i; in qnoc_probe() local
287 num_nodes = desc->num_nodes; in qnoc_probe()
301 data = devm_kzalloc(dev, struct_size(data, nodes, num_nodes), in qnoc_probe()
358 for (i = 0; i < num_nodes; i++) { in qnoc_probe()
376 data->num_nodes = num_nodes; in qnoc_probe()
A Dsm8150.c207 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
242 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
260 .num_nodes = ARRAY_SIZE(camnoc_virt_nodes),
277 .num_nodes = ARRAY_SIZE(compute_noc_nodes),
345 .num_nodes = ARRAY_SIZE(config_noc_nodes),
361 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
396 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
412 .num_nodes = ARRAY_SIZE(ipa_virt_nodes),
429 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
459 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
[all …]
A Dsm8250.c221 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
251 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
268 .num_nodes = ARRAY_SIZE(compute_noc_nodes),
334 .num_nodes = ARRAY_SIZE(config_noc_nodes),
350 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
384 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
400 .num_nodes = ARRAY_SIZE(ipa_virt_nodes),
417 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
447 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
473 .num_nodes = ARRAY_SIZE(npu_noc_nodes),
[all …]
A Dicc-rpmh.h105 size_t num_nodes; member
111 size_t num_nodes; member
116 size_t num_nodes; member
A Dsm8350.c218 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
249 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
328 .num_nodes = ARRAY_SIZE(config_noc_nodes),
344 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
384 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
404 .num_nodes = ARRAY_SIZE(lpass_ag_noc_nodes),
425 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
464 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
483 .num_nodes = ARRAY_SIZE(nsp_noc_nodes),
508 .num_nodes = ARRAY_SIZE(system_noc_nodes),
A Dsdm845.c199 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
228 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
289 .num_nodes = ARRAY_SIZE(config_noc_nodes),
305 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
323 .num_nodes = ARRAY_SIZE(gladiator_noc_nodes),
358 .num_nodes = ARRAY_SIZE(mem_noc_nodes),
392 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
438 .num_nodes = ARRAY_SIZE(system_noc_nodes),
A Dsdx55.c116 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
138 .num_nodes = ARRAY_SIZE(mem_noc_nodes),
217 .num_nodes = ARRAY_SIZE(system_noc_nodes),
233 .num_nodes = ARRAY_SIZE(ipa_virt_nodes),
/linux/fs/ocfs2/
A Dheartbeat.c36 map->num_nodes = OCFS2_NODE_MAP_MAX_NODES; in ocfs2_node_map_init()
80 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_set_bit()
98 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_clear_bit()
109 if (bit >= map->num_nodes) { in ocfs2_node_map_test_bit()
110 mlog(ML_ERROR, "bit=%d map->num_nodes=%d\n", bit, map->num_nodes); in ocfs2_node_map_test_bit()
/linux/drivers/net/ethernet/intel/ice/
A Dice_sched.c988 if (!num_nodes) in ice_sched_add_nodes_to_hw_layer()
1686 num_nodes[i]++; in ice_sched_calc_vsi_support_nodes()
1706 num_nodes[i]++; in ice_sched_calc_vsi_support_nodes()
1784 num_nodes); in ice_sched_add_vsi_to_topo()
2117 u16 *num_nodes) in ice_sched_get_free_vsi_parent() argument
2132 num_nodes[l] = 0; in ice_sched_get_free_vsi_parent()
2141 num_nodes); in ice_sched_get_free_vsi_parent()
2286 num_nodes[i] = 1; in ice_sched_move_vsi_to_agg()
2292 num_nodes); in ice_sched_move_vsi_to_agg()
2527 num_nodes[aggl] = 1; in ice_sched_add_agg_cfg()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Dta_xgmi_if.h97 uint32_t num_nodes; member
102 uint32_t num_nodes; member
107 uint32_t num_nodes; member
112 uint32_t num_nodes; member
/linux/net/tipc/
A Ddiscover.c67 int num_nodes; member
263 d->num_nodes++; in tipc_disc_add_dest()
274 d->num_nodes--; in tipc_disc_remove_dest()
275 num = d->num_nodes; in tipc_disc_remove_dest()
302 if (tipc_node(d->domain) && d->num_nodes) { in tipc_disc_timeout()
320 if (d->num_nodes && d->timer_intv > TIPC_DISC_SLOW) in tipc_disc_timeout()
322 else if (!d->num_nodes && d->timer_intv > TIPC_DISC_FAST) in tipc_disc_timeout()
372 d->num_nodes = 0; in tipc_disc_create()
409 d->num_nodes = 0; in tipc_disc_reset()
/linux/drivers/clk/zynqmp/
A Dclkc.c75 u32 num_nodes; member
442 u32 *num_nodes) in zynqmp_clock_get_topology() argument
447 *num_nodes = 0; in zynqmp_clock_get_topology()
454 num_nodes); in zynqmp_clock_get_topology()
586 u32 num_nodes, clk_dev_id; in zynqmp_register_clk_topology() local
592 num_nodes = clock[clk_id].num_nodes; in zynqmp_register_clk_topology()
595 for (j = 0; j < num_nodes; j++) { in zynqmp_register_clk_topology()
600 if (j != (num_nodes - 1)) { in zynqmp_register_clk_topology()
622 for (j = 0; j < num_nodes; j++) in zynqmp_register_clk_topology()
725 &clock[i].num_nodes); in zynqmp_get_clock_info()
/linux/drivers/infiniband/sw/siw/
A Dsiw_main.c133 int num_nodes; member
138 int i, num_nodes = nr_node_ids; in siw_init_cpulist() local
142 siw_cpu_info.num_nodes = num_nodes; in siw_init_cpulist()
145 kcalloc(num_nodes, sizeof(struct cpumask *), GFP_KERNEL); in siw_init_cpulist()
147 siw_cpu_info.num_nodes = 0; in siw_init_cpulist()
150 for (i = 0; i < siw_cpu_info.num_nodes; i++) { in siw_init_cpulist()
164 siw_cpu_info.num_nodes = 0; in siw_init_cpulist()
177 while (i < siw_cpu_info.num_nodes) in siw_destroy_cpulist()
/linux/drivers/interconnect/
A Dcore.c152 ssize_t num_nodes) in path_init() argument
162 path->num_nodes = num_nodes; in path_init()
164 for (i = num_nodes - 1; i >= 0; i--) { in path_init()
290 for (i = 0; i < path->num_nodes; i++) { in apply_constraints()
337 if (idx >= icc_data->num_nodes) { in of_icc_xlate_onecell()
582 for (i = 0; i < path->num_nodes; i++) in icc_set_tag()
632 if (WARN_ON(IS_ERR(path) || !path->num_nodes)) in icc_set_bw()
640 for (i = 0; i < path->num_nodes; i++) { in icc_set_bw()
658 for (i = 0; i < path->num_nodes; i++) { in icc_set_bw()
687 for (i = 0; i < path->num_nodes; i++) in __icc_enable()
[all …]
/linux/sound/hda/
A Dhdac_sysfs.c375 tree->nodes = kcalloc(codec->num_nodes + 1, sizeof(*tree->nodes), in widget_tree_create()
380 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in widget_tree_create()
423 hda_nid_t start_nid, int num_nodes) in hda_widget_sysfs_reinit() argument
426 hda_nid_t end_nid = start_nid + num_nodes; in hda_widget_sysfs_reinit()
437 tree->nodes = kcalloc(num_nodes + 1, sizeof(*tree->nodes), GFP_KERNEL); in hda_widget_sysfs_reinit()
444 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in hda_widget_sysfs_reinit()
451 for (i = 0, nid = start_nid; i < num_nodes; i++, nid++) { in hda_widget_sysfs_reinit()
/linux/tools/testing/selftests/drivers/net/netdevsim/
A Ddevlink.sh632 local num_nodes=`rate_nodes_get $DL_HANDLE | wc -w`
633 [ $num_nodes == 1 ]
634 check_err $? "Expected 1 rate node in output but got $num_nodes"
646 local num_nodes=`rate_nodes_get $DL_HANDLE | wc -w`
647 [ $num_nodes == 0 ]
648 check_err $? "Expected 0 rate node but got $num_nodes"
/linux/sound/pci/hda/
A Dhda_hwdep.c45 verb >= codec->core.start_nid + codec->core.num_nodes) { in get_wcap_ioctl()
49 verb = array_index_nospec(verb, codec->core.num_nodes); in get_wcap_ioctl()

Completed in 49 milliseconds

123