Symbol: coeff_div
sound/soc/codecs/alc5623.c
591
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/alc5623.c
607
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/alc5623.c
608
if (coeff_div[i].fs * rate == alc5623->sysclk)
sound/soc/codecs/alc5623.c
727
coeff = coeff_div[coeff].regvalue;
sound/soc/codecs/alc5632.c
771
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/alc5632.c
780
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/alc5632.c
781
if (coeff_div[i].fs * rate == alc5632->sysclk)
sound/soc/codecs/alc5632.c
899
coeff = coeff_div[coeff].regvalue;
sound/soc/codecs/es8323.c
355
static const struct coeff_div es8323_coeff_div[] = {
sound/soc/codecs/es8326.c
486
const struct _coeff_div *coeff_div)
sound/soc/codecs/es8326.c
491
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk)
sound/soc/codecs/es8326.c
555
const struct _coeff_div *coeff_div;
sound/soc/codecs/es8326.c
561
coeff_div = coeff_div_v0;
sound/soc/codecs/es8326.c
564
coeff_div = coeff_div_v3;
sound/soc/codecs/es8326.c
567
coeff = get_coeff(es8326->sysclk, params_rate(params), array, coeff_div);
sound/soc/codecs/es8326.c
594
coeff_div[coeff].reg4);
sound/soc/codecs/es8326.c
596
coeff_div[coeff].reg5);
sound/soc/codecs/es8326.c
598
coeff_div[coeff].reg6);
sound/soc/codecs/es8326.c
600
coeff_div[coeff].reg7);
sound/soc/codecs/es8326.c
602
coeff_div[coeff].reg8);
sound/soc/codecs/es8326.c
604
coeff_div[coeff].reg9);
sound/soc/codecs/es8326.c
606
coeff_div[coeff].rega);
sound/soc/codecs/es8326.c
608
coeff_div[coeff].regb);
sound/soc/codecs/es8375.c
200
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/es8375.c
271
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/es8375.c
272
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) {
sound/soc/codecs/es8375.c
273
vddd_det = ~(coeff_div[i].dvdd_vol ^ vddd) & 0x01;
sound/soc/codecs/es8375.c
274
dmic_det = ~(coeff_div[i].dmic_sel ^ dmic) & 0x01;
sound/soc/codecs/es8375.c
275
vddd_det |= ~(coeff_div[i].dvdd_vol % 2) & 0x01;
sound/soc/codecs/es8375.c
276
dmic_det |= ~(coeff_div[i].dmic_sel % 2) & 0x01;
sound/soc/codecs/es8375.c
325
coeff_div[coeff].Reg0x04);
sound/soc/codecs/es8375.c
327
coeff_div[coeff].Reg0x05);
sound/soc/codecs/es8375.c
329
coeff_div[coeff].Reg0x06);
sound/soc/codecs/es8375.c
331
coeff_div[coeff].Reg0x07);
sound/soc/codecs/es8375.c
333
coeff_div[coeff].Reg0x08);
sound/soc/codecs/es8375.c
335
coeff_div[coeff].Reg0x09);
sound/soc/codecs/es8375.c
337
coeff_div[coeff].Reg0x0A);
sound/soc/codecs/es8375.c
339
coeff_div[coeff].Reg0x0B);
sound/soc/codecs/es8375.c
341
coeff_div[coeff].Reg0x19);
sound/soc/codecs/es8389.c
384
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/es8389.c
471
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/es8389.c
472
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) {
sound/soc/codecs/es8389.c
473
vddd_det = ~(coeff_div[i].dvdd_vol ^ vddd) & 0x01;
sound/soc/codecs/es8389.c
474
dmic_det = ~(coeff_div[i].dmic_sel ^ dmic) & 0x01;
sound/soc/codecs/es8389.c
475
vddd_det |= ~(coeff_div[i].dvdd_vol % 2) & 0x01;
sound/soc/codecs/es8389.c
476
dmic_det |= ~(coeff_div[i].dmic_sel % 2) & 0x01;
sound/soc/codecs/es8389.c
615
regmap_write(es8389->regmap, ES8389_CLK_DIV1, coeff_div[coeff].Reg0x04);
sound/soc/codecs/es8389.c
616
regmap_write(es8389->regmap, ES8389_CLK_MUL, coeff_div[coeff].Reg0x05);
sound/soc/codecs/es8389.c
617
regmap_write(es8389->regmap, ES8389_CLK_MUX1, coeff_div[coeff].Reg0x06);
sound/soc/codecs/es8389.c
618
regmap_write(es8389->regmap, ES8389_CLK_MUX2, coeff_div[coeff].Reg0x07);
sound/soc/codecs/es8389.c
619
regmap_write(es8389->regmap, ES8389_CLK_CTL1, coeff_div[coeff].Reg0x08);
sound/soc/codecs/es8389.c
620
regmap_write(es8389->regmap, ES8389_CLK_CTL2, coeff_div[coeff].Reg0x09);
sound/soc/codecs/es8389.c
621
regmap_write(es8389->regmap, ES8389_CLK_CTL3, coeff_div[coeff].Reg0x0A);
sound/soc/codecs/es8389.c
623
0xC0, coeff_div[coeff].Reg0x0F);
sound/soc/codecs/es8389.c
624
regmap_write(es8389->regmap, ES8389_CLK_DIV2, coeff_div[coeff].Reg0x11);
sound/soc/codecs/es8389.c
625
regmap_write(es8389->regmap, ES8389_ADC_OSR, coeff_div[coeff].Reg0x21);
sound/soc/codecs/es8389.c
626
regmap_write(es8389->regmap, ES8389_ADC_DSP, coeff_div[coeff].Reg0x22);
sound/soc/codecs/es8389.c
627
regmap_write(es8389->regmap, ES8389_OSR_VOL, coeff_div[coeff].Reg0x26);
sound/soc/codecs/es8389.c
629
0xC0, coeff_div[coeff].Reg0x30);
sound/soc/codecs/es8389.c
630
regmap_write(es8389->regmap, ES8389_DAC_DSM_OSR, coeff_div[coeff].Reg0x41);
sound/soc/codecs/es8389.c
631
regmap_write(es8389->regmap, ES8389_DAC_DSP_OSR, coeff_div[coeff].Reg0x42);
sound/soc/codecs/es8389.c
633
0x81, coeff_div[coeff].Reg0x43);
sound/soc/codecs/es8389.c
635
0x72, coeff_div[coeff].Reg0xF0);
sound/soc/codecs/es8389.c
636
regmap_write(es8389->regmap, ES8389_CSM_STATE1, coeff_div[coeff].Reg0xF1);
sound/soc/codecs/es8389.c
637
regmap_write(es8389->regmap, ES8389_SYSTEM16, coeff_div[coeff].Reg0x16);
sound/soc/codecs/es8389.c
638
regmap_write(es8389->regmap, ES8389_SYSTEM18, coeff_div[coeff].Reg0x18);
sound/soc/codecs/es8389.c
639
regmap_write(es8389->regmap, ES8389_SYSTEM19, coeff_div[coeff].Reg0x19);
sound/soc/codecs/ml26124.c
183
static const struct clk_coeff coeff_div[] = {
sound/soc/codecs/ml26124.c
317
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/ml26124.c
318
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk)
sound/soc/codecs/ml26124.c
366
snd_soc_component_update_bits(component, ML26124_PLLNL, 0xff, coeff_div[i].pllnl);
sound/soc/codecs/ml26124.c
367
snd_soc_component_update_bits(component, ML26124_PLLNH, 0x1, coeff_div[i].pllnh);
sound/soc/codecs/ml26124.c
368
snd_soc_component_update_bits(component, ML26124_PLLML, 0xff, coeff_div[i].pllml);
sound/soc/codecs/ml26124.c
369
snd_soc_component_update_bits(component, ML26124_PLLMH, 0x3f, coeff_div[i].pllmh);
sound/soc/codecs/ml26124.c
370
snd_soc_component_update_bits(component, ML26124_PLLDIV, 0x1f, coeff_div[i].plldiv);
sound/soc/codecs/rt5631.c
1286
static const struct coeff_clk_div coeff_div[] = {
sound/soc/codecs/rt5631.c
1344
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/rt5631.c
1345
if (coeff_div[i].mclk == mclk && coeff_div[i].rate == rate &&
sound/soc/codecs/rt5631.c
1346
(coeff_div[i].bclk / coeff_div[i].rate) == timesofbclk)
sound/soc/codecs/rt5631.c
1399
coeff_div[coeff].reg_val);
sound/soc/codecs/wm8711.c
110
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/wm8711.c
148
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/wm8711.c
149
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk)
sound/soc/codecs/wm8711.c
163
u16 srate = (coeff_div[i].sr << 2) |
sound/soc/codecs/wm8711.c
164
(coeff_div[i].bosr << 1) | coeff_div[i].usb;
sound/soc/codecs/wm8731.c
238
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/wm8731.c
306
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/wm8731.c
307
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk)
sound/soc/codecs/wm8731.c
321
u16 srate = (coeff_div[i].sr << 2) |
sound/soc/codecs/wm8731.c
322
(coeff_div[i].bosr << 1) | coeff_div[i].usb;
sound/soc/codecs/wm8737.c
282
} coeff_div[] = {
sound/soc/codecs/wm8737.c
334
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/wm8737.c
335
if (coeff_div[i].rate != params_rate(params))
sound/soc/codecs/wm8737.c
338
if (coeff_div[i].mclk == wm8737->mclk)
sound/soc/codecs/wm8737.c
341
if (coeff_div[i].mclk == wm8737->mclk * 2) {
sound/soc/codecs/wm8737.c
347
if (i == ARRAY_SIZE(coeff_div)) {
sound/soc/codecs/wm8737.c
353
clocking |= coeff_div[i].usb | (coeff_div[i].sr << WM8737_SR_SHIFT);
sound/soc/codecs/wm8737.c
386
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/wm8737.c
387
if (freq == coeff_div[i].mclk ||
sound/soc/codecs/wm8737.c
388
freq == coeff_div[i].mclk * 2) {
sound/soc/codecs/wm8750.c
436
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/wm8750.c
489
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/wm8750.c
490
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk)
sound/soc/codecs/wm8750.c
604
(coeff_div[coeff].sr << 1) | coeff_div[coeff].usb);
sound/soc/codecs/wm8753.c
1167
snd_soc_component_write(component, WM8753_SRATE1, srate | (coeff_div[coeff].sr << 1) |
sound/soc/codecs/wm8753.c
1168
coeff_div[coeff].usb);
sound/soc/codecs/wm8753.c
798
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/wm8753.c
851
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/wm8753.c
852
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk)
sound/soc/codecs/wm8971.c
369
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/wm8971.c
422
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/wm8971.c
423
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk)
sound/soc/codecs/wm8971.c
534
(coeff_div[coeff].sr << 1) | coeff_div[coeff].usb);
sound/soc/codecs/wm8988.c
458
static const struct _coeff_div coeff_div[] = {
sound/soc/codecs/wm8988.c
511
for (i = 0; i < ARRAY_SIZE(coeff_div); i++) {
sound/soc/codecs/wm8988.c
512
if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk)
sound/soc/codecs/wm8988.c
705
(coeff_div[coeff].sr << 1) | coeff_div[coeff].usb);