Home
last modified time | relevance | path

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

123

/linux-6.6.21/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-6.6.21/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.c1361 .num_nodes = 1,
1368 .num_nodes = 1,
1375 .num_nodes = 2,
1382 .num_nodes = 47,
1436 .num_nodes = 5,
1443 .num_nodes = 1,
1450 .num_nodes = 1,
1457 .num_nodes = 1,
1464 .num_nodes = 1,
1471 .num_nodes = 3,
[all …]
Dsm6350.c1169 .num_nodes = 1,
1176 .num_nodes = 1,
1183 .num_nodes = 41,
1231 .num_nodes = 6,
1244 .num_nodes = 1,
1251 .num_nodes = 1,
1258 .num_nodes = 1,
1265 .num_nodes = 1,
1272 .num_nodes = 1,
1279 .num_nodes = 5,
[all …]
Dsc7280.c1289 .num_nodes = 1,
1295 .num_nodes = 1,
1302 .num_nodes = 2,
1308 .num_nodes = 47,
1336 .num_nodes = 6,
1344 .num_nodes = 1,
1350 .num_nodes = 1,
1357 .num_nodes = 1,
1364 .num_nodes = 1,
1370 .num_nodes = 2,
[all …]
Dsdm670.c1052 .num_nodes = 1,
1059 .num_nodes = 1,
1066 .num_nodes = 1,
1073 .num_nodes = 1,
1080 .num_nodes = 1,
1087 .num_nodes = 7,
1101 .num_nodes = 1,
1108 .num_nodes = 1,
1115 .num_nodes = 1,
1122 .num_nodes = 5,
[all …]
Dsc7180.c1243 .num_nodes = 1,
1250 .num_nodes = 1,
1257 .num_nodes = 1,
1264 .num_nodes = 1,
1271 .num_nodes = 1,
1278 .num_nodes = 48,
1333 .num_nodes = 8,
1348 .num_nodes = 1,
1355 .num_nodes = 1,
1362 .num_nodes = 2,
[all …]
Dsdm845.c1270 .num_nodes = 1,
1277 .num_nodes = 1,
1284 .num_nodes = 1,
1291 .num_nodes = 1,
1298 .num_nodes = 1,
1305 .num_nodes = 7,
1319 .num_nodes = 1,
1326 .num_nodes = 1,
1333 .num_nodes = 1,
1340 .num_nodes = 5,
[all …]
Dsm8150.c1287 .num_nodes = 1,
1294 .num_nodes = 1,
1301 .num_nodes = 1,
1308 .num_nodes = 1,
1315 .num_nodes = 7,
1329 .num_nodes = 1,
1336 .num_nodes = 2,
1343 .num_nodes = 2,
1350 .num_nodes = 4,
1357 .num_nodes = 1,
[all …]
Dsm8250.c1402 .num_nodes = 1,
1409 .num_nodes = 1,
1416 .num_nodes = 1,
1423 .num_nodes = 1,
1430 .num_nodes = 1,
1437 .num_nodes = 3,
1444 .num_nodes = 2,
1451 .num_nodes = 1,
1458 .num_nodes = 3,
1465 .num_nodes = 1,
[all …]
Dosm-l3.c66 size_t num_nodes; member
104 .num_nodes = ARRAY_SIZE(osm_l3_nodes),
112 .num_nodes = ARRAY_SIZE(epss_l3_nodes),
120 .num_nodes = ARRAY_SIZE(epss_l3_nodes),
171 size_t num_nodes; in qcom_osm_l3_probe() local
231 num_nodes = desc->num_nodes; in qcom_osm_l3_probe()
233 data = devm_kzalloc(&pdev->dev, struct_size(data, nodes, num_nodes), GFP_KERNEL); in qcom_osm_l3_probe()
236 data->num_nodes = num_nodes; in qcom_osm_l3_probe()
247 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.c1716 .num_nodes = 1,
1722 .num_nodes = 1,
1729 .num_nodes = 9,
1744 .num_nodes = 67,
1817 .num_nodes = 4,
1827 .num_nodes = 3,
1837 .num_nodes = 1,
1844 .num_nodes = 5,
1855 .num_nodes = 8,
1869 .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.c1349 .num_nodes = 1,
1356 .num_nodes = 1,
1363 .num_nodes = 1,
1369 .num_nodes = 1,
1376 .num_nodes = 1,
1382 .num_nodes = 1,
1389 .num_nodes = 57,
1451 .num_nodes = 7,
1463 .num_nodes = 3,
1471 .num_nodes = 1,
[all …]
Dqdu1000.c773 .num_nodes = 1,
779 .num_nodes = 1,
785 .num_nodes = 44,
813 .num_nodes = 1,
819 .num_nodes = 2,
825 .num_nodes = 1,
831 .num_nodes = 11,
843 .num_nodes = 1,
849 .num_nodes = 6,
858 .num_nodes = 5,
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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