/linux/sound/soc/intel/skylake/ |
A D | cnl-sst-dsp.c | 32 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 D | skl-sst-dsp.c | 70 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 D | bxt-sst.c | 392 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 D | skl-sst-dsp.h | 208 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 D | cnl-sst.c | 191 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 D | skl-sst.c | 165 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 D | cnl-sst-dsp.h | 85 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 D | skl-sst-ipc.h | 30 u32 core_mask; member
|
/linux/sound/soc/sof/intel/ |
A D | hda-dsp.c | 69 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 D | hda-loader.c | 555 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 D | hda.h | 495 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 D | stf.c | 162 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 D | ops.h | 62 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 D | sof-priv.h | 128 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 D | cptpf_main.c | 151 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 D | cptpf.h | 28 u64 core_mask; member
|
/linux/drivers/base/ |
A D | arch_topology.c | 585 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 D | topology.h | 22 cpumask_t core_mask; member 33 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_mask)
|
/linux/arch/mips/cavium-octeon/ |
A D | smp.c | 147 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 D | setup.c | 388 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 D | topology.c | 259 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 D | octeon.h | 86 uint32_t core_mask; member 139 uint32_t core_mask;
|
A D | cvmx-sysinfo.h | 67 struct cvmx_coremask core_mask; member
|
A D | cvmx-bootinfo.h | 70 uint32_t core_mask; member 153 uint32_t core_mask;
|
/linux/tools/power/x86/intel-speed-select/ |
A D | isst.h | 187 unsigned long long core_mask,
|