Home
last modified time | relevance | path

Searched refs:clk_map_table (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dcs4265.c241 static const struct cs4265_clk_para clk_map_table[] = { variable
310 for (i = 0; i < ARRAY_SIZE(clk_map_table); i++) { in cs4265_get_clk_index()
311 if (clk_map_table[i].rate == rate && in cs4265_get_clk_index()
312 clk_map_table[i].mclk == mclk) in cs4265_get_clk_index()
329 for (i = 0; i < ARRAY_SIZE(clk_map_table); i++) { in cs4265_set_sysclk()
330 if (clk_map_table[i].mclk == freq) { in cs4265_set_sysclk()
418 CS4265_ADC_FM, clk_map_table[index].fm_mode << 6); in cs4265_pcm_hw_params()
421 clk_map_table[index].mclkdiv << 4); in cs4265_pcm_hw_params()
H A Dcs42l52.c645 static const struct cs42l52_clk_para clk_map_table[] = { variable
702 for (i = 0; i < ARRAY_SIZE(clk_map_table); i++) { in cs42l52_get_clk()
703 if (clk_map_table[i].rate == rate) { in cs42l52_get_clk()
704 mclk1 = clk_map_table[i].mclk; in cs42l52_get_clk()
816 cs42l52->sysclk = clk_map_table[index].mclk; in cs42l52_pcm_hw_params()
818 clk |= (clk_map_table[index].speed << CLK_SPEED_SHIFT) | in cs42l52_pcm_hw_params()
819 (clk_map_table[index].group << CLK_32K_SR_SHIFT) | in cs42l52_pcm_hw_params()
820 (clk_map_table[index].videoclk << CLK_27M_MCLK_SHIFT) | in cs42l52_pcm_hw_params()
821 (clk_map_table[index].ratio << CLK_RATIO_SHIFT) | in cs42l52_pcm_hw_params()
822 clk_map_table[index].mclkdiv2; in cs42l52_pcm_hw_params()