Searched refs:coeff_div (Results 1 – 11 of 11) sorted by relevance
/sound/soc/codecs/ |
D | wm8737.c | 285 } coeff_div[] = { variable 337 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in wm8737_hw_params() 338 if (coeff_div[i].rate != params_rate(params)) in wm8737_hw_params() 341 if (coeff_div[i].mclk == wm8737->mclk) in wm8737_hw_params() 344 if (coeff_div[i].mclk == wm8737->mclk * 2) { in wm8737_hw_params() 350 if (i == ARRAY_SIZE(coeff_div)) { in wm8737_hw_params() 356 clocking |= coeff_div[i].usb | (coeff_div[i].sr << WM8737_SR_SHIFT); in wm8737_hw_params() 389 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in wm8737_set_dai_sysclk() 390 if (freq == coeff_div[i].mclk || in wm8737_set_dai_sysclk() 391 freq == coeff_div[i].mclk * 2) { in wm8737_set_dai_sysclk()
|
D | ml26124.c | 196 static const struct clk_coeff coeff_div[] = { variable 330 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 331 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 379 snd_soc_update_bits(codec, ML26124_PLLNL, 0xff, coeff_div[i].pllnl); in ml26124_hw_params() 380 snd_soc_update_bits(codec, ML26124_PLLNH, 0x1, coeff_div[i].pllnh); in ml26124_hw_params() 381 snd_soc_update_bits(codec, ML26124_PLLML, 0xff, coeff_div[i].pllml); in ml26124_hw_params() 382 snd_soc_update_bits(codec, ML26124_PLLMH, 0x3f, coeff_div[i].pllmh); in ml26124_hw_params() 383 snd_soc_update_bits(codec, ML26124_PLLDIV, 0x1f, coeff_div[i].plldiv); in ml26124_hw_params()
|
D | wm8711.c | 113 static const struct _coeff_div coeff_div[] = { variable 151 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 152 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 166 u16 srate = (coeff_div[i].sr << 2) | in wm8711_hw_params() 167 (coeff_div[i].bosr << 1) | coeff_div[i].usb; in wm8711_hw_params()
|
D | wm8971.c | 373 static const struct _coeff_div coeff_div[] = { variable 426 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 427 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 538 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8971_pcm_hw_params()
|
D | wm8750.c | 439 static const struct _coeff_div coeff_div[] = { variable 492 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 493 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 607 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8750_pcm_hw_params()
|
D | wm8731.c | 261 static const struct _coeff_div coeff_div[] = { variable 329 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 330 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 344 u16 srate = (coeff_div[i].sr << 2) | in wm8731_hw_params() 345 (coeff_div[i].bosr << 1) | coeff_div[i].usb; in wm8731_hw_params()
|
D | wm8988.c | 461 static const struct _coeff_div coeff_div[] = { variable 514 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 515 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 708 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8988_pcm_hw_params()
|
D | rt5631.c | 1286 static struct coeff_clk_div coeff_div[] = { variable 1344 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 1345 if (coeff_div[i].mclk == mclk && coeff_div[i].rate == rate && in get_coeff() 1346 (coeff_div[i].bclk / coeff_div[i].rate) == timesofbclk) in get_coeff() 1399 coeff_div[coeff].reg_val); in rt5631_hifi_pcm_params()
|
D | wm8753.c | 803 static const struct _coeff_div coeff_div[] = { variable 856 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 857 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 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()
|
D | alc5623.c | 596 static const struct _coeff_div coeff_div[] = { variable 612 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 613 if (coeff_div[i].fs * rate == alc5623->sysclk) in get_coeff() 737 coeff = coeff_div[coeff].regvalue; in alc5623_pcm_hw_params()
|
D | alc5632.c | 774 static const struct _coeff_div coeff_div[] = { variable 783 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 784 if (coeff_div[i].fs * rate == alc5632->sysclk) in get_coeff() 902 coeff = coeff_div[coeff].regvalue; in alc5632_pcm_hw_params()
|