Home
last modified time | relevance | path

Searched refs:num_cores (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.6.21/arch/mips/cavium-octeon/executive/
Docteon-model.c66 int num_cores; in octeon_model_get_string_buffer() local
77 num_cores = cvmx_octeon_num_cores(); in octeon_model_get_string_buffer()
122 switch (num_cores) { in octeon_model_get_string_buffer()
199 if (num_cores >= 16) in octeon_model_get_string_buffer()
269 if ((num_cores == 4) && l2d_fus3 && !strncmp(suffix, "CP", 2)) in octeon_model_get_string_buffer()
341 if (num_cores == 6) /* Other core counts match generic */ in octeon_model_get_string_buffer()
354 if (num_cores == 6) /* Other core counts match generic */ in octeon_model_get_string_buffer()
388 if (num_cores == 6) /* Other core counts match generic */ in octeon_model_get_string_buffer()
423 if (num_cores == 6) /* Other core counts match generic */ in octeon_model_get_string_buffer()
/linux-6.6.21/sound/soc/intel/avs/
Dskl.c20 u32 size, num_cores = adev->hw_cfg.dsp_cores; in skl_enable_logs() local
23 if (fls_long(resource_mask) > num_cores) in skl_enable_logs()
25 size = struct_size(info, logs_core, num_cores); in skl_enable_logs()
32 for_each_set_bit(i, &resource_mask, num_cores) { in skl_enable_logs()
37 for_each_set_bit(i, &resource_mask, num_cores) in skl_enable_logs()
Dapl.c21 u32 size, num_cores = adev->hw_cfg.dsp_cores; in apl_enable_logs() local
24 if (fls_long(resource_mask) > num_cores) in apl_enable_logs()
26 size = struct_size(info, logs_core, num_cores); in apl_enable_logs()
35 for_each_set_bit(i, &resource_mask, num_cores) { in apl_enable_logs()
40 for_each_set_bit(i, &resource_mask, num_cores) in apl_enable_logs()
Ddebugfs.c256 u32 num_cores; in strace_release() local
259 num_cores = adev->hw_cfg.dsp_cores; in strace_release()
264 for_each_set_bit(i, &resource_mask, num_cores) { in strace_release()
/linux-6.6.21/drivers/net/can/ctucanfd/
Dctucanfd_pci.c95 unsigned int num_cores = 1; in ctucan_pci_probe() local
144 num_cores = 2; in ctucan_pci_probe()
149 num_cores = ctucan_id & 0xf; in ctucan_pci_probe()
177 while (core_i < num_cores) { in ctucan_pci_probe()
/linux-6.6.21/sound/soc/sof/
Dipc4-mtrace.c412 for (i = 0; i < sdev->num_cores; i++) { in mtrace_debugfs_create()
491 for (i = 0; i < sdev->num_cores; i++) { in ipc4_mtrace_disable()
522 if (core >= sdev->num_cores) { in sof_mtrace_find_core_slots()
565 priv = devm_kzalloc(sdev->dev, struct_size(priv, cores, sdev->num_cores), in ipc4_mtrace_init()
578 for (i = 0; i < sdev->num_cores; i++) { in ipc4_mtrace_init()
616 for (i = 0; i < sdev->num_cores; i++) in sof_ipc4_mtrace_update_pos_all_cores()
631 if (core >= sdev->num_cores) in sof_ipc4_mtrace_update_pos()
Dops.h92 if (core > sdev->num_cores - 1) { in snd_sof_dsp_core_get()
94 sdev->num_cores); in snd_sof_dsp_core_get()
126 if (core > sdev->num_cores - 1) { in snd_sof_dsp_core_put()
128 sdev->num_cores); in snd_sof_dsp_core_put()
Dsof-audio.c97 for_each_set_bit(i, &spipe->core_mask, sdev->num_cores) { in sof_widget_free_unlocked()
177 for_each_set_bit(i, &spipe->core_mask, sdev->num_cores) { in sof_widget_setup_unlocked()
231 for_each_set_bit(j, &spipe->core_mask, sdev->num_cores) { in sof_widget_setup_unlocked()
/linux-6.6.21/include/soc/arc/
Dmcip.h64 idu:1, pad2:1, num_cores:6, member
72 num_cores:6, pad2:1, idu:1,
/linux-6.6.21/tools/perf/tests/
Dexpr.c73 double val, num_cpus_online, num_cpus, num_cores, num_dies, num_packages; in test__expr() local
234 TEST_ASSERT_VAL("#num_cores", expr__parse(&num_cores, ctx, "#num_cores") == 0); in test__expr()
235 TEST_ASSERT_VAL("#num_cpus >= #num_cores", num_cpus >= num_cores); in test__expr()
237 TEST_ASSERT_VAL("#num_cores >= #num_dies", num_cores >= num_dies); in test__expr()
/linux-6.6.21/drivers/crypto/cavium/cpt/
Dcptpf_main.c171 if (mcode->num_cores > cpt->max_ae_cores) { in do_cpt_init()
184 mcode->core_mask = GENMASK(mcode->num_cores, 0); in do_cpt_init()
201 if (mcode->num_cores > cpt->max_se_cores) { in do_cpt_init()
213 mcode->core_mask = GENMASK(mcode->num_cores, 0); in do_cpt_init()
276 mcode->num_cores = is_ae ? 6 : 10; in cpt_ucode_load_fw()
299 dev_dbg(dev, "mcode->num_cores = %u\n", mcode->num_cores); in cpt_ucode_load_fw()
Dcptpf.h26 u8 num_cores; member
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-messages.c173 .num_cores = 2,
181 .num_cores = 2,
189 .num_cores = 2,
197 .num_cores = 2,
205 .num_cores = 4,
213 .num_cores = 4,
221 .num_cores = 4,
229 .num_cores = 4,
286 cores->count = ops->num_cores; in skl_init_dsp()
Dskl.h155 unsigned int num_cores; member
/linux-6.6.21/arch/arc/plat-axs10x/
Daxs10x.c312 unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F; in axs103_early_init() local
313 if (num_cores > 2) { in axs103_early_init()
/linux-6.6.21/arch/arc/include/asm/
Darcregs.h227 unsigned int pad:7, c:1, num_entries:8, num_cores:8, ver:8; member
229 unsigned int ver:8, num_cores:8, num_entries:8, c:1, pad:7;
/linux-6.6.21/arch/mips/cavium-octeon/
Dsmp.c149 unsigned int num_cores = cvmx_octeon_num_cores(); in octeon_smp_setup() local
180 id < num_cores && id < NR_CPUS; id++) { in octeon_smp_setup()
/linux-6.6.21/drivers/clk/rockchip/
Dclk-cpu.c198 for (i = 0; i < reg_data->num_cores; i++) { in rockchip_cpuclk_pre_rate_change()
264 for (i = 0; i < reg_data->num_cores; i++) { in rockchip_cpuclk_post_rate_change()
Dclk-rk3188.c151 .num_cores = 1,
191 .num_cores = 1,
/linux-6.6.21/drivers/remoteproc/
Dti_k3_r5_remoteproc.c1697 int num_cores; in k3_r5_probe() local
1742 num_cores = of_get_available_child_count(np); in k3_r5_probe()
1743 if (num_cores != 2 && !data->is_single_core) { in k3_r5_probe()
1745 num_cores); in k3_r5_probe()
1749 if (num_cores != 1 && data->is_single_core) { in k3_r5_probe()
1751 num_cores); in k3_r5_probe()
/linux-6.6.21/sound/soc/sof/intel/
Dpci-tng.c67 sdev->num_cores = chip->cores_num; in tangier_pci_probe()
Dbyt.c127 sdev->num_cores = chip->cores_num; in byt_acpi_probe()
/linux-6.6.21/drivers/media/platform/allegro-dvt/
Dallegro-mail.h42 s32 num_cores; member
/linux-6.6.21/arch/arc/kernel/
Dmcip.c163 mp.ver, mp.num_cores, in mcip_probe_n_setup()
/linux-6.6.21/tools/power/x86/turbostat/
Dturbostat.c565 int num_cores; member
1846 average.cores.c3 /= topo.num_cores; in compute_average()
1847 average.cores.c6 /= topo.num_cores; in compute_average()
1848 average.cores.c7 /= topo.num_cores; in compute_average()
1849 average.cores.mc6_us /= topo.num_cores; in compute_average()
1889 average.cores.counter[i] /= topo.num_cores; in compute_average()
5951 topo.num_cores++; in topology_probe()
5999 int num_cores = topo.cores_per_node * topo.nodes_per_pkg * topo.num_packages; in allocate_counters() local
6000 int num_threads = topo.threads_per_core * num_cores; in allocate_counters()
6009 *c = calloc(num_cores, sizeof(struct core_data)); in allocate_counters()
[all …]

12