Home
last modified time | relevance | path

Searched refs:core_mask (Results 1 – 25 of 29) sorted by relevance

12

/linux/sound/soc/intel/skylake/
A Dcnl-sst-dsp.c32 CNL_ADSPCS_CRST(core_mask)); in cnl_dsp_core_set_reset_state()
37 CNL_ADSPCS_CRST(core_mask), in cnl_dsp_core_set_reset_state()
38 CNL_ADSPCS_CRST(core_mask), in cnl_dsp_core_set_reset_state()
53 CNL_ADSPCS_CRST(core_mask), in cnl_dsp_core_unset_reset_state()
72 is_enable, core_mask); in is_cnl_dsp_core_enable()
104 core_mask); in cnl_dsp_start_core()
135 CNL_ADSPCS_CPA(core_mask), in cnl_dsp_core_power_down()
149 core_mask); in cnl_dsp_enable_core()
163 core_mask); in cnl_dsp_disable_core()
171 core_mask); in cnl_dsp_disable_core()
[all …]
A Dskl-sst-dsp.c70 en_cores_mask &= core_mask; in skl_dsp_get_enabled_cores()
90 SKL_ADSPCS_CRST_MASK(core_mask), in skl_dsp_core_set_reset_state()
98 core_mask); in skl_dsp_core_set_reset_state()
127 core_mask); in skl_dsp_core_unset_reset_state()
148 is_enable, core_mask); in is_skl_dsp_core_enable()
181 core_mask); in skl_dsp_start_core()
209 core_mask); in skl_dsp_core_power_up()
239 core_mask); in skl_dsp_enable_core()
253 core_mask); in skl_dsp_disable_core()
261 core_mask, ret); in skl_dsp_disable_core()
[all …]
A Dbxt-sst.c392 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in bxt_set_dsp_D0() local
416 ret = skl_dsp_core_power_up(ctx, core_mask | in bxt_set_dsp_D0()
419 ret = skl_dsp_core_power_up(ctx, core_mask); in bxt_set_dsp_D0()
435 ret = skl_dsp_start_core(ctx, core_mask); in bxt_set_dsp_D0()
460 dx.core_mask = core_mask; in bxt_set_dsp_D0()
461 dx.dx_mask = core_mask; in bxt_set_dsp_D0()
476 core_mask |= SKL_DSP_CORE_MASK(1); in bxt_set_dsp_D0()
477 skl_dsp_disable_core(ctx, core_mask); in bxt_set_dsp_D0()
489 dx.core_mask = core_mask; in bxt_set_dsp_D3()
493 dx.core_mask, dx.dx_mask); in bxt_set_dsp_D3()
[all …]
A Dskl-sst-dsp.h208 int skl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask);
209 int skl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask);
210 int skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask);
211 int skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask);
213 unsigned int core_mask);
214 int skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask);
A Dcnl-sst.c191 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in cnl_set_dsp_D0() local
207 ret = cnl_dsp_enable_core(ctx, core_mask); in cnl_set_dsp_D0()
231 dx.core_mask = core_mask; in cnl_set_dsp_D0()
232 dx.dx_mask = core_mask; in cnl_set_dsp_D0()
246 cnl_dsp_disable_core(ctx, core_mask); in cnl_set_dsp_D0()
254 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in cnl_set_dsp_D3() local
258 dx.core_mask = core_mask; in cnl_set_dsp_D3()
276 ret = cnl_dsp_disable_core(ctx, core_mask); in cnl_set_dsp_D3()
A Dskl-sst.c165 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in skl_set_dsp_D0() local
193 ret = skl_dsp_enable_core(ctx, core_mask); in skl_set_dsp_D0()
197 dx.core_mask = core_mask; in skl_set_dsp_D0()
198 dx.dx_mask = core_mask; in skl_set_dsp_D0()
205 skl_dsp_disable_core(ctx, core_mask); in skl_set_dsp_D0()
219 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in skl_set_dsp_D3() local
221 dx.core_mask = core_mask; in skl_set_dsp_D3()
236 ret = skl_dsp_disable_core(ctx, core_mask); in skl_set_dsp_D3()
A Dcnl-sst-dsp.h85 int cnl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask);
86 int cnl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask);
A Dskl-sst-ipc.h30 u32 core_mask; member
/linux/sound/soc/sof/intel/
A Dhda-dsp.c69 core_mask, adspcs); in hda_dsp_core_reset_enter()
109 core_mask, adspcs); in hda_dsp_core_reset_leave()
148 is_enable, core_mask); in hda_dsp_core_is_enabled()
173 core_mask); in hda_dsp_core_run()
216 core_mask, adspcs); in hda_dsp_core_power_up()
256 if (!core_mask || hda_dsp_core_is_enabled(sdev, core_mask)) in hda_dsp_enable_core()
263 core_mask); in hda_dsp_enable_core()
281 if (!core_mask) in hda_dsp_core_reset_power_down()
288 core_mask); in hda_dsp_core_reset_power_down()
296 core_mask, ret); in hda_dsp_core_reset_power_down()
[all …]
A Dhda-loader.c555 int hda_dsp_core_stall_icl(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_stall_icl() argument
561 core_mask &= chip->host_managed_cores_mask; in hda_dsp_core_stall_icl()
562 if (!core_mask) { in hda_dsp_core_stall_icl()
570 HDA_DSP_ADSPCS_CSTALL_MASK(core_mask), in hda_dsp_core_stall_icl()
571 HDA_DSP_ADSPCS_CSTALL_MASK(core_mask)); in hda_dsp_core_stall_icl()
A Dhda.h495 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask);
496 int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask);
498 unsigned int core_mask);
618 int hda_dsp_core_stall_icl(struct snd_sof_dev *sdev, unsigned int core_mask);
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A Dstf.c162 u8 core_mask) in brcms_c_stf_txcore_set() argument
165 wlc->pub->unit, Nsts, core_mask); in brcms_c_stf_txcore_set()
167 if (hweight8(core_mask) > wlc->stf->txstreams) in brcms_c_stf_txcore_set()
168 core_mask = 0; in brcms_c_stf_txcore_set()
171 ((core_mask & ~wlc->stf->txchain) in brcms_c_stf_txcore_set()
172 || !(core_mask & wlc->stf->txchain))) in brcms_c_stf_txcore_set()
173 core_mask = wlc->stf->txchain; in brcms_c_stf_txcore_set()
175 wlc->stf->txcore[Nsts] = core_mask; in brcms_c_stf_txcore_set()
196 u8 core_mask = 0; in brcms_c_stf_spatial_policy_set() local
203 core_mask = (val == MAX_SPATIAL_EXPANSION) ? in brcms_c_stf_spatial_policy_set()
[all …]
/linux/sound/soc/sof/
A Dops.h62 return sof_ops(sdev)->stall(sdev, core_mask); in snd_sof_dsp_stall()
77 unsigned int core_mask) in snd_sof_dsp_core_power_up() argument
81 core_mask &= ~sdev->enabled_cores_mask; in snd_sof_dsp_core_power_up()
82 if (sof_ops(sdev)->core_power_up && core_mask) { in snd_sof_dsp_core_power_up()
83 ret = sof_ops(sdev)->core_power_up(sdev, core_mask); in snd_sof_dsp_core_power_up()
85 sdev->enabled_cores_mask |= core_mask; in snd_sof_dsp_core_power_up()
92 unsigned int core_mask) in snd_sof_dsp_core_power_down() argument
96 core_mask &= sdev->enabled_cores_mask; in snd_sof_dsp_core_power_down()
97 if (sof_ops(sdev)->core_power_down && core_mask) { in snd_sof_dsp_core_power_down()
98 ret = sof_ops(sdev)->core_power_down(sdev, core_mask); in snd_sof_dsp_core_power_down()
[all …]
A Dsof-priv.h128 int (*stall)(struct snd_sof_dev *sof_dev, unsigned int core_mask); /* optional */
131 unsigned int core_mask); /* optional */
133 unsigned int core_mask); /* optional */
/linux/drivers/crypto/cavium/cpt/
A Dcptpf_main.c151 if (mcode->core_mask & (1 << shift)) { in cpt_load_microcode()
184 mcode->core_mask = GENMASK(mcode->num_cores, 0); in do_cpt_init()
185 cpt_disable_cores(cpt, mcode->core_mask, AE_TYPES, in do_cpt_init()
196 cpt_configure_group(cpt, mcode->group, mcode->core_mask, in do_cpt_init()
199 cpt_enable_cores(cpt, mcode->core_mask, AE_TYPES); in do_cpt_init()
213 mcode->core_mask = GENMASK(mcode->num_cores, 0); in do_cpt_init()
214 cpt_disable_cores(cpt, mcode->core_mask, SE_TYPES, in do_cpt_init()
225 cpt_configure_group(cpt, mcode->group, mcode->core_mask, in do_cpt_init()
228 cpt_enable_cores(cpt, mcode->core_mask, SE_TYPES); in do_cpt_init()
273 mcode->core_mask = 0ULL; in cpt_ucode_load_fw()
A Dcptpf.h28 u64 core_mask; member
/linux/drivers/base/
A Darch_topology.c585 const cpumask_t *core_mask = cpumask_of_node(cpu_to_node(cpu)); in cpu_coregroup_mask() local
588 if (cpumask_subset(&cpu_topology[cpu].core_sibling, core_mask)) { in cpu_coregroup_mask()
590 core_mask = &cpu_topology[cpu].core_sibling; in cpu_coregroup_mask()
593 if (cpumask_subset(&cpu_topology[cpu].llc_sibling, core_mask)) in cpu_coregroup_mask()
594 core_mask = &cpu_topology[cpu].llc_sibling; in cpu_coregroup_mask()
597 return core_mask; in cpu_coregroup_mask()
/linux/arch/s390/include/asm/
A Dtopology.h22 cpumask_t core_mask; member
33 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_mask)
/linux/arch/mips/cavium-octeon/
A Dsmp.c147 int core_mask = octeon_get_boot_coremask(); in octeon_smp_setup() local
163 if ((id != coreid) && cvmx_coremask_is_core_set(&sysinfo->core_mask, id)) { in octeon_smp_setup()
180 if (!(core_mask & (1 << id))) { in octeon_smp_setup()
A Dsetup.c388 return octeon_boot_desc_ptr->core_mask; in octeon_get_boot_coremask()
682 cvmx_coremask_copy(&sysinfo->core_mask, in prom_init()
685 cvmx_coremask_set64(&sysinfo->core_mask, in prom_init()
686 octeon_bootinfo->core_mask); in prom_init()
691 cvmx_coremask_clear_core(&sysinfo->core_mask, i); in prom_init()
/linux/arch/s390/kernel/
A Dtopology.c259 cpu_group_map(&topo->core_mask, &socket_info, cpu); in update_cpu_masks()
274 pkg_first = cpumask_first(&topo->core_mask); in update_cpu_masks()
277 for_each_cpu(sibling, &topo->core_mask) { in update_cpu_masks()
506 return &cpu_topology[cpu].core_mask; in cpu_coregroup_mask()
/linux/arch/mips/include/asm/octeon/
A Docteon.h86 uint32_t core_mask; member
139 uint32_t core_mask;
A Dcvmx-sysinfo.h67 struct cvmx_coremask core_mask; member
A Dcvmx-bootinfo.h70 uint32_t core_mask; member
153 uint32_t core_mask;
/linux/tools/power/x86/intel-speed-select/
A Disst.h187 unsigned long long core_mask,

Completed in 44 milliseconds

12