Home
last modified time | relevance | path

Searched refs:coeff (Results 1 – 17 of 17) 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()
Dlpass-rx-macro.c2749 u32 coeff[BAND_MAX]; in rx_macro_put_iir_band_audio_mixer() local
2752 memcpy(&coeff[0], ucontrol->value.bytes.data, params->max); in rx_macro_put_iir_band_audio_mixer()
2759 set_iir_band_coeff(component, iir_idx, band_idx, coeff[0]); in rx_macro_put_iir_band_audio_mixer()
2760 set_iir_band_coeff(component, iir_idx, band_idx, coeff[1]); in rx_macro_put_iir_band_audio_mixer()
2761 set_iir_band_coeff(component, iir_idx, band_idx, coeff[2]); in rx_macro_put_iir_band_audio_mixer()
2762 set_iir_band_coeff(component, iir_idx, band_idx, coeff[3]); in rx_macro_put_iir_band_audio_mixer()
2763 set_iir_band_coeff(component, iir_idx, band_idx, coeff[4]); in rx_macro_put_iir_band_audio_mixer()
2778 u32 coeff[BAND_MAX]; in rx_macro_get_iir_band_audio_mixer() local
2780 coeff[0] = get_iir_band_coeff(component, iir_idx, band_idx, 0); in rx_macro_get_iir_band_audio_mixer()
2781 coeff[1] = get_iir_band_coeff(component, iir_idx, band_idx, 1); in rx_macro_get_iir_band_audio_mixer()
[all …]
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.c484 int coeff = cs35l33_get_mclk_coeff(priv->mclk_int, params_rate(params)); in cs35l33_pcm_hw_params() local
486 if (coeff < 0) in cs35l33_pcm_hw_params()
487 return coeff; in cs35l33_pcm_hw_params()
491 cs35l33_mclk_coeffs[coeff].int_fs_ratio in cs35l33_pcm_hw_params()
492 | cs35l33_mclk_coeffs[coeff].adsp_rate); in cs35l33_pcm_hw_params()
Dcs35l34.c549 int coeff = cs35l34_get_mclk_coeff(priv->mclk_int, srate); in cs35l34_pcm_hw_params() local
551 if (coeff < 0) { in cs35l34_pcm_hw_params()
554 return coeff; in cs35l34_pcm_hw_params()
558 CS35L34_ADSP_RATE, cs35l34_mclk_coeffs[coeff].adsp_rate); in cs35l34_pcm_hw_params()
Dwcd934x.c3171 u32 coeff[BAND_MAX]; in wcd934x_put_iir_band_audio_mixer() local
3174 memcpy(&coeff[0], ucontrol->value.bytes.data, params->max); in wcd934x_put_iir_band_audio_mixer()
3181 set_iir_band_coeff(component, iir_idx, band_idx, coeff[0]); in wcd934x_put_iir_band_audio_mixer()
3182 set_iir_band_coeff(component, iir_idx, band_idx, coeff[1]); in wcd934x_put_iir_band_audio_mixer()
3183 set_iir_band_coeff(component, iir_idx, band_idx, coeff[2]); in wcd934x_put_iir_band_audio_mixer()
3184 set_iir_band_coeff(component, iir_idx, band_idx, coeff[3]); in wcd934x_put_iir_band_audio_mixer()
3185 set_iir_band_coeff(component, iir_idx, band_idx, coeff[4]); in wcd934x_put_iir_band_audio_mixer()
3200 u32 coeff[BAND_MAX]; in wcd934x_get_iir_band_audio_mixer() local
3202 coeff[0] = get_iir_band_coeff(component, iir_idx, band_idx, 0); in wcd934x_get_iir_band_audio_mixer()
3203 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/pci/hda/
Dpatch_cs8409.h295 unsigned int coeff; member
Dpatch_cs8409.c902 cs8409_vendor_coef_set(codec, seq->cir, seq->coeff); in cs8409_cs42l42_hw_init()
906 cs8409_vendor_coef_set(codec, seq_bullseye->cir, seq_bullseye->coeff); in cs8409_cs42l42_hw_init()
1125 cs8409_vendor_coef_set(codec, seq->cir, seq->coeff); in dolphin_hw_init()
/sound/soc/intel/skylake/
Dskl-topology.h151 s32 coeff[UP_DOWN_MIXER_MAX_COEFF]; member