Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Dcs35l34.c46 int mclk_int; member
549 int coeff = cs35l34_get_mclk_coeff(priv->mclk_int, srate); in cs35l34_pcm_hw_params()
553 priv->mclk_int, srate); in cs35l34_pcm_hw_params()
609 cs35l34->mclk_int = freq; in cs35l34_dai_set_sysclk()
613 cs35l34->mclk_int = freq; in cs35l34_dai_set_sysclk()
617 cs35l34->mclk_int = freq; in cs35l34_dai_set_sysclk()
621 cs35l34->mclk_int = freq / 2; in cs35l34_dai_set_sysclk()
625 cs35l34->mclk_int = freq / 2; in cs35l34_dai_set_sysclk()
629 cs35l34->mclk_int = freq / 2; in cs35l34_dai_set_sysclk()
633 cs35l34->mclk_int = 0; in cs35l34_dai_set_sysclk()
H A Dcs43130.c243 cs43130->mclk, cs43130->mclk_int); in cs43130_pll_config()
245 pll_entry = cs43130_get_pll_table(cs43130->mclk, cs43130->mclk_int); in cs43130_pll_config()
314 cs43130->mclk_int = freq_out; in cs43130_set_pll()
317 cs43130->mclk_int = freq_out; in cs43130_set_pll()
342 switch (cs43130->mclk_int) { in cs43130_change_clksrc()
350 dev_err(component->dev, "Invalid MCLK INT freq: %u\n", cs43130->mclk_int); in cs43130_change_clksrc()
543 static const struct cs43130_clk_gen *cs43130_get_clk_gen(int mclk_int, int fs, in cs43130_get_clk_gen() argument
549 if (clk_gen_table[i].mclk_int == mclk_int && in cs43130_get_clk_gen()
681 clk_gen = cs43130_get_clk_gen(cs43130->mclk_int, in cs43130_set_sp_fmt()
687 clk_gen = cs43130_get_clk_gen(cs43130->mclk_int, in cs43130_set_sp_fmt()
[all …]
H A Dcs35l33.c45 int mclk_int; member
484 int coeff = cs35l33_get_mclk_coeff(priv->mclk_int, params_rate(params)); in cs35l33_pcm_hw_params()
647 cs35l33->mclk_int = freq; in cs35l33_component_set_sysclk()
654 cs35l33->mclk_int = freq/2; in cs35l33_component_set_sysclk()
657 cs35l33->mclk_int = 0; in cs35l33_component_set_sysclk()
662 freq, cs35l33->mclk_int); in cs35l33_component_set_sysclk()
H A Dcs43130.h377 unsigned int mclk_int; member
517 unsigned int mclk_int; member
H A Dcs42l42.c630 u32 mclk_int; member
683 if (pll_ratio_table[i].mclk_int % sample_rate) in cs42l42_pll_config()
692 ((pll_ratio_table[i].mclk_int != in cs42l42_pll_config()
694 (pll_ratio_table[i].mclk_int != in cs42l42_pll_config()