Home
last modified time | relevance | path

Searched refs:core_id (Results 1 – 25 of 119) sorted by relevance

12345

/linux-6.3-rc2/arch/arm/mach-exynos/
A Dplatsmp.c52 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in platform_do_lowpower() local
57 exynos_cpu_power_down(core_id); in platform_do_lowpower()
61 if (exynos_pen_release == core_id) { in platform_do_lowpower()
211 void exynos_core_restart(u32 core_id) in exynos_core_restart() argument
338 exynos_write_pen_release(core_id); in exynos_boot_secondary()
340 if (!exynos_cpu_power_state(core_id)) { in exynos_boot_secondary()
341 exynos_cpu_power_up(core_id); in exynos_boot_secondary()
345 while (exynos_cpu_power_state(core_id) in exynos_boot_secondary()
360 exynos_core_restart(core_id); in exynos_boot_secondary()
380 call_firmware_op(cpu_boot, core_id); in exynos_boot_secondary()
[all …]
A Dexynos.c121 unsigned int tmp, core_id; in exynos_set_delayed_reset_assertion() local
123 for (core_id = 0; core_id < num_possible_cpus(); core_id++) { in exynos_set_delayed_reset_assertion()
124 tmp = pmu_raw_readl(EXYNOS_ARM_CORE_OPTION(core_id)); in exynos_set_delayed_reset_assertion()
129 pmu_raw_writel(tmp, EXYNOS_ARM_CORE_OPTION(core_id)); in exynos_set_delayed_reset_assertion()
A Dcommon.h151 extern void exynos_core_restart(u32 core_id);
152 extern int exynos_set_boot_addr(u32 core_id, unsigned long boot_addr);
153 extern int exynos_get_boot_addr(u32 core_id, unsigned long *boot_addr);
/linux-6.3-rc2/sound/soc/intel/avs/
A Ddsp.c160 mask = BIT_MASK(core_id); in avs_dsp_get_core()
169 adev->core_refs[core_id]++; in avs_dsp_get_core()
170 if (adev->core_refs[core_id] == 1) { in avs_dsp_get_core()
190 adev->core_refs[core_id]--; in avs_dsp_get_core()
201 mask = BIT_MASK(core_id); in avs_dsp_put_core()
210 adev->core_refs[core_id]--; in avs_dsp_put_core()
211 if (!adev->core_refs[core_id]) { in avs_dsp_put_core()
242 ret = avs_dsp_get_core(adev, core_id); in avs_dsp_init_module()
269 avs_dsp_put_core(adev, core_id); in avs_dsp_init_module()
276 u8 ppl_instance_id, u8 core_id) in avs_dsp_delete_module() argument
[all …]
A Dpath.c262 t->core_id, t->domain, cfg, cfg_size, in avs_copier_create()
345 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_updown_mix_create()
362 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_src_create()
381 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_asrc_create()
400 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_aec_create()
418 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_mux_create()
435 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_wov_create()
452 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_micsel_create()
468 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_modbase_create()
506 t->core_id, t->domain, cfg, cfg_size, in avs_modext_create()
[all …]
/linux-6.3-rc2/sound/soc/intel/skylake/
A Dskl-sst-dsp.c341 if (core_id >= skl->cores.count) { in skl_dsp_get_core()
346 skl->cores.usage_count[core_id]++; in skl_dsp_get_core()
349 ret = ctx->fw_ops.set_state_D0(ctx, core_id); in skl_dsp_get_core()
358 core_id, skl->cores.state[core_id], in skl_dsp_get_core()
359 skl->cores.usage_count[core_id]); in skl_dsp_get_core()
370 if (core_id >= skl->cores.count) { in skl_dsp_put_core()
377 ret = ctx->fw_ops.set_state_D3(ctx, core_id); in skl_dsp_put_core()
380 core_id, ret); in skl_dsp_put_core()
381 skl->cores.usage_count[core_id]++; in skl_dsp_put_core()
386 core_id, skl->cores.state[core_id], in skl_dsp_put_core()
[all …]
A Dcnl-sst.c191 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in cnl_set_dsp_D0()
203 cnl->cores.state[core_id] = SKL_DSP_RUNNING; in cnl_set_dsp_D0()
210 core_id, ret); in cnl_set_dsp_D0()
214 if (core_id == SKL_DSP_CORE0_ID) { in cnl_set_dsp_D0()
238 core_id, ret); in cnl_set_dsp_D0()
242 cnl->cores.state[core_id] = SKL_DSP_RUNNING; in cnl_set_dsp_D0()
254 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in cnl_set_dsp_D3()
266 core_id); in cnl_set_dsp_D3()
271 if (core_id == SKL_DSP_CORE0_ID) { in cnl_set_dsp_D3()
279 core_id, ret); in cnl_set_dsp_D3()
[all …]
A Dbxt-sst.c410 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()
415 if (core_id == SKL_DSP_CORE0_ID) in bxt_set_dsp_D0()
424 if (core_id == SKL_DSP_CORE0_ID) { in bxt_set_dsp_D0()
439 if (core_id == SKL_DSP_CORE0_ID) { in bxt_set_dsp_D0()
459 if (core_id != SKL_DSP_CORE0_ID) { in bxt_set_dsp_D0()
467 core_id, ret); in bxt_set_dsp_D0()
472 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()
475 if (core_id == SKL_DSP_CORE0_ID) in bxt_set_dsp_D0()
500 core_id); in bxt_set_dsp_D3()
508 if (core_id == SKL_DSP_CORE0_ID) { in bxt_set_dsp_D3()
[all …]
A Dskl-sst.c160 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D0() argument
165 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in skl_set_dsp_D0()
168 if (core_id == SKL_DSP_CORE0_ID) { in skl_set_dsp_D0()
192 if (core_id != SKL_DSP_CORE0_ID) { in skl_set_dsp_D0()
204 core_id); in skl_set_dsp_D0()
209 skl->cores.state[core_id] = SKL_DSP_RUNNING; in skl_set_dsp_D0()
214 static int skl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D3() argument
219 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in skl_set_dsp_D3()
226 dev_err(ctx->dev, "set Dx core %d fail: %d\n", core_id, ret); in skl_set_dsp_D3()
228 if (core_id == SKL_DSP_CORE0_ID) { in skl_set_dsp_D3()
[all …]
A Dskl-sst-dsp.h145 int (*set_state_D0)(struct sst_dsp *ctx, unsigned int core_id);
146 int (*set_state_D3)(struct sst_dsp *ctx, unsigned int core_id);
221 int skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id);
222 int skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id);
/linux-6.3-rc2/arch/parisc/kernel/
A Dtopology.c36 if (cpuid_topo->core_id != -1) in store_cpu_topology()
47 cpuid_topo->core_id = 0; in store_cpu_topology()
57 cpuid_topo->core_id = cpu_topology[cpu].core_id; in store_cpu_topology()
59 cpuid_topo->core_id++; in store_cpu_topology()
76 cpu_topology[cpuid].core_id, in store_cpu_topology()
/linux-6.3-rc2/arch/powerpc/perf/
A Dimc-pmu.c605 mem_info->id = core_id; in core_imc_mem_init()
615 core_imc_refc[core_id].id = core_id; in core_imc_mem_init()
669 unsigned int core_id; in ppc_core_imc_cpu_offline() local
757 int rc, core_id; in core_imc_counters_release() local
810 int core_id, rc; in core_imc_event_init() local
858 core_id); in core_imc_event_init()
1118 int core_id; in thread_imc_event_add() local
1148 for core %d\n", core_id); in thread_imc_event_add()
1160 int core_id; in thread_imc_event_del() local
1177 for core %d\n", core_id); in thread_imc_event_del()
[all …]
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/
A Dmtk_vcodec_enc_drv.c98 addr = dev->reg_base[dev->venc_pdata->core_id] + in mtk_vcodec_enc_irq_handler()
268 dev->reg_base[dev->venc_pdata->core_id] = in mtk_vcodec_probe()
270 if (IS_ERR(dev->reg_base[dev->venc_pdata->core_id])) { in mtk_vcodec_probe()
288 dev->enc_irq, ret, dev->venc_pdata->core_id); in mtk_vcodec_probe()
357 dev->venc_pdata->core_id, vfd_enc->num); in mtk_vcodec_probe()
383 .core_id = VENC_SYS,
393 .core_id = VENC_LT_SYS,
404 .core_id = VENC_SYS,
415 .core_id = VENC_SYS,
427 .core_id = VENC_SYS,
[all …]
/linux-6.3-rc2/drivers/virt/nitro_enclaves/
A Dne_misc_dev.c181 int core_id = -1; in ne_setup_cpu_pool() local
319 if (core_id < 0 || core_id >= ne_cpu_pool.nr_parent_vm_cores) { in ne_setup_cpu_pool()
501 int core_id = -1; in ne_get_unused_core_from_cpu_pool() local
506 core_id = i; in ne_get_unused_core_from_cpu_pool()
511 return core_id; in ne_get_unused_core_from_cpu_pool()
539 if (core_id < 0) { in ne_set_enclave_threads_per_core()
575 int core_id = -1; in ne_get_cpu_from_cpu_pool() local
628 int core_id = -1; in ne_get_vcpu_core_from_cpu_pool() local
633 core_id = i; in ne_get_vcpu_core_from_cpu_pool()
638 return core_id; in ne_get_vcpu_core_from_cpu_pool()
[all …]
/linux-6.3-rc2/arch/arm/kernel/
A Dtopology.c205 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
210 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
220 cpuid_topo->core_id = 0; in store_cpu_topology()
228 cpu_topology[cpuid].core_id, in store_cpu_topology()
/linux-6.3-rc2/drivers/base/
A Darch_topology.c500 int cluster_id, int core_id) in parse_core() argument
517 cpu_topology[cpu].core_id = core_id; in parse_core()
539 cpu_topology[cpu].core_id = core_id; in parse_core()
555 int core_id = 0; in parse_cluster() local
596 core_id++); in parse_cluster()
764 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
796 cpu_topo->core_id = -1; in reset_cpu_topology()
861 cpuid_topo->core_id = cpuid; in store_cpu_topology()
865 cpuid, cpuid_topo->package_id, cpuid_topo->core_id, in store_cpu_topology()
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-devices-hisi_ptt1 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune
11 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl
21 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np
31 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p
41 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level
52 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level
/linux-6.3-rc2/drivers/accel/habanalabs/common/
A Ddecoder.c46 static void dec_error_intr_work(struct hl_device *hdev, u32 base_addr, u32 core_id) in dec_error_intr_work() argument
53 dev_err(hdev->dev, "Decoder abnormal interrupt %#x, core %d\n", irq_status, core_id); in dec_error_intr_work()
75 dec_error_intr_work(hdev, dec->base_addr, dec->core_id); in dec_completion_abnrm()
102 dec->core_id = j; in hl_dec_init()
/linux-6.3-rc2/drivers/input/joystick/iforce/
A Diforce-ff.c341 int core_id = effect->id; in iforce_upload_periodic() local
342 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_periodic()
343 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk); in iforce_upload_periodic()
344 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk); in iforce_upload_periodic()
411 int core_id = effect->id; in iforce_upload_constant() local
412 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_constant()
413 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk); in iforce_upload_constant()
414 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk); in iforce_upload_constant()
467 int core_id = effect->id; in iforce_upload_condition() local
468 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_condition()
/linux-6.3-rc2/drivers/media/platform/qcom/venus/
A Dpm_helpers.c553 u32 core_id) in move_core_to_power_save_mode() argument
559 if (inst->clk_data.core_id == core_id && in move_core_to_power_save_mode()
594 coreid = inst_pos->clk_data.core_id; in min_loaded_core()
657 inst->clk_data.core_id = min_coreid; in decide_core()
661 inst->clk_data.core_id = min_coreid; in decide_core()
666 inst->clk_data.core_id = min_lp_coreid; in decide_core()
692 if (inst->clk_data.core_id & VIDC_CORE_ID_1) { in acquire_core()
699 if (inst->clk_data.core_id & VIDC_CORE_ID_2) { in acquire_core()
718 if (inst->clk_data.core_id & VIDC_CORE_ID_1) { in release_core()
725 if (inst->clk_data.core_id & VIDC_CORE_ID_2) { in release_core()
[all …]
/linux-6.3-rc2/sound/soc/intel/catpt/
A Ddsp.c451 u8 core_id; member
482 hdr->core_id = cdev->spec->core_id; in catpt_coredump()
503 hdr->core_id = cdev->spec->core_id; in catpt_coredump()
513 hdr->core_id = cdev->spec->core_id; in catpt_coredump()
523 hdr->core_id = cdev->spec->core_id; in catpt_coredump()
/linux-6.3-rc2/drivers/gpu/drm/arm/display/komeda/
A Dkomeda_dev.c65 return sysfs_emit(buf, "0x%08x\n", mdev->chip.core_id); in core_id_show()
67 static DEVICE_ATTR_RO(core_id);
228 MALIDP_CORE_ID_PRODUCT_ID(mdev->chip.core_id), in komeda_dev_create()
229 MALIDP_CORE_ID_MAJOR(mdev->chip.core_id), in komeda_dev_create()
230 MALIDP_CORE_ID_MINOR(mdev->chip.core_id)); in komeda_dev_create()
/linux-6.3-rc2/tools/power/x86/intel-speed-select/
A Disst-config.c61 unsigned short core_id; member
72 short core_id; member
242 *core_id = cpu_top.core_id; in get_stored_topology_info()
278 if (cpu_top.core_id < 0) in store_cpu_topology()
279 cpu_top.core_id = -1; in store_cpu_topology()
316 int core_id, pkg_id, die_id; in get_physical_package_id() local
334 return cpu_map[cpu].core_id; in get_physical_core_id()
340 int core_id, pkg_id, die_id; in get_physical_core_id() local
344 return core_id; in get_physical_core_id()
364 int core_id, pkg_id, die_id; in get_physical_die_id() local
[all …]
/linux-6.3-rc2/arch/s390/include/asm/
A Dtopology.h15 unsigned short core_id; member
32 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
/linux-6.3-rc2/include/linux/
A Darch_topology.h68 int core_id; member
82 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)

Completed in 69 milliseconds

12345