Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dwm8988.c675 int coeff; in wm8988_pcm_hw_params() local
677 coeff = get_coeff(wm8988->sysclk, params_rate(params)); in wm8988_pcm_hw_params()
678 if (coeff < 0) { in wm8988_pcm_hw_params()
679 coeff = get_coeff(wm8988->sysclk / 2, params_rate(params)); in wm8988_pcm_hw_params()
682 if (coeff < 0) { in wm8988_pcm_hw_params()
686 return coeff; in wm8988_pcm_hw_params()
706 if (coeff >= 0) in wm8988_pcm_hw_params()
708 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8988_pcm_hw_params()
Dalc5623.c706 int coeff, rate; in alc5623_pcm_hw_params() local
733 coeff = get_coeff(codec, rate); in alc5623_pcm_hw_params()
734 if (coeff < 0) in alc5623_pcm_hw_params()
737 coeff = coeff_div[coeff].regvalue; in alc5623_pcm_hw_params()
739 __func__, alc5623->sysclk, rate, coeff); in alc5623_pcm_hw_params()
740 snd_soc_write(codec, ALC5623_STEREO_AD_DA_CLK_CTRL, coeff); in alc5623_pcm_hw_params()
Dalc5632.c874 int coeff, rate; in alc5632_pcm_hw_params() local
898 coeff = get_coeff(codec, rate); in alc5632_pcm_hw_params()
899 if (coeff < 0) in alc5632_pcm_hw_params()
902 coeff = coeff_div[coeff].regvalue; in alc5632_pcm_hw_params()
903 snd_soc_write(codec, ALC5632_DAC_CLK_CTRL1, coeff); in alc5632_pcm_hw_params()
Dwm8971.c517 int coeff = get_coeff(wm8971->sysclk, params_rate(params)); in wm8971_pcm_hw_params() local
536 if (coeff >= 0) in wm8971_pcm_hw_params()
538 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8971_pcm_hw_params()
Dwm8750.c586 int coeff = get_coeff(wm8750->sysclk, params_rate(params)); in wm8750_pcm_hw_params() local
605 if (coeff >= 0) in wm8750_pcm_hw_params()
607 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8750_pcm_hw_params()
Dwm8753.c1162 int coeff; in wm8753_i2s_hw_params() local
1165 coeff = get_coeff(wm8753->sysclk, params_rate(params)); in wm8753_i2s_hw_params()
1166 if (coeff < 0) { in wm8753_i2s_hw_params()
1168 return coeff; in wm8753_i2s_hw_params()
1170 snd_soc_write(codec, WM8753_SRATE1, srate | (coeff_div[coeff].sr << 1) | in wm8753_i2s_hw_params()
1171 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.c489 int coeff = cs35l33_get_mclk_coeff(priv->mclk_int, params_rate(params)); in cs35l33_pcm_hw_params() local
491 if (coeff < 0) in cs35l33_pcm_hw_params()
492 return coeff; in cs35l33_pcm_hw_params()
496 cs35l33_mclk_coeffs[coeff].int_fs_ratio in cs35l33_pcm_hw_params()
497 | cs35l33_mclk_coeffs[coeff].adsp_rate); in cs35l33_pcm_hw_params()
Dcs35l34.c554 int coeff = cs35l34_get_mclk_coeff(priv->mclk_int, srate); in cs35l34_pcm_hw_params() local
556 if (coeff < 0) { in cs35l34_pcm_hw_params()
559 return coeff; in cs35l34_pcm_hw_params()
563 CS35L34_ADSP_RATE, cs35l34_mclk_coeffs[coeff].adsp_rate); in cs35l34_pcm_hw_params()
/sound/soc/intel/skylake/
Dskl-topology.h163 s32 coeff[UP_DOWN_MIXER_MAX_COEFF]; member
Dskl-messages.c720 mixer_mconfig->coeff[i] = 0xDEADBEEF; in skl_set_updown_mixer_format()