Home
last modified time | relevance | path

Searched refs:coeff (Results 1 – 14 of 14) sorted by relevance

/sound/soc/codecs/
Dmsm8916-wcd-digital.c433 u32 coeff[BAND_MAX]; in msm8x16_wcd_get_iir_band_audio_mixer() local
435 coeff[0] = get_iir_band_coeff(component, iir_idx, band_idx, 0); in msm8x16_wcd_get_iir_band_audio_mixer()
436 coeff[1] = get_iir_band_coeff(component, iir_idx, band_idx, 1); in msm8x16_wcd_get_iir_band_audio_mixer()
437 coeff[2] = get_iir_band_coeff(component, iir_idx, band_idx, 2); in msm8x16_wcd_get_iir_band_audio_mixer()
438 coeff[3] = get_iir_band_coeff(component, iir_idx, band_idx, 3); in msm8x16_wcd_get_iir_band_audio_mixer()
439 coeff[4] = get_iir_band_coeff(component, iir_idx, band_idx, 4); in msm8x16_wcd_get_iir_band_audio_mixer()
441 memcpy(ucontrol->value.bytes.data, &coeff[0], params->max); in msm8x16_wcd_get_iir_band_audio_mixer()
479 u32 coeff[BAND_MAX]; in msm8x16_wcd_put_iir_band_audio_mixer() local
481 memcpy(&coeff[0], ucontrol->value.bytes.data, params->max); in msm8x16_wcd_put_iir_band_audio_mixer()
489 set_iir_band_coeff(component, iir_idx, band_idx, coeff[0]); in msm8x16_wcd_put_iir_band_audio_mixer()
[all …]
Dwm8988.c672 int coeff; in wm8988_pcm_hw_params() local
674 coeff = get_coeff(wm8988->sysclk, params_rate(params)); in wm8988_pcm_hw_params()
675 if (coeff < 0) { in wm8988_pcm_hw_params()
676 coeff = get_coeff(wm8988->sysclk / 2, params_rate(params)); in wm8988_pcm_hw_params()
679 if (coeff < 0) { in wm8988_pcm_hw_params()
683 return coeff; in wm8988_pcm_hw_params()
703 if (coeff >= 0) in wm8988_pcm_hw_params()
705 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8988_pcm_hw_params()
Dalc5623.c701 int coeff, rate; in alc5623_pcm_hw_params() local
728 coeff = get_coeff(component, rate); in alc5623_pcm_hw_params()
729 if (coeff < 0) in alc5623_pcm_hw_params()
732 coeff = coeff_div[coeff].regvalue; in alc5623_pcm_hw_params()
734 __func__, alc5623->sysclk, rate, coeff); in alc5623_pcm_hw_params()
735 snd_soc_component_write(component, ALC5623_STEREO_AD_DA_CLK_CTRL, coeff); in alc5623_pcm_hw_params()
Dalc5632.c871 int coeff, rate; in alc5632_pcm_hw_params() local
895 coeff = get_coeff(component, rate); in alc5632_pcm_hw_params()
896 if (coeff < 0) in alc5632_pcm_hw_params()
899 coeff = coeff_div[coeff].regvalue; in alc5632_pcm_hw_params()
900 snd_soc_component_write(component, ALC5632_DAC_CLK_CTRL1, coeff); in alc5632_pcm_hw_params()
Dwm8971.c513 int coeff = get_coeff(wm8971->sysclk, params_rate(params)); in wm8971_pcm_hw_params() local
532 if (coeff >= 0) in wm8971_pcm_hw_params()
534 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8971_pcm_hw_params()
Dwm8750.c583 int coeff = get_coeff(wm8750->sysclk, params_rate(params)); in wm8750_pcm_hw_params() local
602 if (coeff >= 0) in wm8750_pcm_hw_params()
604 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8750_pcm_hw_params()
Dwm8753.c1159 int coeff; in wm8753_i2s_hw_params() local
1162 coeff = get_coeff(wm8753->sysclk, params_rate(params)); in wm8753_i2s_hw_params()
1163 if (coeff < 0) { in wm8753_i2s_hw_params()
1165 return coeff; in wm8753_i2s_hw_params()
1167 snd_soc_component_write(component, WM8753_SRATE1, srate | (coeff_div[coeff].sr << 1) | in wm8753_i2s_hw_params()
1168 coeff_div[coeff].usb); in wm8753_i2s_hw_params()
Drt5631.c1357 int timesofbclk = 32, coeff; in rt5631_hifi_pcm_params() local
1370 coeff = get_coeff(rt5631->sysclk, rt5631->rx_rate, in rt5631_hifi_pcm_params()
1373 coeff = get_coeff(rt5631->sysclk, rt5631->rx_rate, in rt5631_hifi_pcm_params()
1375 if (coeff < 0) { in rt5631_hifi_pcm_params()
1377 return coeff; in rt5631_hifi_pcm_params()
1399 coeff_div[coeff].reg_val); in rt5631_hifi_pcm_params()
Dcs35l33.c483 int coeff = cs35l33_get_mclk_coeff(priv->mclk_int, params_rate(params)); in cs35l33_pcm_hw_params() local
485 if (coeff < 0) in cs35l33_pcm_hw_params()
486 return coeff; in cs35l33_pcm_hw_params()
490 cs35l33_mclk_coeffs[coeff].int_fs_ratio in cs35l33_pcm_hw_params()
491 | cs35l33_mclk_coeffs[coeff].adsp_rate); in cs35l33_pcm_hw_params()
Dcs35l34.c548 int coeff = cs35l34_get_mclk_coeff(priv->mclk_int, srate); in cs35l34_pcm_hw_params() local
550 if (coeff < 0) { in cs35l34_pcm_hw_params()
553 return coeff; in cs35l34_pcm_hw_params()
557 CS35L34_ADSP_RATE, cs35l34_mclk_coeffs[coeff].adsp_rate); in cs35l34_pcm_hw_params()
Dwcd934x.c2373 u32 coeff[BAND_MAX]; in wcd934x_put_iir_band_audio_mixer() local
2376 memcpy(&coeff[0], ucontrol->value.bytes.data, params->max); in wcd934x_put_iir_band_audio_mixer()
2383 set_iir_band_coeff(component, iir_idx, band_idx, coeff[0]); in wcd934x_put_iir_band_audio_mixer()
2384 set_iir_band_coeff(component, iir_idx, band_idx, coeff[1]); in wcd934x_put_iir_band_audio_mixer()
2385 set_iir_band_coeff(component, iir_idx, band_idx, coeff[2]); in wcd934x_put_iir_band_audio_mixer()
2386 set_iir_band_coeff(component, iir_idx, band_idx, coeff[3]); in wcd934x_put_iir_band_audio_mixer()
2387 set_iir_band_coeff(component, iir_idx, band_idx, coeff[4]); in wcd934x_put_iir_band_audio_mixer()
2402 u32 coeff[BAND_MAX]; in wcd934x_get_iir_band_audio_mixer() local
2404 coeff[0] = get_iir_band_coeff(component, iir_idx, band_idx, 0); in wcd934x_get_iir_band_audio_mixer()
2405 coeff[1] = get_iir_band_coeff(component, iir_idx, band_idx, 1); in wcd934x_get_iir_band_audio_mixer()
[all …]
/sound/soc/fsl/
Dfsl_easrc.h536 u64 coeff[8192]; member
546 u64 coeff[256]; member
Dfsl_easrc.c322 coef = interp[i].coeff; in fsl_easrc_resampler_config()
602 ctx_priv->st1_coeff = selected_prefil->coeff; in fsl_easrc_prefilter_config()
607 ctx_priv->st2_coeff = selected_prefil->coeff + offset; in fsl_easrc_prefilter_config()
/sound/soc/intel/skylake/
Dskl-topology.h149 s32 coeff[UP_DOWN_MIXER_MAX_COEFF]; member