Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/char/xillybus/
Dxillybus_class.c40 int num_nodes; member
48 int num_nodes, in xillybus_init_chrdev() argument
82 rc = alloc_chrdev_region(&mdev, 0, num_nodes, unit->name); in xillybus_init_chrdev()
91 unit->num_nodes = num_nodes; in xillybus_init_chrdev()
103 unit->num_nodes); in xillybus_init_chrdev()
111 for (i = 0; i < num_nodes; i++) { in xillybus_init_chrdev()
149 dev_info(dev, "Created %d device files.\n", num_nodes); in xillybus_init_chrdev()
164 unit->num_nodes); in xillybus_init_chrdev()
196 minor < (unit->lowest_minor + unit->num_nodes); in xillybus_cleanup_chrdev()
203 unit->num_nodes); in xillybus_cleanup_chrdev()
[all …]
/Linux-v6.6/drivers/interconnect/qcom/
Dsm8550.c1479 .num_nodes = 1,
1485 .num_nodes = 1,
1493 .num_nodes = 54,
1525 .num_nodes = 1,
1532 .num_nodes = 2,
1538 .num_nodes = 2,
1545 .num_nodes = 1,
1551 .num_nodes = 1,
1558 .num_nodes = 8,
1569 .num_nodes = 1,
[all …]
Dsdx55.c649 .num_nodes = 1,
656 .num_nodes = 1,
663 .num_nodes = 1,
670 .num_nodes = 1,
677 .num_nodes = 1,
684 .num_nodes = 2,
691 .num_nodes = 1,
698 .num_nodes = 1,
705 .num_nodes = 1,
712 .num_nodes = 2,
[all …]
Dsdx65.c610 .num_nodes = 1,
617 .num_nodes = 1,
624 .num_nodes = 26,
657 .num_nodes = 1,
664 .num_nodes = 2,
671 .num_nodes = 2,
678 .num_nodes = 1,
685 .num_nodes = 1,
692 .num_nodes = 1,
699 .num_nodes = 1,
[all …]
Dsm8350.c1360 .num_nodes = 1,
1367 .num_nodes = 1,
1374 .num_nodes = 2,
1381 .num_nodes = 47,
1435 .num_nodes = 5,
1442 .num_nodes = 1,
1449 .num_nodes = 1,
1456 .num_nodes = 1,
1463 .num_nodes = 1,
1470 .num_nodes = 3,
[all …]
Dsm6350.c1168 .num_nodes = 1,
1175 .num_nodes = 1,
1182 .num_nodes = 41,
1230 .num_nodes = 6,
1243 .num_nodes = 1,
1250 .num_nodes = 1,
1257 .num_nodes = 1,
1264 .num_nodes = 1,
1271 .num_nodes = 1,
1278 .num_nodes = 5,
[all …]
Dsc7280.c1288 .num_nodes = 1,
1294 .num_nodes = 1,
1301 .num_nodes = 2,
1307 .num_nodes = 47,
1335 .num_nodes = 6,
1343 .num_nodes = 1,
1349 .num_nodes = 1,
1356 .num_nodes = 1,
1363 .num_nodes = 1,
1369 .num_nodes = 2,
[all …]
Dsdm670.c1051 .num_nodes = 1,
1058 .num_nodes = 1,
1065 .num_nodes = 1,
1072 .num_nodes = 1,
1079 .num_nodes = 1,
1086 .num_nodes = 7,
1100 .num_nodes = 1,
1107 .num_nodes = 1,
1114 .num_nodes = 1,
1121 .num_nodes = 5,
[all …]
Dsc7180.c1242 .num_nodes = 1,
1249 .num_nodes = 1,
1256 .num_nodes = 1,
1263 .num_nodes = 1,
1270 .num_nodes = 1,
1277 .num_nodes = 48,
1332 .num_nodes = 8,
1347 .num_nodes = 1,
1354 .num_nodes = 1,
1361 .num_nodes = 2,
[all …]
Dsdm845.c1269 .num_nodes = 1,
1276 .num_nodes = 1,
1283 .num_nodes = 1,
1290 .num_nodes = 1,
1297 .num_nodes = 1,
1304 .num_nodes = 7,
1318 .num_nodes = 1,
1325 .num_nodes = 1,
1332 .num_nodes = 1,
1339 .num_nodes = 5,
[all …]
Dsm8150.c1286 .num_nodes = 1,
1293 .num_nodes = 1,
1300 .num_nodes = 1,
1307 .num_nodes = 1,
1314 .num_nodes = 7,
1328 .num_nodes = 1,
1335 .num_nodes = 2,
1342 .num_nodes = 2,
1349 .num_nodes = 4,
1356 .num_nodes = 1,
[all …]
Dsm8250.c1401 .num_nodes = 1,
1408 .num_nodes = 1,
1415 .num_nodes = 1,
1422 .num_nodes = 1,
1429 .num_nodes = 1,
1436 .num_nodes = 3,
1443 .num_nodes = 2,
1450 .num_nodes = 1,
1457 .num_nodes = 3,
1464 .num_nodes = 1,
[all …]
Dosm-l3.c65 size_t num_nodes; member
103 .num_nodes = ARRAY_SIZE(osm_l3_nodes),
111 .num_nodes = ARRAY_SIZE(epss_l3_nodes),
119 .num_nodes = ARRAY_SIZE(epss_l3_nodes),
170 size_t num_nodes; in qcom_osm_l3_probe() local
230 num_nodes = desc->num_nodes; in qcom_osm_l3_probe()
232 data = devm_kzalloc(&pdev->dev, struct_size(data, nodes, num_nodes), GFP_KERNEL); in qcom_osm_l3_probe()
235 data->num_nodes = num_nodes; in qcom_osm_l3_probe()
246 for (i = 0; i < num_nodes; i++) { in qcom_osm_l3_probe()
Dsm8450.c1343 .num_nodes = 1,
1349 .num_nodes = 1,
1357 .num_nodes = 55,
1391 .num_nodes = 2,
1398 .num_nodes = 1,
1405 .num_nodes = 1,
1412 .num_nodes = 12,
1425 .num_nodes = 1,
1433 .num_nodes = 1,
1441 .num_nodes = 1,
[all …]
Dsc8280xp.c1715 .num_nodes = 1,
1721 .num_nodes = 1,
1728 .num_nodes = 9,
1743 .num_nodes = 67,
1816 .num_nodes = 4,
1826 .num_nodes = 3,
1836 .num_nodes = 1,
1843 .num_nodes = 5,
1854 .num_nodes = 8,
1868 .num_nodes = 2,
[all …]
Dsa8775p.c1878 .num_nodes = 1,
1884 .num_nodes = 2,
1891 .num_nodes = 2,
1897 .num_nodes = 76,
1940 .num_nodes = 4,
1947 .num_nodes = 2,
1953 .num_nodes = 1,
1959 .num_nodes = 1,
1966 .num_nodes = 1,
1973 .num_nodes = 5,
[all …]
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()
188 data->num_nodes = num_nodes; in qcom_icc_rpmh_probe()
211 for (i = 0; i < num_nodes; i++) { in qcom_icc_rpmh_probe()
Dsc8180x.c1348 .num_nodes = 1,
1355 .num_nodes = 1,
1362 .num_nodes = 1,
1368 .num_nodes = 1,
1374 .num_nodes = 1,
1380 .num_nodes = 1,
1387 .num_nodes = 57,
1449 .num_nodes = 7,
1461 .num_nodes = 3,
1469 .num_nodes = 1,
[all …]
Dqdu1000.c772 .num_nodes = 1,
778 .num_nodes = 1,
784 .num_nodes = 44,
812 .num_nodes = 1,
818 .num_nodes = 2,
824 .num_nodes = 1,
830 .num_nodes = 11,
842 .num_nodes = 1,
848 .num_nodes = 6,
857 .num_nodes = 5,
[all …]
/Linux-v6.6/arch/sparc/kernel/
Dcpumap.c45 int num_nodes; /* Number of nodes in a level in a cpuinfo tree */ member
127 int i, n, num_nodes; in enumerate_cpuinfo_nodes() local
133 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes()
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()
[all …]
/Linux-v6.6/fs/ocfs2/
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-v6.6/drivers/gpu/drm/amd/amdgpu/
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-v6.6/net/tipc/
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-v6.6/drivers/net/ethernet/intel/ice/
Dice_sched.c239 u16 num_nodes, u32 *node_teids) in ice_sched_remove_elems() argument
246 buf_size = struct_size(buf, teid, num_nodes); in ice_sched_remove_elems()
252 buf->hdr.num_elems = cpu_to_le16(num_nodes); in ice_sched_remove_elems()
253 for (i = 0; i < num_nodes; i++) in ice_sched_remove_elems()
530 ice_sched_suspend_resume_elems(struct ice_hw *hw, u8 num_nodes, u32 *node_teids, in ice_sched_suspend_resume_elems() argument
537 buf_size = sizeof(*buf) * num_nodes; in ice_sched_suspend_resume_elems()
542 for (i = 0; i < num_nodes; i++) in ice_sched_suspend_resume_elems()
546 status = ice_aq_suspend_sched_elems(hw, num_nodes, buf, in ice_sched_suspend_resume_elems()
550 status = ice_aq_resume_sched_elems(hw, num_nodes, buf, in ice_sched_suspend_resume_elems()
553 if (status || num_elem_ret != num_nodes) in ice_sched_suspend_resume_elems()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c575 static void kfd_cleanup_nodes(struct kfd_dev *kfd, unsigned int num_nodes) in kfd_cleanup_nodes() argument
580 for (i = 0; i < num_nodes; i++) { in kfd_cleanup_nodes()
645 kfd->num_nodes = amdgpu_xcp_get_num_xcp(kfd->adev->xcp_mgr); in kgd2kfd_device_init()
647 if (kfd->num_nodes == 0) { in kgd2kfd_device_init()
688 kfd->num_nodes != 1) { in kgd2kfd_device_init()
751 if (!kfd->hive_id && (KFD_GC_VERSION(kfd) == IP_VERSION(9, 4, 3)) && kfd->num_nodes > 1) in kgd2kfd_device_init()
759 kfd->num_nodes); in kgd2kfd_device_init()
762 for (i = 0, xcp_idx = 0; i < kfd->num_nodes; i++) { in kgd2kfd_device_init()
791 kfd->num_nodes != 1) { in kgd2kfd_device_init()
861 kfd_cleanup_nodes(kfd, kfd->num_nodes); in kgd2kfd_device_exit()
[all …]

123