Home
last modified time | relevance | path

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

12

/Linux-v6.1/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-v6.1/sound/soc/intel/avs/
Dskl.c19 u32 size, num_cores = adev->hw_cfg.dsp_cores; in skl_enable_logs() local
22 if (fls_long(resource_mask) > num_cores) in skl_enable_logs()
24 size = struct_size(info, logs_core, num_cores); in skl_enable_logs()
31 for_each_set_bit(i, &resource_mask, GENMASK(num_cores, 0)) { in skl_enable_logs()
36 for_each_set_bit(i, &resource_mask, GENMASK(num_cores, 0)) in skl_enable_logs()
Dapl.c20 u32 size, num_cores = adev->hw_cfg.dsp_cores; in apl_enable_logs() local
23 if (fls_long(resource_mask) > num_cores) in apl_enable_logs()
25 size = struct_size(info, logs_core, num_cores); in apl_enable_logs()
34 for_each_set_bit(i, &resource_mask, num_cores) { in apl_enable_logs()
39 for_each_set_bit(i, &resource_mask, num_cores) in apl_enable_logs()
/Linux-v6.1/tools/perf/tests/
Dexpr.c72 double val, num_cpus, num_cores, num_dies, num_packages; in test__expr() local
199 TEST_ASSERT_VAL("#num_cores", expr__parse(&num_cores, ctx, "#num_cores") == 0); in test__expr()
200 TEST_ASSERT_VAL("#num_cpus >= #num_cores", num_cpus >= num_cores); in test__expr()
202 TEST_ASSERT_VAL("#num_cores >= #num_dies", num_cores >= num_dies); in test__expr()
/Linux-v6.1/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-v6.1/include/soc/arc/
Dmcip.h64 idu:1, pad2:1, num_cores:6, member
72 num_cores:6, pad2:1, idu:1,
/Linux-v6.1/sound/soc/sof/
Dipc4-mtrace.c411 for (i = 0; i < sdev->num_cores; i++) { in mtrace_debugfs_create()
490 for (i = 0; i < sdev->num_cores; i++) { in ipc4_mtrace_disable()
521 if (core >= sdev->num_cores) { in sof_mtrace_find_core_slots()
564 priv = devm_kzalloc(sdev->dev, struct_size(priv, cores, sdev->num_cores), in ipc4_mtrace_init()
577 for (i = 0; i < sdev->num_cores; i++) { in ipc4_mtrace_init()
620 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()
/Linux-v6.1/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-v6.1/sound/soc/intel/skylake/
Dskl-messages.c175 .num_cores = 2,
183 .num_cores = 2,
191 .num_cores = 2,
199 .num_cores = 2,
207 .num_cores = 4,
215 .num_cores = 4,
223 .num_cores = 4,
231 .num_cores = 4,
288 cores->count = ops->num_cores; in skl_init_dsp()
Dskl.h155 unsigned int num_cores; member
/Linux-v6.1/arch/arc/plat-axs10x/
Daxs10x.c313 unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F; in axs103_early_init() local
314 if (num_cores > 2) { in axs103_early_init()
/Linux-v6.1/drivers/clk/rockchip/
Dclk-cpu.c162 for (i = 0; i < reg_data->num_cores; i++) { in rockchip_cpuclk_pre_rate_change()
211 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-v6.1/arch/mips/cavium-octeon/
Dsmp.c148 unsigned int num_cores = cvmx_octeon_num_cores(); in octeon_smp_setup() local
179 id < num_cores && id < NR_CPUS; id++) { in octeon_smp_setup()
/Linux-v6.1/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-v6.1/drivers/remoteproc/
Dti_k3_r5_remoteproc.c1690 int num_cores; in k3_r5_probe() local
1719 num_cores = of_get_available_child_count(np); in k3_r5_probe()
1720 if (num_cores != 2) { in k3_r5_probe()
1722 num_cores); in k3_r5_probe()
/Linux-v6.1/drivers/media/platform/allegro-dvt/
Dallegro-mail.h42 s32 num_cores; member
Dallegro-core.c141 unsigned int num_cores; member
957 unsigned int num_cores; in allegro_encoder_buffer_init() local
974 err = regmap_read(settings, VCU_NUM_CORE, &num_cores); in allegro_encoder_buffer_init()
986 buffer->num_cores = num_cores; in allegro_encoder_buffer_init()
1012 msg.num_cores = dev->encoder_buffer.num_cores; in allegro_mcu_send_init()
1017 msg.num_cores = -1; in allegro_mcu_send_init()
/Linux-v6.1/arch/arc/kernel/
Dmcip.c163 mp.ver, mp.num_cores, in mcip_probe_n_setup()
/Linux-v6.1/arch/arc/mm/
Dcache.c90 unsigned int pad:7, c:1, num_entries:8, num_cores:8, ver:8; in read_decode_cache_bcr_arcv2() member
92 unsigned int ver:8, num_cores:8, num_entries:8, c:1, pad:7; in read_decode_cache_bcr_arcv2()
/Linux-v6.1/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()
5950 topo.num_cores++; in topology_probe()
5998 int num_cores = topo.cores_per_node * topo.nodes_per_pkg * topo.num_packages; in allocate_counters() local
5999 int num_threads = topo.threads_per_core * num_cores; in allocate_counters()
6008 *c = calloc(num_cores, sizeof(struct core_data)); in allocate_counters()
[all …]
/Linux-v6.1/sound/soc/sof/imx/
Dimx8ulp.c182 sdev->num_cores = 1; in imx8ulp_probe()

12