Home
last modified time | relevance | path

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

12345678910>>...19

/Linux-v6.1/sound/soc/pxa/
Dbrownstone.c51 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/
Dsmdk_wm8994.c54 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()
Dsmdk_wm8994pcm.c52 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()
Darndale.c31 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()
Dodroid.c44 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()
Dtm2_wm5110.c99 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()
Djive_wm8750.c42 switch (params_rate(params)) { in jive_hw_params()
56 s3c_i2sv2_iis_calc_rate(&div, NULL, params_rate(params), in jive_hw_params()
Dsmdk_wm8580.c45 switch (params_rate(params)) { in smdk_hw_params()
65 pll_out = params_rate(params) * rfs; in smdk_hw_params()
Dspdif.c220 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()
Daries_wm8994.c269 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()
Dsmdk_spdif.c108 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/
Dmeson-codec-glue.c74 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/
Dxonar_dg.c190 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()
Dxonar_lib.c81 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/
Dpcm_iec958.c159 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/
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()
Dwm8741.c209 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()
Dsrc4xxx.c237 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()
Dml26124.c330 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/
Drk3399_gru_sound.c71 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/
Dsof_realtek_common.c75 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()
Dehl_rt5660.c118 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/
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()
/Linux-v6.1/sound/soc/mediatek/mt8173/
Dmt8173-rt5650.c72 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/
Dsoc-utils.c50 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()

12345678910>>...19