Searched refs:core_id (Results 1 - 25 of 124) sorted by relevance

12345

/linux-master/arch/arm/mach-exynos/
H A Dplatsmp.c33 static inline void cpu_leave_lowpower(u32 core_id) argument
52 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); local
57 exynos_cpu_power_down(core_id);
61 if (exynos_pen_release == core_id) {
211 void exynos_core_restart(u32 core_id) argument
224 pr_err("cpu core %u restart failed\n", core_id);
229 val = pmu_raw_readl(EXYNOS_ARM_CORE_STATUS(core_id));
231 pmu_raw_writel(val, EXYNOS_ARM_CORE_STATUS(core_id));
233 pmu_raw_writel(EXYNOS_CORE_PO_RESET(core_id), EXYNOS_SWRESET);
267 int exynos_set_boot_addr(u32 core_id, unsigne argument
292 exynos_get_boot_addr(u32 core_id, unsigned long *boot_addr) argument
321 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); local
426 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); local
[all...]
H A Dexynos.c123 unsigned int tmp, core_id; local
125 for (core_id = 0; core_id < num_possible_cpus(); core_id++) {
126 tmp = pmu_raw_readl(EXYNOS_ARM_CORE_OPTION(core_id));
131 pmu_raw_writel(tmp, EXYNOS_ARM_CORE_OPTION(core_id));
H A Dcommon.h159 extern void exynos_core_restart(u32 core_id);
160 extern int exynos_set_boot_addr(u32 core_id, unsigned long boot_addr);
161 extern int exynos_get_boot_addr(u32 core_id, unsigned long *boot_addr);
/linux-master/arch/parisc/kernel/
H A Dtopology.c36 if (cpuid_topo->core_id != -1)
47 cpuid_topo->core_id = 0;
57 cpuid_topo->core_id = cpu_topology[cpu].core_id;
59 cpuid_topo->core_id++;
76 cpu_topology[cpuid].core_id,
/linux-master/sound/soc/intel/skylake/
H A Dskl-sst-dsp.c336 int skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id) argument
341 if (core_id >= skl->cores.count) {
342 dev_err(ctx->dev, "invalid core id: %d\n", core_id);
346 skl->cores.usage_count[core_id]++;
348 if (skl->cores.state[core_id] == SKL_DSP_RESET) {
349 ret = ctx->fw_ops.set_state_D0(ctx, core_id);
351 dev_err(ctx->dev, "unable to get core%d\n", core_id);
358 core_id, skl->cores.state[core_id],
359 skl->cores.usage_count[core_id]);
365 skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id) argument
[all...]
H A Dcnl-sst.c188 static int cnl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) argument
191 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id);
203 cnl->cores.state[core_id] = SKL_DSP_RUNNING;
210 core_id, ret);
214 if (core_id == SKL_DSP_CORE0_ID) {
238 core_id, ret);
242 cnl->cores.state[core_id] = SKL_DSP_RUNNING;
251 static int cnl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) argument
254 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id);
266 core_id);
[all...]
H A Dbxt-sst.c387 static int bxt_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) argument
392 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id);
410 skl->cores.state[core_id] = SKL_DSP_RUNNING;
415 if (core_id == SKL_DSP_CORE0_ID)
424 if (core_id == SKL_DSP_CORE0_ID) {
439 if (core_id == SKL_DSP_CORE0_ID) {
459 if (core_id != SKL_DSP_CORE0_ID) {
467 core_id, ret);
472 skl->cores.state[core_id] = SKL_DSP_RUNNING;
475 if (core_id
482 bxt_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) argument
[all...]
H A Dskl-sst.c160 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) argument
165 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id);
168 if (core_id == SKL_DSP_CORE0_ID) {
192 if (core_id != SKL_DSP_CORE0_ID) {
204 core_id);
209 skl->cores.state[core_id] = SKL_DSP_RUNNING;
214 static int skl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) argument
219 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id);
226 dev_err(ctx->dev, "set Dx core %d fail: %d\n", core_id, ret);
228 if (core_id
[all...]
H 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-master/sound/soc/intel/avs/
H A Ddsp.c155 static int avs_dsp_get_core(struct avs_dev *adev, u32 core_id) argument
160 mask = BIT_MASK(core_id);
164 if (core_id >= adev->hw_cfg.dsp_cores) {
169 adev->core_refs[core_id]++;
170 if (adev->core_refs[core_id] == 1) {
190 adev->core_refs[core_id]--;
192 dev_err(adev->dev, "get core %d failed: %d\n", core_id, ret);
196 static int avs_dsp_put_core(struct avs_dev *adev, u32 core_id) argument
201 mask = BIT_MASK(core_id);
205 if (core_id >
226 avs_dsp_init_module(struct avs_dev *adev, u16 module_id, u8 ppl_instance_id, u8 core_id, u8 domain, void *param, u32 param_size, u8 *instance_id) argument
275 avs_dsp_delete_module(struct avs_dev *adev, u16 module_id, u8 instance_id, u8 ppl_instance_id, u8 core_id) argument
[all...]
/linux-master/arch/sparc/include/asm/
H A Dcpudata_64.h29 unsigned short core_id; member in struct:__anon1137
H A Dtopology_64.h47 #define topology_core_id(cpu) (cpu_data(cpu).core_id)
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c89 int core_id; local
95 core_id = dev->venc_pdata->core_id;
96 if (core_id < 0 || core_id >= NUM_MAX_VCODEC_REG_BASE) {
97 mtk_v4l2_venc_err(ctx, "Invalid core id: %d, ctx id: %d", core_id, ctx->id);
101 mtk_v4l2_venc_dbg(1, ctx, "id: %d, core id: %d", ctx->id, core_id);
103 addr = dev->reg_base[core_id] + MTK_VENC_IRQ_ACK_OFFSET;
105 ctx->irq_status = readl(dev->reg_base[core_id] +
274 dev->reg_base[dev->venc_pdata->core_id]
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_vpu_if.h15 * @core_id : core id used to separate different hardware
33 int core_id; member in struct:vdec_vpu_inst
/linux-master/arch/powerpc/perf/
H A Dimc-pmu.c601 int nid, rc = 0, core_id = (cpu / threads_per_core); local
610 mem_info = &core_imc_pmu->mem_info[core_id];
611 mem_info->id = core_id;
621 core_imc_refc[core_id].id = core_id;
622 spin_lock_init(&core_imc_refc[core_id].lock);
638 int core_id = (cpu / threads_per_core); local
640 mem_info = &core_imc_pmu->mem_info[core_id];
675 unsigned int core_id; local
716 core_id
763 int rc, core_id; local
816 int core_id, rc; local
1125 int core_id; local
1167 int core_id; local
1209 int core_id = (cpu_id / threads_per_core); local
1360 int core_id = smp_processor_id() / threads_per_core; local
1410 int core_id = smp_processor_id() / threads_per_core; local
[all...]
/linux-master/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c181 int core_id = -1; local
318 core_id = topology_core_id(cpu);
319 if (core_id < 0 || core_id >= ne_cpu_pool.nr_parent_vm_cores) {
321 ne_misc_dev.name, core_id, cpu);
328 cpumask_set_cpu(cpu, ne_cpu_pool.avail_threads_per_core[core_id]);
501 int core_id = -1; local
506 core_id = i;
511 return core_id;
518 * @core_id
527 ne_set_enclave_threads_per_core(struct ne_enclave *ne_enclave, int core_id, u32 vcpu_id) argument
575 int core_id = -1; local
628 int core_id = -1; local
654 int core_id = -1; local
[all...]
/linux-master/arch/arm/kernel/
H A Dtopology.c205 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1);
210 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0);
220 cpuid_topo->core_id = 0;
228 cpu_topology[cpuid].core_id,
/linux-master/arch/s390/include/asm/
H A Dtopology.h15 unsigned short core_id; member in struct:cpu_topology_s390
32 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
/linux-master/include/linux/
H A Darch_topology.h75 int core_id; member in struct:cpu_topology
89 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
/linux-master/drivers/base/
H A Darch_topology.c535 int cluster_id, int core_id)
552 cpu_topology[cpu].core_id = core_id;
574 cpu_topology[cpu].core_id = core_id;
590 int core_id = 0; local
631 core_id++);
799 if (cpuid_topo->core_id != cpu_topo->core_id)
831 cpu_topo->core_id
534 parse_core(struct device_node *core, int package_id, int cluster_id, int core_id) argument
[all...]
/linux-master/arch/x86/kernel/cpu/
H A Dtopology_amd.c67 u32 core_id : 8, // Unique per-socket logical core unit ID member in struct:__anon9
103 tscan->c->topo.cu_id = leaf.core_id;
211 * Adjust the core_id relative to the node when there is more than
215 c->topo.core_id %= tscan->dom_ncpus[TOPO_CORE_DOMAIN] / tscan->amd_nodes_per_pkg;
/linux-master/drivers/accel/habanalabs/common/
H A Ddecoder.c55 dev_err(hdev->dev, "Decoder abnormal interrupt %#x, core %d\n", irq_status, dec->core_id);
110 dec->core_id = j;
/linux-master/drivers/media/platform/amphion/
H A Dvpu_windsor.h14 u32 regs_base, void __iomem *regs, u32 core_id);
/linux-master/drivers/media/platform/qcom/venus/
H A Dpm_helpers.c553 u32 core_id)
559 if (inst->clk_data.core_id == core_id &&
594 coreid = inst_pos->clk_data.core_id;
640 if (inst->clk_data.core_id != VIDC_CORE_ID_DEFAULT)
657 inst->clk_data.core_id = min_coreid;
661 inst->clk_data.core_id = min_coreid;
666 inst->clk_data.core_id = min_lp_coreid;
692 if (inst->clk_data.core_id & VIDC_CORE_ID_1) {
699 if (inst->clk_data.core_id
552 move_core_to_power_save_mode(struct venus_core *core, u32 core_id) argument
[all...]
/linux-master/drivers/input/joystick/iforce/
H A Diforce-ff.c341 int core_id = effect->id; local
342 struct iforce_core_effect* core_effect = iforce->core_effects + core_id;
343 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk);
344 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk);
411 int core_id = effect->id; local
412 struct iforce_core_effect* core_effect = iforce->core_effects + core_id;
413 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk);
414 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk);
467 int core_id = effect->id; local
468 struct iforce_core_effect* core_effect = iforce->core_effects + core_id;
[all...]

Completed in 194 milliseconds

12345