/Linux-v6.1/drivers/char/xillybus/ |
D | xillybus_class.c | 38 int num_nodes; member 46 int num_nodes, in xillybus_init_chrdev() argument 80 rc = alloc_chrdev_region(&mdev, 0, num_nodes, unit->name); in xillybus_init_chrdev() 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() [all …]
|
/Linux-v6.1/arch/sparc/kernel/ |
D | cpumap.c | 45 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.1/drivers/interconnect/qcom/ |
D | osm-l3.c | 71 size_t num_nodes; member 96 .num_nodes = ARRAY_SIZE(sdm845_osm_l3_nodes), 112 .num_nodes = ARRAY_SIZE(sc7180_osm_l3_nodes), 128 .num_nodes = ARRAY_SIZE(sc7280_epss_l3_nodes), 144 .num_nodes = ARRAY_SIZE(sc8180x_osm_l3_nodes), 160 .num_nodes = ARRAY_SIZE(sm8150_osm_l3_nodes), 176 .num_nodes = ARRAY_SIZE(sm8250_epss_l3_nodes), 235 size_t num_nodes; in qcom_osm_l3_probe() local 295 num_nodes = desc->num_nodes; in qcom_osm_l3_probe() 297 data = devm_kcalloc(&pdev->dev, num_nodes, sizeof(*node), GFP_KERNEL); in qcom_osm_l3_probe() [all …]
|
D | sc7280.c | 1287 .num_nodes = 1, 1293 .num_nodes = 1, 1300 .num_nodes = 2, 1306 .num_nodes = 47, 1334 .num_nodes = 6, 1342 .num_nodes = 1, 1348 .num_nodes = 1, 1355 .num_nodes = 1, 1362 .num_nodes = 1, 1368 .num_nodes = 2, [all …]
|
D | sm8450.c | 1340 .num_nodes = 1, 1346 .num_nodes = 1, 1353 .num_nodes = 55, 1386 .num_nodes = 2, 1393 .num_nodes = 1, 1400 .num_nodes = 1, 1406 .num_nodes = 12, 1419 .num_nodes = 1, 1427 .num_nodes = 1, 1435 .num_nodes = 1, [all …]
|
D | sc8280xp.c | 1730 .num_nodes = 1, 1736 .num_nodes = 1, 1743 .num_nodes = 9, 1758 .num_nodes = 67, 1831 .num_nodes = 4, 1841 .num_nodes = 3, 1850 .num_nodes = 1, 1857 .num_nodes = 1, 1864 .num_nodes = 5, 1875 .num_nodes = 8, [all …]
|
D | sc8180x.c | 1363 .num_nodes = 1, 1370 .num_nodes = 1, 1377 .num_nodes = 1, 1383 .num_nodes = 1, 1389 .num_nodes = 1, 1395 .num_nodes = 1, 1402 .num_nodes = 57, 1464 .num_nodes = 7, 1476 .num_nodes = 3, 1484 .num_nodes = 1, [all …]
|
D | icc-rpmh.c | 152 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()
|
D | msm8974.c | 224 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() 675 data = devm_kzalloc(dev, struct_size(data, nodes, num_nodes), in msm8974_icc_probe() [all …]
|
D | sc7180.c | 198 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes), 221 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes), 239 .num_nodes = ARRAY_SIZE(camnoc_virt_nodes), 258 .num_nodes = ARRAY_SIZE(compute_noc_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), [all …]
|
D | icc-rpmh.h | 105 size_t num_nodes; member 111 size_t num_nodes; member 116 size_t num_nodes; member
|
D | sm8150.c | 207 .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 …]
|
D | sm8250.c | 221 .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 …]
|
D | sm6350.c | 186 .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),
|
D | sm8350.c | 218 .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),
|
D | icc-rpm.c | 421 size_t num_nodes, i; in qnoc_probe() local 435 num_nodes = desc->num_nodes; in qnoc_probe() 454 data = devm_kzalloc(dev, struct_size(data, nodes, num_nodes), in qnoc_probe() 524 for (i = 0; i < num_nodes; i++) { in qnoc_probe() 542 data->num_nodes = num_nodes; in qnoc_probe()
|
/Linux-v6.1/fs/ocfs2/ |
D | heartbeat.c | 32 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.1/drivers/gpu/drm/amd/amdgpu/ |
D | ta_xgmi_if.h | 97 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.1/net/tipc/ |
D | discover.c | 67 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.1/drivers/net/ethernet/intel/ice/ |
D | ice_sched.c | 233 u16 num_nodes, u32 *node_teids) in ice_sched_remove_elems() argument 240 buf_size = struct_size(buf, teid, num_nodes); in ice_sched_remove_elems() 246 buf->hdr.num_elems = cpu_to_le16(num_nodes); in ice_sched_remove_elems() 247 for (i = 0; i < num_nodes; i++) in ice_sched_remove_elems() 524 ice_sched_suspend_resume_elems(struct ice_hw *hw, u8 num_nodes, u32 *node_teids, in ice_sched_suspend_resume_elems() argument 531 buf_size = sizeof(*buf) * num_nodes; in ice_sched_suspend_resume_elems() 536 for (i = 0; i < num_nodes; i++) in ice_sched_suspend_resume_elems() 540 status = ice_aq_suspend_sched_elems(hw, num_nodes, buf, in ice_sched_suspend_resume_elems() 544 status = ice_aq_resume_sched_elems(hw, num_nodes, buf, in ice_sched_suspend_resume_elems() 547 if (status || num_elem_ret != num_nodes) in ice_sched_suspend_resume_elems() [all …]
|
/Linux-v6.1/drivers/clk/zynqmp/ |
D | clkc.c | 75 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-v6.1/drivers/infiniband/sw/siw/ |
D | siw_main.c | 133 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-v6.1/drivers/interconnect/ |
D | core.c | 152 ssize_t num_nodes) in path_init() argument 158 path = kzalloc(struct_size(path, reqs, num_nodes), GFP_KERNEL); in path_init() 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() [all …]
|
/Linux-v6.1/sound/hda/ |
D | hdac_sysfs.c | 377 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()
|
/Linux-v6.1/drivers/interconnect/imx/ |
D | imx.c | 277 int num_nodes; in imx_icc_register() local 281 num_nodes = get_max_node_id(nodes, nodes_count) + 1; in imx_icc_register() 282 data = devm_kzalloc(dev, struct_size(data, nodes, num_nodes), in imx_icc_register() 286 data->num_nodes = num_nodes; in imx_icc_register()
|