Home
last modified time | relevance | path

Searched refs:mclk_mask (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/sound/hda/
Dintel-nhlt.c176 int mclk_mask = 0; in intel_nhlt_ssp_mclk_mask() local
223 mclk_mask |= blob[mdivc_offset] & GENMASK(1, 0); in intel_nhlt_ssp_mclk_mask()
232 if (hweight_long(mclk_mask) != 1) in intel_nhlt_ssp_mclk_mask()
235 return mclk_mask; in intel_nhlt_ssp_mclk_mask()
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c253 uint32_t *mclk_mask, in renoir_get_profiling_clk_mask() argument
261 if (mclk_mask) in renoir_get_profiling_clk_mask()
263 *mclk_mask = NUM_MEMCLK_DPM_LEVELS - 1; in renoir_get_profiling_clk_mask()
269 if (mclk_mask) in renoir_get_profiling_clk_mask()
271 *mclk_mask = 0; in renoir_get_profiling_clk_mask()
286 uint32_t mclk_mask, soc_mask; in renoir_get_dpm_ultimate_freq() local
320 &mclk_mask, in renoir_get_dpm_ultimate_freq()
337 ret = renoir_get_dpm_clk_limited(smu, clk_type, mclk_mask, max); in renoir_get_dpm_ultimate_freq()
935 uint32_t sclk_mask, mclk_mask, soc_mask; in renoir_set_performance_level() local
1017 &mclk_mask, in renoir_set_performance_level()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c838 uint32_t *mclk_mask, in vangogh_get_profiling_clk_mask() argument
845 if (mclk_mask) in vangogh_get_profiling_clk_mask()
846 *mclk_mask = clk_table->NumDfPstatesEnabled - 1; in vangogh_get_profiling_clk_mask()
854 if (mclk_mask) in vangogh_get_profiling_clk_mask()
855 *mclk_mask = 0; in vangogh_get_profiling_clk_mask()
869 if (mclk_mask) in vangogh_get_profiling_clk_mask()
870 *mclk_mask = 0; in vangogh_get_profiling_clk_mask()
929 uint32_t mclk_mask; in vangogh_get_dpm_ultimate_freq() local
973 &mclk_mask, in vangogh_get_dpm_ultimate_freq()
982 ret = vangogh_get_dpm_clk_limited(smu, clk_type, mclk_mask, max); in vangogh_get_dpm_ultimate_freq()
[all …]
/Linux-v6.6/sound/soc/sof/intel/
Dhda.c1660 int mclk_mask; in hda_machine_select() local
1686 mclk_mask = check_nhlt_ssp_mclk_mask(sdev, ssp_num); in hda_machine_select()
1688 if (mclk_mask < 0) { in hda_machine_select()
1693 dev_dbg(sdev->dev, "MCLK mask %#x found in NHLT\n", mclk_mask); in hda_machine_select()
1695 if (mclk_mask) { in hda_machine_select()
1696 dev_info(sdev->dev, "Overriding topology with MCLK mask %#x from NHLT\n", mclk_mask); in hda_machine_select()
1698 sdev->mclk_id_quirk = (mclk_mask & BIT(0)) ? 0 : 1; in hda_machine_select()
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c1718 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *soc_mask) in vega12_get_profiling_clk_mask() argument
1726 *mclk_mask = 0; in vega12_get_profiling_clk_mask()
1733 *mclk_mask = VEGA12_UMD_PSTATE_MCLK_LEVEL; in vega12_get_profiling_clk_mask()
1740 *mclk_mask = 0; in vega12_get_profiling_clk_mask()
1743 *mclk_mask = mem_dpm_table->count - 1; in vega12_get_profiling_clk_mask()
1773 uint32_t mclk_mask = 0; in vega12_dpm_force_dpm_level() local
1790 ret = vega12_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega12_dpm_force_dpm_level()
1794 vega12_force_clock_level(hwmgr, PP_MCLK, 1 << mclk_mask); in vega12_dpm_force_dpm_level()
Dvega20_hwmgr.c2523 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *soc_mask) in vega20_get_profiling_clk_mask() argument
2531 *mclk_mask = 0; in vega20_get_profiling_clk_mask()
2538 *mclk_mask = VEGA20_UMD_PSTATE_MCLK_LEVEL; in vega20_get_profiling_clk_mask()
2545 *mclk_mask = 0; in vega20_get_profiling_clk_mask()
2548 *mclk_mask = mem_dpm_table->count - 1; in vega20_get_profiling_clk_mask()
2723 uint32_t sclk_mask, mclk_mask, soc_mask; in vega20_dpm_force_dpm_level() local
2742 ret = vega20_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega20_dpm_force_dpm_level()
2746 vega20_force_clock_level(hwmgr, PP_MCLK, 1 << mclk_mask); in vega20_dpm_force_dpm_level()
Dsmu7_hwmgr.c3168 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *pcie_mask) in smu7_get_profiling_clk() argument
3186 *mclk_mask = golden_dpm_table->mclk_table.count - 1; in smu7_get_profiling_clk()
3189 *mclk_mask = golden_dpm_table->mclk_table.count - 2; in smu7_get_profiling_clk()
3225 *mclk_mask = 0; in smu7_get_profiling_clk()
3227 *mclk_mask = golden_dpm_table->mclk_table.count - 1; in smu7_get_profiling_clk()
3239 uint32_t mclk_mask = 0; in smu7_force_dpm_level() local
3256 ret = smu7_get_profiling_clk(hwmgr, level, &sclk_mask, &mclk_mask, &pcie_mask); in smu7_force_dpm_level()
3260 smu7_force_clock_level(hwmgr, PP_MCLK, 1<<mclk_mask); in smu7_force_dpm_level()
Dvega10_hwmgr.c4183 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *soc_mask) in vega10_get_profiling_clk_mask() argument
4193 *mclk_mask = VEGA10_UMD_PSTATE_MCLK_LEVEL; in vega10_get_profiling_clk_mask()
4199 *mclk_mask = 0; in vega10_get_profiling_clk_mask()
4209 *mclk_mask = table_info->vdd_dep_on_mclk->count - 1; in vega10_get_profiling_clk_mask()
4301 uint32_t mclk_mask = 0; in vega10_dpm_force_dpm_level() local
4318 ret = vega10_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega10_dpm_force_dpm_level()
4322 vega10_force_clock_level(hwmgr, PP_MCLK, 1<<mclk_mask); in vega10_dpm_force_dpm_level()