Home
last modified time | relevance | path

Searched refs:mclk_idx (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/arch/powerpc/platforms/512x/
Dclock-commonclk.c708 size_t mclk_idx; in mpc512x_clk_setup_clock_tree() local
821 for (mclk_idx = 0; mclk_idx < soc_max_pscnum(); mclk_idx++) { in mpc512x_clk_setup_clock_tree()
823 snprintf(name, sizeof(name), "psc%d", mclk_idx); in mpc512x_clk_setup_clock_tree()
824 clks[MPC512x_CLK_PSC0 + mclk_idx] = mpc512x_clk_gated( in mpc512x_clk_setup_clock_tree()
825 name, "ips", &clkregs->sccr1, 27 - mclk_idx); in mpc512x_clk_setup_clock_tree()
826 mpc512x_clk_setup_mclk(&mclk_psc_data[mclk_idx], mclk_idx); in mpc512x_clk_setup_clock_tree()
864 for (mclk_idx = 0; mclk_idx < ARRAY_SIZE(mclk_mscan_data); mclk_idx++) in mpc512x_clk_setup_clock_tree()
865 mpc512x_clk_setup_mclk(&mclk_mscan_data[mclk_idx], mclk_idx); in mpc512x_clk_setup_clock_tree()
/Linux-v5.10/sound/soc/codecs/
Dwm8978.c102 int mclk_idx; member
485 wm8978->mclk_idx = -1; in wm8978_configure_pll()
526 wm8978->mclk_idx = idx; in wm8978_configure_pll()
776 wm8978->mclk_idx = -1; in wm8978_hw_params()
788 if (wm8978->mclk_idx < 0) { in wm8978_hw_params()
807 best = wm8978->mclk_idx; in wm8978_hw_params()
Dnau8822.h204 int mclk_idx; member
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_hwmgr.c3827 uint32_t sclk_mhz, mclk_idx, activity_percent = 0; in vega10_read_sensor() local
3839 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentUclkIndex, &mclk_idx); in vega10_read_sensor()
3840 if (mclk_idx < dpm_table->mem_table.count) { in vega10_read_sensor()
3841 *((uint32_t *)value) = dpm_table->mem_table.dpm_levels[mclk_idx].value; in vega10_read_sensor()
Dvega12_hwmgr.c2544 uint32_t *sclk_idx, uint32_t *mclk_idx,
2562 *mclk_idx = i;