/Linux-v6.1/sound/soc/pxa/ |
D | brownstone.c | 51 if (params_rate(params) > 11025) { in brownstone_wm8994_hw_params() 52 freq_out = params_rate(params) * 512; in brownstone_wm8994_hw_params() 53 sysclk = params_rate(params) * 256; in brownstone_wm8994_hw_params() 54 sspa_mclk = params_rate(params) * 64; in brownstone_wm8994_hw_params() 56 freq_out = params_rate(params) * 1024; in brownstone_wm8994_hw_params() 57 sysclk = params_rate(params) * 512; in brownstone_wm8994_hw_params() 58 sspa_mclk = params_rate(params) * 64; in brownstone_wm8994_hw_params()
|
/Linux-v6.1/sound/soc/samsung/ |
D | smdk_wm8994.c | 54 pll_out = params_rate(params) * 384; in smdk_hw_params() 55 else if (params_rate(params) == 8000 || params_rate(params) == 11025) in smdk_hw_params() 56 pll_out = params_rate(params) * 512; in smdk_hw_params() 58 pll_out = params_rate(params) * 256; in smdk_hw_params()
|
D | smdk_wm8994pcm.c | 52 switch(params_rate(params)) { in smdk_wm8994_pcm_hw_params() 58 __func__, __LINE__, params_rate(params)); in smdk_wm8994_pcm_hw_params() 62 mclk_freq = params_rate(params) * rfs; in smdk_wm8994_pcm_hw_params()
|
D | arndale.c | 31 rclk = params_rate(params) * rfs; in arndale_rt5631_hw_params() 65 else if (params_rate(params) == 8000 || params_rate(params) == 11025) in arndale_wm1811_hw_params() 70 rclk = params_rate(params) * rfs; in arndale_wm1811_hw_params()
|
D | odroid.c | 44 if (priv->be_active && priv->be_sample_rate != params_rate(params)) in odroid_card_fe_hw_params() 65 switch (params_rate(params)) { in odroid_card_be_hw_params() 94 rclk_freq = params_rate(params) * rfs + 2; in odroid_card_be_hw_params() 110 priv->be_sample_rate = params_rate(params); in odroid_card_be_hw_params()
|
D | tm2_wm5110.c | 99 switch (params_rate(params)) { in tm2_aif1_hw_params() 122 params_rate(params)); in tm2_aif1_hw_params() 141 switch (params_rate(params)) { in tm2_aif2_hw_params() 154 params_rate(params)); in tm2_aif2_hw_params() 234 switch (params_rate(params)) { in tm2_hdmi_hw_params() 241 params_rate(params)); in tm2_hdmi_hw_params()
|
D | jive_wm8750.c | 42 switch (params_rate(params)) { in jive_hw_params() 56 s3c_i2sv2_iis_calc_rate(&div, NULL, params_rate(params), in jive_hw_params()
|
D | smdk_wm8580.c | 45 switch (params_rate(params)) { in smdk_hw_params() 65 pll_out = params_rate(params) * rfs; in smdk_hw_params()
|
D | spdif.c | 220 ratio = spdif->clk_rate / params_rate(params); in spdif_hw_params() 226 spdif->clk_rate, params_rate(params)); in spdif_hw_params() 244 switch (params_rate(params)) { in spdif_hw_params() 259 params_rate(params)); in spdif_hw_params()
|
D | aries_wm8994.c | 269 pll_out = params_rate(params) * 384; in aries_hw_params() 270 else if (params_rate(params) == 8000 || params_rate(params) == 11025) in aries_hw_params() 271 pll_out = params_rate(params) * 512; in aries_hw_params() 273 pll_out = params_rate(params) * 256; in aries_hw_params()
|
D | smdk_spdif.c | 108 switch (params_rate(params)) { in smdk_hw_params() 125 rclk_rate = params_rate(params) * ratio; in smdk_hw_params()
|
/Linux-v6.1/sound/soc/meson/ |
D | meson-codec-glue.c | 74 data->params.rates = snd_pcm_rate_to_rate_bit(params_rate(params)); in meson_codec_glue_input_hw_params() 75 data->params.rate_min = params_rate(params); in meson_codec_glue_input_hw_params() 76 data->params.rate_max = params_rate(params); in meson_codec_glue_input_hw_params()
|
/Linux-v6.1/sound/pci/oxygen/ |
D | xonar_dg.c | 190 if (params_rate(params) <= 50000) { in set_cs4245_dac_params() 193 } else if (params_rate(params) <= 100000) { in set_cs4245_dac_params() 215 if (params_rate(params) <= 50000) { in set_cs4245_adc_params() 218 } else if (params_rate(params) <= 100000) { in set_cs4245_adc_params()
|
D | xonar_lib.c | 81 if (params_rate(params) <= 54000) in xonar_set_cs53x1_params() 83 else if (params_rate(params) <= 108000) in xonar_set_cs53x1_params()
|
/Linux-v6.1/sound/core/ |
D | pcm_iec958.c | 159 return fill_iec958_consumer(params_rate(params), params_width(params), cs, len); in snd_pcm_fill_iec958_consumer_hw_params() 211 return fill_iec958_consumer(params_rate(params), params_width(params), cs, len); in snd_pcm_create_iec958_consumer_hw_params()
|
/Linux-v6.1/sound/soc/codecs/ |
D | max9860.c | 265 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()
|
D | wm8741.c | 209 if (wm8741->sysclk_constraints->list[i] == params_rate(params)) in wm8741_hw_params() 215 params_rate(params), wm8741->sysclk); in wm8741_hw_params() 240 if (params_rate(params) > 96000) in wm8741_hw_params() 242 else if (params_rate(params) > 48000) in wm8741_hw_params() 248 params_width(params), params_rate(params)); in wm8741_hw_params()
|
D | src4xxx.c | 237 mclk_div = src4xxx->mclk_hz/params_rate(params); in src4xxx_hw_params() 238 if (src4xxx->mclk_hz != mclk_div*params_rate(params)) { in src4xxx_hw_params() 241 src4xxx->mclk_hz, params_rate(params)); in src4xxx_hw_params() 252 params_rate(params), src4xxx->mclk_hz); in src4xxx_hw_params()
|
D | ml26124.c | 330 int i = get_coeff(priv->mclk, params_rate(hw_params)); in ml26124_hw_params() 336 priv->rate = params_rate(hw_params); in ml26124_hw_params() 339 switch (priv->mclk / params_rate(hw_params)) { in ml26124_hw_params() 361 srate = get_srate(params_rate(hw_params)); in ml26124_hw_params()
|
/Linux-v6.1/sound/soc/rockchip/ |
D | rk3399_gru_sound.c | 71 mclk = params_rate(params) * SOUND_FS; in rockchip_sound_max98357a_hw_params() 92 mclk = params_rate(params) * SOUND_FS; in rockchip_sound_rt5514_hw_params() 105 __func__, params_rate(params) * 512, ret); in rockchip_sound_rt5514_hw_params() 124 switch (params_rate(params)) { in rockchip_sound_da7219_hw_params() 241 mclk = params_rate(params) * SOUND_FS; in rockchip_sound_dmic_hw_params()
|
/Linux-v6.1/sound/soc/intel/boards/ |
D | sof_realtek_common.c | 75 srate = params_rate(params); in rt1011_hw_params() 282 params_rate(params) * 256); in rt1015_hw_params() 290 params_rate(params) * 256, in rt1015_hw_params() 435 pll_out = params_rate(params) * 512; in rt1308_hw_params()
|
D | ehl_rt5660.c | 118 params_rate(params) * 512, in rt5660_hw_params() 127 params_rate(params) * 50, in rt5660_hw_params() 128 params_rate(params) * 512); in rt5660_hw_params()
|
/Linux-v6.1/sound/soc/amd/ |
D | acp-rt5645.c | 54 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()
|
/Linux-v6.1/sound/soc/mediatek/mt8173/ |
D | mt8173-rt5650.c | 72 mclk_clock = params_rate(params) * 256; in mt8173_rt5650_hw_params() 83 params_rate(params) * 512); in mt8173_rt5650_hw_params() 89 params_rate(params) * 512, in mt8173_rt5650_hw_params()
|
/Linux-v6.1/sound/soc/ |
D | soc-utils.c | 50 return ret * params_rate(params); in snd_soc_params_to_bclk() 97 return snd_soc_calc_bclk(params_rate(params), tdm_width, 1, tdm_slots); in snd_soc_tdm_params_to_bclk()
|