| /Linux-v5.4/sound/soc/intel/skylake/ |
| D | cnl-sst-dsp.c | 27 cnl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_set_reset_state() argument 31 CNL_ADSP_REG_ADSPCS, CNL_ADSPCS_CRST(core_mask), in cnl_dsp_core_set_reset_state() 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() 44 cnl_dsp_core_unset_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_unset_reset_state() argument 48 CNL_ADSPCS_CRST(core_mask), 0); in cnl_dsp_core_unset_reset_state() 53 CNL_ADSPCS_CRST(core_mask), in cnl_dsp_core_unset_reset_state() 59 static bool is_cnl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_cnl_dsp_core_enable() argument 66 is_enable = (val & CNL_ADSPCS_CPA(core_mask)) && in is_cnl_dsp_core_enable() [all …]
|
| D | skl-sst-dsp.c | 52 unsigned int core_mask, en_cores_mask; in skl_dsp_get_enabled_cores() local 55 core_mask = SKL_DSP_CORES_MASK(skl->cores.count); in skl_dsp_get_enabled_cores() 60 en_cores_mask = (val & SKL_ADSPCS_CPA_MASK(core_mask)) >> in skl_dsp_get_enabled_cores() 64 en_cores_mask &= (~val & SKL_ADSPCS_CRST_MASK(core_mask)) >> in skl_dsp_get_enabled_cores() 68 en_cores_mask &= (~val & SKL_ADSPCS_CSTALL_MASK(core_mask)) >> in skl_dsp_get_enabled_cores() 70 en_cores_mask &= core_mask; in skl_dsp_get_enabled_cores() 78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_set_reset_state() argument 84 SKL_ADSP_REG_ADSPCS, SKL_ADSPCS_CRST_MASK(core_mask), in skl_dsp_core_set_reset_state() 85 SKL_ADSPCS_CRST_MASK(core_mask)); in skl_dsp_core_set_reset_state() 90 SKL_ADSPCS_CRST_MASK(core_mask), in skl_dsp_core_set_reset_state() [all …]
|
| D | bxt-sst.c | 395 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in bxt_set_dsp_D0() local 419 ret = skl_dsp_core_power_up(ctx, core_mask | in bxt_set_dsp_D0() 422 ret = skl_dsp_core_power_up(ctx, core_mask); in bxt_set_dsp_D0() 438 ret = skl_dsp_start_core(ctx, core_mask); in bxt_set_dsp_D0() 463 dx.core_mask = core_mask; in bxt_set_dsp_D0() 464 dx.dx_mask = core_mask; in bxt_set_dsp_D0() 479 core_mask |= SKL_DSP_CORE_MASK(1); in bxt_set_dsp_D0() 480 skl_dsp_disable_core(ctx, core_mask); in bxt_set_dsp_D0() 490 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in bxt_set_dsp_D3() local 492 dx.core_mask = core_mask; in bxt_set_dsp_D3() [all …]
|
| D | skl-sst-dsp.h | 206 int skl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask); 207 int skl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask); 208 int skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask); 209 int skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask); 211 unsigned int core_mask); 212 int skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask);
|
| D | cnl-sst.c | 170 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in cnl_set_dsp_D0() local 186 ret = cnl_dsp_enable_core(ctx, core_mask); in cnl_set_dsp_D0() 209 dx.core_mask = core_mask; in cnl_set_dsp_D0() 210 dx.dx_mask = core_mask; in cnl_set_dsp_D0() 224 cnl_dsp_disable_core(ctx, core_mask); in cnl_set_dsp_D0() 232 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in cnl_set_dsp_D3() local 236 dx.core_mask = core_mask; in cnl_set_dsp_D3() 254 ret = cnl_dsp_disable_core(ctx, core_mask); in cnl_set_dsp_D3()
|
| 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()
|
| D | skl-sst-ipc.h | 30 u32 core_mask; member
|
| /Linux-v5.4/sound/soc/sof/intel/ |
| D | hda-dsp.c | 27 int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_enter() argument 34 reset = HDA_DSP_ADSPCS_CRST_MASK(core_mask); in hda_dsp_core_reset_enter() 49 if ((adspcs & HDA_DSP_ADSPCS_CRST_MASK(core_mask)) != in hda_dsp_core_reset_enter() 50 HDA_DSP_ADSPCS_CRST_MASK(core_mask)) { in hda_dsp_core_reset_enter() 53 core_mask, adspcs); in hda_dsp_core_reset_enter() 60 int hda_dsp_core_reset_leave(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_leave() argument 69 HDA_DSP_ADSPCS_CRST_MASK(core_mask), in hda_dsp_core_reset_leave() 73 crst = HDA_DSP_ADSPCS_CRST_MASK(core_mask); in hda_dsp_core_reset_leave() 83 if ((adspcs & HDA_DSP_ADSPCS_CRST_MASK(core_mask)) != 0) { in hda_dsp_core_reset_leave() 86 core_mask, adspcs); in hda_dsp_core_reset_leave() [all …]
|
| D | hda.h | 443 unsigned int core_mask); 445 unsigned int core_mask); 446 int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask); 447 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask); 448 int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask); 449 int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask); 450 int hda_dsp_core_power_down(struct snd_sof_dev *sdev, unsigned int core_mask); 452 unsigned int core_mask); 454 unsigned int core_mask);
|
| /Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| 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() 170 if ((hweight8(core_mask) == wlc->stf->txstreams) && 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() 181 wlc->stf->phytxant = core_mask << PHY_TXC_ANT_SHIFT; in brcms_c_stf_txcore_set() [all …]
|
| /Linux-v5.4/drivers/crypto/cavium/cpt/ |
| D | cptpf_main.c | 152 if (mcode->core_mask & (1 << shift)) { in cpt_load_microcode() 185 mcode->core_mask = GENMASK(mcode->num_cores, 0); in do_cpt_init() 186 cpt_disable_cores(cpt, mcode->core_mask, AE_TYPES, in do_cpt_init() 197 cpt_configure_group(cpt, mcode->group, mcode->core_mask, in do_cpt_init() 200 cpt_enable_cores(cpt, mcode->core_mask, AE_TYPES); in do_cpt_init() 214 mcode->core_mask = GENMASK(mcode->num_cores, 0); in do_cpt_init() 215 cpt_disable_cores(cpt, mcode->core_mask, SE_TYPES, in do_cpt_init() 226 cpt_configure_group(cpt, mcode->group, mcode->core_mask, in do_cpt_init() 229 cpt_enable_cores(cpt, mcode->core_mask, SE_TYPES); in do_cpt_init() 274 mcode->core_mask = 0ULL; in cpt_ucode_load_fw()
|
| D | cptpf.h | 28 u64 core_mask; member
|
| /Linux-v5.4/drivers/base/ |
| D | arch_topology.c | 436 const cpumask_t *core_mask = cpumask_of_node(cpu_to_node(cpu)); in cpu_coregroup_mask() local 439 if (cpumask_subset(&cpu_topology[cpu].core_sibling, core_mask)) { in cpu_coregroup_mask() 441 core_mask = &cpu_topology[cpu].core_sibling; in cpu_coregroup_mask() 444 if (cpumask_subset(&cpu_topology[cpu].llc_sibling, core_mask)) in cpu_coregroup_mask() 445 core_mask = &cpu_topology[cpu].llc_sibling; in cpu_coregroup_mask() 448 return core_mask; in cpu_coregroup_mask()
|
| /Linux-v5.4/arch/s390/include/asm/ |
| D | topology.h | 22 cpumask_t core_mask; member 34 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_mask)
|
| /Linux-v5.4/sound/soc/sof/ |
| D | ops.h | 69 unsigned int core_mask) in snd_sof_dsp_core_power_up() argument 72 return sof_ops(sdev)->core_power_up(sdev, core_mask); in snd_sof_dsp_core_power_up() 78 unsigned int core_mask) in snd_sof_dsp_core_power_down() argument 81 return sof_ops(sdev)->core_power_down(sdev, core_mask); in snd_sof_dsp_core_power_down()
|
| D | sof-priv.h | 89 unsigned int core_mask); /* optional */ 91 unsigned int core_mask); /* optional */
|
| /Linux-v5.4/arch/mips/cavium-octeon/ |
| 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()
|
| D | setup.c | 391 return octeon_boot_desc_ptr->core_mask; in octeon_get_boot_coremask() 687 cvmx_coremask_copy(&sysinfo->core_mask, in prom_init() 690 cvmx_coremask_set64(&sysinfo->core_mask, in prom_init() 691 octeon_bootinfo->core_mask); in prom_init() 696 cvmx_coremask_clear_core(&sysinfo->core_mask, i); in prom_init()
|
| /Linux-v5.4/arch/mips/include/asm/octeon/ |
| D | cvmx-sysinfo.h | 67 struct cvmx_coremask core_mask; member
|
| D | octeon.h | 86 uint32_t core_mask; member 139 uint32_t core_mask;
|
| D | cvmx-bootinfo.h | 70 uint32_t core_mask; member 153 uint32_t core_mask;
|
| /Linux-v5.4/tools/power/x86/intel-speed-select/ |
| D | isst.h | 176 unsigned long long core_mask,
|
| /Linux-v5.4/arch/s390/kernel/ |
| D | topology.c | 256 topo->core_mask = cpu_group_map(&socket_info, cpu); in update_cpu_masks() 491 return &cpu_topology[cpu].core_mask; in cpu_coregroup_mask()
|
| /Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| D | phy_n.c | 14811 u8 core_mask, u8 off, u8 override_id) in wlc_phy_rfctrl_override_nphy_rev7() argument 15065 if ((core_mask == 0) in wlc_phy_rfctrl_override_nphy_rev7() 15066 || (core_mask & (1 << core_num))) { in wlc_phy_rfctrl_override_nphy_rev7() 17168 u8 core_mask, u8 off) in wlc_phy_rfctrl_override_nphy() argument 17284 if ((core_mask == 0) in wlc_phy_rfctrl_override_nphy() 17285 || (core_mask & (1 << core_num))) { in wlc_phy_rfctrl_override_nphy() 17315 core_mask = 0x1; in wlc_phy_rfctrl_override_nphy() 17399 if ((addr != 0xffff) && (core_mask & (1 << core_num))) in wlc_phy_rfctrl_override_nphy() 21375 u8 core_mask, u8 off) in wlc_phy_rfctrl_override_1tomany_nphy() argument 21386 value, core_mask, off, in wlc_phy_rfctrl_override_1tomany_nphy() [all …]
|
| /Linux-v5.4/arch/s390/numa/ |
| D | mode_emu.c | 385 cpumask_copy(&top->core_mask, &core_mc(core)->mask); in topology_add_core()
|