Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/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()
194 minor < (unit->lowest_minor + unit->num_nodes); in xillybus_cleanup_chrdev()
201 unit->num_nodes); in xillybus_cleanup_chrdev()
204 unit->num_nodes); in xillybus_cleanup_chrdev()
[all …]
/linux-6.3-rc2/drivers/interconnect/qcom/
A Dsm8550.c1476 .num_nodes = 1,
1482 .num_nodes = 1,
1521 .num_nodes = 1,
1527 .num_nodes = 2,
1533 .num_nodes = 2,
1540 .num_nodes = 1,
1546 .num_nodes = 1,
1552 .num_nodes = 8,
1563 .num_nodes = 1,
2184 num_nodes = desc->num_nodes; in qnoc_probe()
[all …]
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 Dsm8450.c1340 .num_nodes = 1,
1346 .num_nodes = 1,
1386 .num_nodes = 2,
1393 .num_nodes = 1,
1400 .num_nodes = 1,
1419 .num_nodes = 1,
1427 .num_nodes = 1,
1435 .num_nodes = 1,
1442 .num_nodes = 1,
1863 num_nodes = desc->num_nodes; in qnoc_probe()
[all …]
A Dosm-l3.c72 size_t num_nodes; member
110 .num_nodes = ARRAY_SIZE(osm_l3_nodes),
118 .num_nodes = ARRAY_SIZE(epss_l3_nodes),
126 .num_nodes = ARRAY_SIZE(epss_l3_nodes),
177 size_t num_nodes; in qcom_osm_l3_probe() local
237 num_nodes = desc->num_nodes; in qcom_osm_l3_probe()
239 data = devm_kcalloc(&pdev->dev, num_nodes, sizeof(*node), GFP_KERNEL); in qcom_osm_l3_probe()
257 for (i = 0; i < num_nodes; i++) { in qcom_osm_l3_probe()
276 data->num_nodes = num_nodes; in qcom_osm_l3_probe()
A Dsc8280xp.c1714 .num_nodes = 1,
1720 .num_nodes = 1,
1727 .num_nodes = 9,
1815 .num_nodes = 4,
1825 .num_nodes = 3,
1835 .num_nodes = 1,
1842 .num_nodes = 5,
1853 .num_nodes = 8,
1867 .num_nodes = 2,
1875 .num_nodes = 1,
[all …]
A Dsa8775p.c1876 .num_nodes = 1,
1882 .num_nodes = 2,
1889 .num_nodes = 2,
1938 .num_nodes = 4,
1945 .num_nodes = 2,
1951 .num_nodes = 1,
1957 .num_nodes = 1,
1964 .num_nodes = 1,
1971 .num_nodes = 5,
1979 .num_nodes = 7,
[all …]
A Dicc-rpmh.c152 for (i = 0; i < bcm->num_nodes; i++) { in qcom_icc_bcm_init()
171 size_t num_nodes, i, j; in qcom_icc_rpmh_probe() local
179 num_nodes = desc->num_nodes; in qcom_icc_rpmh_probe()
185 data = devm_kzalloc(dev, struct_size(data, nodes, num_nodes), GFP_KERNEL); in qcom_icc_rpmh_probe()
213 for (i = 0; i < num_nodes; i++) { in qcom_icc_rpmh_probe()
234 data->num_nodes = num_nodes; in qcom_icc_rpmh_probe()
A Dsc8180x.c1347 .num_nodes = 1,
1354 .num_nodes = 1,
1361 .num_nodes = 1,
1367 .num_nodes = 1,
1373 .num_nodes = 1,
1379 .num_nodes = 1,
1448 .num_nodes = 7,
1460 .num_nodes = 3,
1468 .num_nodes = 1,
1474 .num_nodes = 6,
[all …]
A Dqdu1000.c771 .num_nodes = 1,
777 .num_nodes = 1,
783 .num_nodes = 44,
811 .num_nodes = 1,
817 .num_nodes = 2,
823 .num_nodes = 1,
829 .num_nodes = 11,
841 .num_nodes = 1,
847 .num_nodes = 6,
856 .num_nodes = 5,
[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 Dsc7180.c198 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
221 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
239 .num_nodes = ARRAY_SIZE(camnoc_virt_nodes),
326 .num_nodes = ARRAY_SIZE(config_noc_nodes),
339 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
367 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
384 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
411 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
432 .num_nodes = ARRAY_SIZE(npu_noc_nodes),
448 .num_nodes = ARRAY_SIZE(qup_virt_nodes),
[all …]
A Dicc-rpmh.h105 size_t num_nodes; member
111 size_t num_nodes; member
116 size_t num_nodes; member
A Dsm6350.c186 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
211 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
238 .num_nodes = ARRAY_SIZE(clk_virt_nodes),
257 .num_nodes = ARRAY_SIZE(compute_noc_nodes),
317 .num_nodes = ARRAY_SIZE(config_noc_nodes),
333 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
364 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
391 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
415 .num_nodes = ARRAY_SIZE(npu_noc_nodes),
451 .num_nodes = ARRAY_SIZE(system_noc_nodes),
A Dsm8150.c204 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
239 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
257 .num_nodes = ARRAY_SIZE(camnoc_virt_nodes),
274 .num_nodes = ARRAY_SIZE(compute_noc_nodes),
342 .num_nodes = ARRAY_SIZE(config_noc_nodes),
358 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
393 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
410 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
440 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
481 .num_nodes = ARRAY_SIZE(system_noc_nodes),
A Dsdm670.c178 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
204 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
259 .num_nodes = ARRAY_SIZE(config_noc_nodes),
275 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
293 .num_nodes = ARRAY_SIZE(gladiator_noc_nodes),
328 .num_nodes = ARRAY_SIZE(mem_noc_nodes),
358 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
402 .num_nodes = ARRAY_SIZE(system_noc_nodes),
/linux-6.3-rc2/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-6.3-rc2/fs/ocfs2/
A Dheartbeat.c32 map->num_nodes = OCFS2_NODE_MAP_MAX_NODES; in ocfs2_node_map_init()
69 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_set_bit()
81 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_clear_bit()
92 if (bit >= map->num_nodes) { in ocfs2_node_map_test_bit()
93 mlog(ML_ERROR, "bit=%d map->num_nodes=%d\n", bit, map->num_nodes); in ocfs2_node_map_test_bit()
/linux-6.3-rc2/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-6.3-rc2/net/tipc/
A Ddiscover.c67 int num_nodes; member
266 d->num_nodes++; in tipc_disc_add_dest()
277 d->num_nodes--; in tipc_disc_remove_dest()
278 num = d->num_nodes; in tipc_disc_remove_dest()
305 if (tipc_node(d->domain) && d->num_nodes) { in tipc_disc_timeout()
323 if (d->num_nodes && d->timer_intv > TIPC_DISC_SLOW) in tipc_disc_timeout()
325 else if (!d->num_nodes && d->timer_intv > TIPC_DISC_FAST) in tipc_disc_timeout()
375 d->num_nodes = 0; in tipc_disc_create()
412 d->num_nodes = 0; in tipc_disc_reset()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_sched.c1019 if (!num_nodes) in ice_sched_add_nodes_to_hw_layer()
1717 num_nodes[i]++; in ice_sched_calc_vsi_support_nodes()
1737 num_nodes[i]++; in ice_sched_calc_vsi_support_nodes()
1816 num_nodes); in ice_sched_add_vsi_to_topo()
2149 u16 *num_nodes) in ice_sched_get_free_vsi_parent() argument
2164 num_nodes[l] = 0; in ice_sched_get_free_vsi_parent()
2173 num_nodes); in ice_sched_get_free_vsi_parent()
2318 num_nodes[i] = 1; in ice_sched_move_vsi_to_agg()
2324 num_nodes); in ice_sched_move_vsi_to_agg()
2559 num_nodes[aggl] = 1; in ice_sched_add_agg_cfg()
[all …]
/linux-6.3-rc2/drivers/clk/zynqmp/
A Dclkc.c75 u32 num_nodes; member
446 u32 *num_nodes) in zynqmp_clock_get_topology() argument
451 *num_nodes = 0; in zynqmp_clock_get_topology()
458 num_nodes); in zynqmp_clock_get_topology()
590 u32 num_nodes, clk_dev_id; in zynqmp_register_clk_topology() local
596 num_nodes = clock[clk_id].num_nodes; in zynqmp_register_clk_topology()
599 for (j = 0; j < num_nodes; j++) { in zynqmp_register_clk_topology()
604 if (j != (num_nodes - 1)) { in zynqmp_register_clk_topology()
626 for (j = 0; j < num_nodes; j++) in zynqmp_register_clk_topology()
736 &clock[i].num_nodes); in zynqmp_get_clock_info()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/sound/hda/
A Dhdac_sysfs.c377 tree->nodes = kcalloc(codec->num_nodes + 1, sizeof(*tree->nodes), in widget_tree_create()
382 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in widget_tree_create()
425 hda_nid_t start_nid, int num_nodes) in hda_widget_sysfs_reinit() argument
428 hda_nid_t end_nid = start_nid + num_nodes; in hda_widget_sysfs_reinit()
439 tree->nodes = kcalloc(num_nodes + 1, sizeof(*tree->nodes), GFP_KERNEL); in hda_widget_sysfs_reinit()
446 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in hda_widget_sysfs_reinit()
453 for (i = 0, nid = start_nid; i < num_nodes; i++, nid++) { in hda_widget_sysfs_reinit()

Completed in 74 milliseconds

123