Home
last modified time | relevance | path

Searched refs:cores (Results 1 - 25 of 65) sorted by relevance

123

/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dskl-sst-dsp.c31 * successful first boot. Hence core 0 will be running and other cores
39 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING; in skl_dsp_init_core_state()
40 skl->cores.usage_count[SKL_DSP_CORE0_ID] = 1; in skl_dsp_init_core_state()
42 for (i = SKL_DSP_CORE0_ID + 1; i < skl->cores.count; i++) { in skl_dsp_init_core_state()
43 skl->cores.state[i] = SKL_DSP_RESET; in skl_dsp_init_core_state()
44 skl->cores.usage_count[i] = 0; in skl_dsp_init_core_state()
48 /* Get the mask for all enabled cores */
55 core_mask = SKL_DSP_CORES_MASK(skl->cores.count); in skl_dsp_get_enabled_cores()
63 /* And cores having CRST bit cleared */ in skl_dsp_get_enabled_cores()
67 /* And cores havin in skl_dsp_get_enabled_cores()
[all...]
H A Dbxt-sst.c271 if (skl->cores.state[SKL_DSP_CORE0_ID] != SKL_DSP_RUNNING) in bxt_d0i3_target_state()
326 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING_D0I3; in bxt_set_dsp_D0i3()
358 if (skl->cores.state[SKL_DSP_CORE0_ID] != SKL_DSP_RUNNING_D0I3) in bxt_set_dsp_D0i0()
381 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING; in bxt_set_dsp_D0i0()
410 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()
472 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()
518 skl->cores.state[core_id] = SKL_DSP_RESET; in bxt_set_dsp_D3()
H A Dskl-messages.c258 struct skl_dsp_cores *cores; in skl_init_dsp() local
287 cores = &skl->cores; in skl_init_dsp()
288 cores->count = ops->num_cores; in skl_init_dsp()
290 cores->state = kcalloc(cores->count, sizeof(*cores->state), GFP_KERNEL); in skl_init_dsp()
291 if (!cores->state) { in skl_init_dsp()
296 cores->usage_count = kcalloc(cores in skl_init_dsp()
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dskl-sst-dsp.c31 * successful first boot. Hence core 0 will be running and other cores
39 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING; in skl_dsp_init_core_state()
40 skl->cores.usage_count[SKL_DSP_CORE0_ID] = 1; in skl_dsp_init_core_state()
42 for (i = SKL_DSP_CORE0_ID + 1; i < skl->cores.count; i++) { in skl_dsp_init_core_state()
43 skl->cores.state[i] = SKL_DSP_RESET; in skl_dsp_init_core_state()
44 skl->cores.usage_count[i] = 0; in skl_dsp_init_core_state()
48 /* Get the mask for all enabled cores */
55 core_mask = SKL_DSP_CORES_MASK(skl->cores.count); in skl_dsp_get_enabled_cores()
63 /* And cores having CRST bit cleared */ in skl_dsp_get_enabled_cores()
67 /* And cores havin in skl_dsp_get_enabled_cores()
[all...]
H A Dbxt-sst.c271 if (skl->cores.state[SKL_DSP_CORE0_ID] != SKL_DSP_RUNNING) in bxt_d0i3_target_state()
326 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING_D0I3; in bxt_set_dsp_D0i3()
358 if (skl->cores.state[SKL_DSP_CORE0_ID] != SKL_DSP_RUNNING_D0I3) in bxt_set_dsp_D0i0()
381 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING; in bxt_set_dsp_D0i0()
410 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()
472 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()
518 skl->cores.state[core_id] = SKL_DSP_RESET; in bxt_set_dsp_D3()
H A Dskl-messages.c256 struct skl_dsp_cores *cores; in skl_init_dsp() local
285 cores = &skl->cores; in skl_init_dsp()
286 cores->count = ops->num_cores; in skl_init_dsp()
288 cores->state = kcalloc(cores->count, sizeof(*cores->state), GFP_KERNEL); in skl_init_dsp()
289 if (!cores->state) { in skl_init_dsp()
294 cores->usage_count = kcalloc(cores in skl_init_dsp()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dcore.c44 } cores[] = { in nv50_core_new() local
64 cid = nvif_mclass(&disp->disp->object, cores); in nv50_core_new()
70 return cores[cid].new(drm, cores[cid].oclass, pcore); in nv50_core_new()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dcore.c44 } cores[] = { in nv50_core_new() local
65 cid = nvif_mclass(&disp->disp->object, cores); in nv50_core_new()
71 return cores[cid].new(drm, cores[cid].oclass, pcore); in nv50_core_new()
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dti_k3_r5_remoteproc.c74 * @cores: list of R5 cores within the cluster
79 struct list_head cores; member
254 /* assert local reset on all applicable cores */ in k3_r5_lockstep_reset()
255 list_for_each_entry(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
265 /* disable PSC modules on all applicable cores */ in k3_r5_lockstep_reset()
266 list_for_each_entry(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
279 list_for_each_entry_continue_reverse(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
284 core = list_last_entry(&cluster->cores, struct k3_r5_core, elem); in k3_r5_lockstep_reset()
286 list_for_each_entry_from_reverse(core, &cluster->cores, ele in k3_r5_lockstep_reset()
[all...]
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dti_k3_r5_remoteproc.c105 * @cores: list of R5 cores within the cluster
111 struct list_head cores; member
287 /* assert local reset on all applicable cores */ in k3_r5_lockstep_reset()
288 list_for_each_entry(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
298 /* disable PSC modules on all applicable cores */ in k3_r5_lockstep_reset()
299 list_for_each_entry(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
312 list_for_each_entry_continue_reverse(core, &cluster->cores, elem) { in k3_r5_lockstep_reset()
317 core = list_last_entry(&cluster->cores, struct k3_r5_core, elem); in k3_r5_lockstep_reset()
319 list_for_each_entry_from_reverse(core, &cluster->cores, ele in k3_r5_lockstep_reset()
[all...]
/kernel/linux/linux-5.10/arch/x86/mm/
H A Damdtopology.c63 unsigned int bits, cores, apicid_base; in amd_numa_init() local
165 cores = 1 << bits; in amd_numa_init()
179 for (j = apicid_base; j < cores + apicid_base; j++) in amd_numa_init()
/kernel/linux/linux-6.6/arch/x86/mm/
H A Damdtopology.c63 unsigned int bits, cores, apicid_base; in amd_numa_init() local
165 cores = 1 << bits; in amd_numa_init()
179 for (j = apicid_base; j < cores + apicid_base; j++) in amd_numa_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/
H A Dv3d_irq.c216 for (core = 0; core < v3d->cores; core++) in v3d_irq_init()
261 for (core = 0; core < v3d->cores; core++) { in v3d_irq_enable()
276 for (core = 0; core < v3d->cores; core++) in v3d_irq_disable()
281 for (core = 0; core < v3d->cores; core++) in v3d_irq_disable()
H A Dv3d_debugfs.c102 for (core = 0; core < v3d->cores; core++) { in v3d_v3d_debugfs_regs()
132 u32 ident0, ident1, ident2, ident3, cores; in v3d_v3d_debugfs_ident() local
143 cores = V3D_GET_FIELD(ident1, V3D_HUB_IDENT1_NCORES); in v3d_v3d_debugfs_ident()
162 for (core = 0; core < cores; core++) { in v3d_v3d_debugfs_ident()
/kernel/linux/linux-6.6/drivers/gpu/drm/v3d/
H A Dv3d_irq.c213 for (core = 0; core < v3d->cores; core++) in v3d_irq_init()
258 for (core = 0; core < v3d->cores; core++) { in v3d_irq_enable()
273 for (core = 0; core < v3d->cores; core++) in v3d_irq_disable()
278 for (core = 0; core < v3d->cores; core++) in v3d_irq_disable()
H A Dv3d_debugfs.c102 for (core = 0; core < v3d->cores; core++) { in v3d_v3d_debugfs_regs()
132 u32 ident0, ident1, ident2, ident3, cores; in v3d_v3d_debugfs_ident() local
139 cores = V3D_GET_FIELD(ident1, V3D_HUB_IDENT1_NCORES); in v3d_v3d_debugfs_ident()
158 for (core = 0; core < cores; core++) { in v3d_v3d_debugfs_ident()
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dipc4-mtrace.c30 * The first page contains descriptors for the remaining 15 cores
124 struct sof_mtrace_core_data cores[]; member
414 debugfs_create_file(dfs_name, 0444, dfs_root, &priv->cores[i], in mtrace_debugfs_create()
492 struct sof_mtrace_core_data *core_data = &priv->cores[i]; in ipc4_mtrace_disable()
503 * and map them to cores.
528 core_data = &priv->cores[core]; in sof_mtrace_find_core_slots()
565 priv = devm_kzalloc(sdev->dev, struct_size(priv, cores, sdev->num_cores), in ipc4_mtrace_init()
579 struct sof_mtrace_core_data *core_data = &priv->cores[i]; in ipc4_mtrace_init()
634 core_data = &priv->cores[core]; in sof_ipc4_mtrace_update_pos()
660 * cores an in ipc4_mtrace_fw_crashed()
[all...]
/kernel/linux/linux-5.10/drivers/bcma/
H A Dmain.c91 list_for_each_entry(core, &bus->cores, list) { in bcma_find_core_unit()
271 INIT_LIST_HEAD(&bus->cores); in bcma_init_bus()
295 list_for_each_entry(core, &bus->cores, list) { in bcma_register_devices()
296 /* We support that cores ourself */ in bcma_register_devices()
309 /* Early cores were already registered */ in bcma_register_devices()
363 list_for_each_entry_safe(core, tmp, &bus->cores, list) { in bcma_unregister_cores()
372 /* Now noone uses internally-handled cores, we can free them */ in bcma_unregister_cores()
373 list_for_each_entry_safe(core, tmp, &bus->cores, list) { in bcma_unregister_cores()
384 /* Scan for devices (cores) */ in bcma_bus_register()
409 list_for_each_entry(core, &bus->cores, lis in bcma_bus_register()
[all...]
H A Ddriver_mips.c135 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_set_irq()
185 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_dump_irq()
356 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_init()
/kernel/linux/linux-6.6/drivers/bcma/
H A Dmain.c92 list_for_each_entry(core, &bus->cores, list) { in bcma_find_core_unit()
272 INIT_LIST_HEAD(&bus->cores); in bcma_init_bus()
296 list_for_each_entry(core, &bus->cores, list) { in bcma_register_devices()
310 /* Early cores were already registered */ in bcma_register_devices()
366 list_for_each_entry_safe(core, tmp, &bus->cores, list) { in bcma_unregister_cores()
375 /* Now no one uses internally-handled cores, we can free them */ in bcma_unregister_cores()
376 list_for_each_entry_safe(core, tmp, &bus->cores, list) { in bcma_unregister_cores()
387 /* Scan for devices (cores) */ in bcma_bus_register()
412 list_for_each_entry(core, &bus->cores, list) { in bcma_bus_register()
473 /* Register found cores */ in bcma_bus_register()
[all...]
H A Ddriver_mips.c122 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_set_irq()
172 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_dump_irq()
343 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_init()
/kernel/linux/linux-5.10/tools/power/cpupower/lib/
H A Dcpupower.h6 /* Amount of CPU cores, packages and threads per core in the system */
7 unsigned int cores; member
11 /* Array gets mallocated with cores entries, holding per core info */
/kernel/linux/linux-6.6/tools/power/cpupower/lib/
H A Dcpupower.h6 /* Amount of CPU cores, packages and threads per core in the system */
7 unsigned int cores; member
11 /* Array gets mallocated with cores entries, holding per core info */
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-cavium-octeon/
H A Dkernel-entry-init.h98 # All cores other than the master need to wait here for SMP bootstrap
141 # Someone tried to boot SMP with a non SMP kernel. All extra cores
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-cavium-octeon/
H A Dkernel-entry-init.h98 # All cores other than the master need to wait here for SMP bootstrap
141 # Someone tried to boot SMP with a non SMP kernel. All extra cores

Completed in 14 milliseconds

123