Home
last modified time | relevance | path

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

/openbmc/linux/include/sound/
H A Dda7213.h43 enum da7213_dmic_clk_rate dmic_clk_rate; member
H A Drt5682.h38 unsigned int dmic_clk_rate; member
H A Drt5682s.h38 unsigned int dmic_clk_rate; member
/openbmc/linux/sound/soc/codecs/
H A Dda7213.c1785 pdata->dmic_clk_rate = da7213_of_dmic_clkrate(component, fw_val32); in da7213_fw_to_pdata()
1787 pdata->dmic_clk_rate = DA7213_DMIC_CLK_3_0MHZ; in da7213_fw_to_pdata()
1905 switch (pdata->dmic_clk_rate) { in da7213_probe()
1908 dmic_cfg |= (pdata->dmic_clk_rate << in da7213_probe()
H A Drt5682.c1263 int idx, dmic_clk_rate = 3072000; in set_dmic_clk() local
1266 if (rt5682->pdata.dmic_clk_rate) in set_dmic_clk()
1267 dmic_clk_rate = rt5682->pdata.dmic_clk_rate; in set_dmic_clk()
1269 idx = rt5682_div_sel(rt5682, dmic_clk_rate, div, ARRAY_SIZE(div)); in set_dmic_clk()
3094 &rt5682->pdata.dmic_clk_rate); in rt5682_parse_dt()
H A Drt5682s.c1144 int idx, dmic_clk_rate = 3072000; in set_dmic_clk() local
1147 if (rt5682s->pdata.dmic_clk_rate) in set_dmic_clk()
1148 dmic_clk_rate = rt5682s->pdata.dmic_clk_rate; in set_dmic_clk()
1150 idx = rt5682s_div_sel(rt5682s, dmic_clk_rate, div, ARRAY_SIZE(div)); in set_dmic_clk()
2971 &rt5682s->pdata.dmic_clk_rate); in rt5682s_parse_dt()
H A Dwcd9335.c2848 u32 mclk_rate, u32 dmic_clk_rate) in wcd9335_get_dmic_clk_val() argument
2855 __func__, mclk_rate, dmic_clk_rate); in wcd9335_get_dmic_clk_val()
2863 if (dmic_clk_rate == 0) { in wcd9335_get_dmic_clk_val()
2870 div_factor = mclk_rate / dmic_clk_rate; in wcd9335_get_dmic_clk_val()
2893 __func__, div_factor, mclk_rate, dmic_clk_rate); in wcd9335_get_dmic_clk_val()
H A Dwcd934x.c4764 u32 mclk_rate, u32 dmic_clk_rate) in wcd934x_get_dmic_clk_val() argument
4775 if (dmic_clk_rate == 0) { in wcd934x_get_dmic_clk_val()
4782 div_factor = mclk_rate / dmic_clk_rate; in wcd934x_get_dmic_clk_val()
4805 __func__, div_factor, mclk_rate, dmic_clk_rate); in wcd934x_get_dmic_clk_val()