Home
last modified time | relevance | path

Searched refs:params_rate (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/Linux-v4.19/sound/soc/pxa/
Dbrownstone.c56 if (params_rate(params) > 11025) { in brownstone_wm8994_hw_params()
57 freq_out = params_rate(params) * 512; in brownstone_wm8994_hw_params()
58 sysclk = params_rate(params) * 256; in brownstone_wm8994_hw_params()
59 sspa_mclk = params_rate(params) * 64; in brownstone_wm8994_hw_params()
61 freq_out = params_rate(params) * 1024; in brownstone_wm8994_hw_params()
62 sysclk = params_rate(params) * 512; in brownstone_wm8994_hw_params()
63 sspa_mclk = params_rate(params) * 64; in brownstone_wm8994_hw_params()
Draumfeld.c94 switch (params_rate(params)) { in raumfeld_cs4270_hw_params()
162 switch (params_rate(params)) { in raumfeld_ak4104_hw_params()
/Linux-v4.19/sound/soc/samsung/
Dsmdk_wm8994.c61 pll_out = params_rate(params) * 384; in smdk_hw_params()
62 else if (params_rate(params) == 8000 || params_rate(params) == 11025) in smdk_hw_params()
63 pll_out = params_rate(params) * 512; in smdk_hw_params()
65 pll_out = params_rate(params) * 256; in smdk_hw_params()
Dsmdk_wm8994pcm.c58 switch(params_rate(params)) { in smdk_wm8994_pcm_hw_params()
64 __func__, __LINE__, params_rate(params)); in smdk_wm8994_pcm_hw_params()
68 mclk_freq = params_rate(params) * rfs; in smdk_wm8994_pcm_hw_params()
Djive_wm8750.c47 switch (params_rate(params)) { in jive_hw_params()
61 s3c_i2sv2_iis_calc_rate(&div, NULL, params_rate(params), in jive_hw_params()
Dtm2_wm5110.c104 switch (params_rate(params)) { in tm2_aif1_hw_params()
127 params_rate(params)); in tm2_aif1_hw_params()
146 switch (params_rate(params)) { in tm2_aif2_hw_params()
159 params_rate(params)); in tm2_aif2_hw_params()
239 switch (params_rate(params)) { in tm2_hdmi_hw_params()
246 params_rate(params)); in tm2_hdmi_hw_params()
Dsmdk_wm8580.c52 switch (params_rate(params)) { in smdk_hw_params()
72 pll_out = params_rate(params) * rfs; in smdk_hw_params()
Dspdif.c219 ratio = spdif->clk_rate / params_rate(params); in spdif_hw_params()
225 spdif->clk_rate, params_rate(params)); in spdif_hw_params()
243 switch (params_rate(params)) { in spdif_hw_params()
258 params_rate(params)); in spdif_hw_params()
Dsmdk_spdif.c114 switch (params_rate(params)) { in smdk_hw_params()
131 rclk_rate = params_rate(params) * ratio; in smdk_hw_params()
Dodroid.c42 switch (params_rate(params)) { in odroid_card_hw_params()
71 rclk_freq = params_rate(params) * rfs + 1; in odroid_card_hw_params()
Dsnow.c57 switch (params_rate(params)) { in snow_card_hw_params()
80 rclk = params_rate(params) * rfs; in snow_card_hw_params()
/Linux-v4.19/sound/soc/rockchip/
Drk3399_gru_sound.c70 switch (params_rate(params)) { in rockchip_sound_max98357a_hw_params()
75 mclk = params_rate(params) * SOUND_FS; in rockchip_sound_max98357a_hw_params()
79 __func__, params_rate(params)); in rockchip_sound_max98357a_hw_params()
102 mclk = params_rate(params) * SOUND_FS; in rockchip_sound_rt5514_hw_params()
115 __func__, params_rate(params) * 512, ret); in rockchip_sound_rt5514_hw_params()
134 switch (params_rate(params)) { in rockchip_sound_da7219_hw_params()
230 mclk = params_rate(params) * SOUND_FS; in rockchip_sound_dmic_hw_params()
/Linux-v4.19/sound/pci/oxygen/
Dxonar_dg.c200 if (params_rate(params) <= 50000) { in set_cs4245_dac_params()
203 } else if (params_rate(params) <= 100000) { in set_cs4245_dac_params()
225 if (params_rate(params) <= 50000) { in set_cs4245_adc_params()
228 } else if (params_rate(params) <= 100000) { in set_cs4245_adc_params()
Dxonar_lib.c92 if (params_rate(params) <= 54000) in xonar_set_cs53x1_params()
94 else if (params_rate(params) <= 108000) in xonar_set_cs53x1_params()
Doxygen.c353 if (params_rate(params) <= 54000) in set_ak4396_params()
355 else if (params_rate(params) <= 108000) in set_ak4396_params()
406 if (params_rate(params) <= 48000) in set_wm8785_params()
408 else if (params_rate(params) <= 96000) in set_wm8785_params()
424 if (params_rate(params) <= 54000) in set_ak5385_params()
426 else if (params_rate(params) <= 108000) in set_ak5385_params()
/Linux-v4.19/sound/soc/intel/boards/
Dbyt-rt5640.c88 params_rate(params) * 256, in byt_rt5640_hw_params()
95 params_rate(params) * 64, in byt_rt5640_hw_params()
96 params_rate(params) * 256); in byt_rt5640_hw_params()
Dcht_bsw_nau8824.c92 ret = snd_soc_dai_set_pll(codec_dai, 0, 0, params_rate(params), in cht_aif1_hw_params()
93 params_rate(params) * 256); in cht_aif1_hw_params()
/Linux-v4.19/sound/soc/codecs/
Dmax9860.c265 params_rate(params), in max9860_hw_params()
365 if (params_rate(params) == 8000 || params_rate(params) == 16000) { in max9860_hw_params()
386 if (sysclk && params_rate(params) == 16000) in max9860_hw_params()
398 n = DIV_ROUND_CLOSEST_ULL(65536ULL * 96 * params_rate(params), in max9860_hw_params()
403 if (params_rate(params) > 24000) in max9860_hw_params()
Dml26124.c343 int i = get_coeff(priv->mclk, params_rate(hw_params)); in ml26124_hw_params()
349 priv->rate = params_rate(hw_params); in ml26124_hw_params()
352 switch (priv->mclk / params_rate(hw_params)) { in ml26124_hw_params()
374 srate = get_srate(params_rate(hw_params)); in ml26124_hw_params()
Drt274.c617 switch (params_rate(params)) { in rt274_hw_params()
624 params_rate(params)); in rt274_hw_params()
630 if (params_rate(params) != 48000) { in rt274_hw_params()
632 params_rate(params), rt274->sys_clk); in rt274_hw_params()
638 if (params_rate(params) != 44100) { in rt274_hw_params()
640 params_rate(params), rt274->sys_clk); in rt274_hw_params()
Dcs43130.c684 params_rate(params), in cs43130_set_sp_fmt()
690 params_rate(params), in cs43130_set_sp_fmt()
696 params_rate(params), in cs43130_set_sp_fmt()
702 params_rate(params), in cs43130_set_sp_fmt()
785 if (!(CS43130_MCLK_22M % params_rate(params))) in cs43130_dsd_hw_params()
802 switch (params_rate(params)) { in cs43130_dsd_hw_params()
811 params_rate(params)); in cs43130_dsd_hw_params()
848 if (!(CS43130_MCLK_22M % params_rate(params))) in cs43130_hw_params()
870 sclk = params_rate(params) * bitwidth_dai * in cs43130_hw_params()
873 switch (params_rate(params)) { in cs43130_hw_params()
[all …]
Drt286.c683 switch (params_rate(params)) { in rt286_hw_params()
692 params_rate(params)); in rt286_hw_params()
698 if (params_rate(params) != 48000) { in rt286_hw_params()
700 params_rate(params), rt286->sys_clk); in rt286_hw_params()
706 if (params_rate(params) != 44100) { in rt286_hw_params()
708 params_rate(params), rt286->sys_clk); in rt286_hw_params()
/Linux-v4.19/sound/soc/mediatek/mt8173/
Dmt8173-rt5650.c71 mclk_clock = params_rate(params) * 256; in mt8173_rt5650_hw_params()
84 params_rate(params) * 512); in mt8173_rt5650_hw_params()
90 params_rate(params) * 512, in mt8173_rt5650_hw_params()
Dmt8173-rt5650-rt5514.c54 params_rate(params) * 512); in mt8173_rt5650_rt5514_hw_params()
60 params_rate(params) * 512, in mt8173_rt5650_rt5514_hw_params()
/Linux-v4.19/sound/soc/amd/
Dacp-rt5645.c54 CZ_PLAT_CLK, params_rate(params) * 512); in cz_aif1_hw_params()
61 params_rate(params) * 512, SND_SOC_CLOCK_OUT); in cz_aif1_hw_params()

12345678910>>...14