/sound/soc/codecs/ |
D | msm8916-wcd-digital.c | 433 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 …]
|
D | wm8988.c | 672 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()
|
D | alc5623.c | 701 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()
|
D | alc5632.c | 871 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()
|
D | wm8971.c | 513 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()
|
D | wm8750.c | 583 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()
|
D | wm8753.c | 1159 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()
|
D | rt5631.c | 1357 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()
|
D | cs35l33.c | 483 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()
|
D | cs35l34.c | 548 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()
|
D | wcd934x.c | 2373 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/ |
D | fsl_easrc.h | 536 u64 coeff[8192]; member 546 u64 coeff[256]; member
|
D | fsl_easrc.c | 322 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/ |
D | skl-topology.h | 149 s32 coeff[UP_DOWN_MIXER_MAX_COEFF]; member
|