Lines Matching +full:0 +full:x390000
41 { .type = WMFW_ADSP2_PM, .base = 0x200000 },
42 { .type = WMFW_ADSP2_ZM, .base = 0x280000 },
43 { .type = WMFW_ADSP2_XM, .base = 0x290000 },
44 { .type = WMFW_ADSP2_YM, .base = 0x2a8000 },
48 { .type = WMFW_ADSP2_PM, .base = 0x300000 },
49 { .type = WMFW_ADSP2_ZM, .base = 0x380000 },
50 { .type = WMFW_ADSP2_XM, .base = 0x390000 },
51 { .type = WMFW_ADSP2_YM, .base = 0x3a8000 },
68 if (ret != 0) { in cs47l24_adsp_power_ev()
80 static DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0);
81 static DECLARE_TLV_DB_SCALE(digital_tlv, -6400, 50, 0);
82 static DECLARE_TLV_DB_SCALE(noise_tlv, -13200, 600, 0);
83 static DECLARE_TLV_DB_SCALE(ng_tlv, -10200, 600, 0);
86 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \
87 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \
88 SOC_SINGLE(name " NG SPKOUT Switch", base, 6, 1, 0)
91 SOC_ENUM("IN1 OSR", arizona_in_dmic_osr[0]),
97 ARIZONA_IN1L_HPF_SHIFT, 1, 0),
99 ARIZONA_IN1R_HPF_SHIFT, 1, 0),
101 ARIZONA_IN2L_HPF_SHIFT, 1, 0),
103 ARIZONA_IN2R_HPF_SHIFT, 1, 0),
106 ARIZONA_IN1L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
108 ARIZONA_IN1R_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
110 ARIZONA_IN2L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
112 ARIZONA_IN2R_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
122 24, 0, eq_tlv),
124 24, 0, eq_tlv),
126 24, 0, eq_tlv),
128 24, 0, eq_tlv),
130 24, 0, eq_tlv),
134 24, 0, eq_tlv),
136 24, 0, eq_tlv),
138 24, 0, eq_tlv),
140 24, 0, eq_tlv),
142 24, 0, eq_tlv),
169 SOC_ENUM("ISRC1 FSL", arizona_isrc_fsl[0]),
172 SOC_ENUM("ISRC1 FSH", arizona_isrc_fsh[0]),
186 ARIZONA_NOISE_GEN_GAIN_SHIFT, 0x16, 0, noise_tlv),
193 ARIZONA_HP1_SC_ENA_SHIFT, 1, 0),
202 0xbf, 0, digital_tlv),
204 ARIZONA_OUT4L_VOL_SHIFT, 0xbf, 0, digital_tlv),
210 ARIZONA_NGATE_ENA_SHIFT, 1, 0),
329 0, 1, 6,
334 ARIZONA_AEC_LOOPBACK_SRC_SHIFT, 0xf,
344 ARIZONA_SYSCLK_ENA_SHIFT, 0, arizona_clk_ev,
347 ARIZONA_ASYNC_CLK_ENA_SHIFT, 0, arizona_clk_ev,
350 ARIZONA_OPCLK_ENA_SHIFT, 0, NULL, 0),
352 ARIZONA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0),
354 SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20, 0),
355 SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0, SND_SOC_DAPM_REGULATOR_BYPASS),
356 SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDD", 0, 0),
372 SND_SOC_DAPM_SWITCH("DSP3 Voice Trigger", SND_SOC_NOPM, 2, 0,
376 0, NULL, 0, arizona_in_ev,
380 0, NULL, 0, arizona_in_ev,
384 0, NULL, 0, arizona_in_ev,
388 0, NULL, 0, arizona_in_ev,
393 ARIZONA_MICB1_ENA_SHIFT, 0, NULL, 0),
395 ARIZONA_MICB1_ENA_SHIFT, 0, NULL, 0),
398 ARIZONA_NOISE_GEN_ENA_SHIFT, 0, NULL, 0),
401 ARIZONA_TONE1_ENA_SHIFT, 0, NULL, 0),
403 ARIZONA_TONE2_ENA_SHIFT, 0, NULL, 0),
405 SND_SOC_DAPM_PGA("EQ1", ARIZONA_EQ1_1, ARIZONA_EQ1_ENA_SHIFT, 0, NULL, 0),
406 SND_SOC_DAPM_PGA("EQ2", ARIZONA_EQ2_1, ARIZONA_EQ2_ENA_SHIFT, 0, NULL, 0),
408 SND_SOC_DAPM_PGA("DRC1L", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1L_ENA_SHIFT, 0,
409 NULL, 0),
410 SND_SOC_DAPM_PGA("DRC1R", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1R_ENA_SHIFT, 0,
411 NULL, 0),
412 SND_SOC_DAPM_PGA("DRC2L", ARIZONA_DRC2_CTRL1, ARIZONA_DRC2L_ENA_SHIFT, 0,
413 NULL, 0),
414 SND_SOC_DAPM_PGA("DRC2R", ARIZONA_DRC2_CTRL1, ARIZONA_DRC2R_ENA_SHIFT, 0,
415 NULL, 0),
417 SND_SOC_DAPM_PGA("LHPF1", ARIZONA_HPLPF1_1, ARIZONA_LHPF1_ENA_SHIFT, 0,
418 NULL, 0),
419 SND_SOC_DAPM_PGA("LHPF2", ARIZONA_HPLPF2_1, ARIZONA_LHPF2_ENA_SHIFT, 0,
420 NULL, 0),
421 SND_SOC_DAPM_PGA("LHPF3", ARIZONA_HPLPF3_1, ARIZONA_LHPF3_ENA_SHIFT, 0,
422 NULL, 0),
423 SND_SOC_DAPM_PGA("LHPF4", ARIZONA_HPLPF4_1, ARIZONA_LHPF4_ENA_SHIFT, 0,
424 NULL, 0),
427 0, NULL, 0),
429 0, NULL, 0),
431 SND_SOC_DAPM_PGA("ASRC1L", ARIZONA_ASRC_ENABLE, ARIZONA_ASRC1L_ENA_SHIFT, 0,
432 NULL, 0),
433 SND_SOC_DAPM_PGA("ASRC1R", ARIZONA_ASRC_ENABLE, ARIZONA_ASRC1R_ENA_SHIFT, 0,
434 NULL, 0),
435 SND_SOC_DAPM_PGA("ASRC2L", ARIZONA_ASRC_ENABLE, ARIZONA_ASRC2L_ENA_SHIFT, 0,
436 NULL, 0),
437 SND_SOC_DAPM_PGA("ASRC2R", ARIZONA_ASRC_ENABLE, ARIZONA_ASRC2R_ENA_SHIFT, 0,
438 NULL, 0),
444 ARIZONA_ISRC1_INT0_ENA_SHIFT, 0, NULL, 0),
446 ARIZONA_ISRC1_INT1_ENA_SHIFT, 0, NULL, 0),
448 ARIZONA_ISRC1_INT2_ENA_SHIFT, 0, NULL, 0),
450 ARIZONA_ISRC1_INT3_ENA_SHIFT, 0, NULL, 0),
453 ARIZONA_ISRC1_DEC0_ENA_SHIFT, 0, NULL, 0),
455 ARIZONA_ISRC1_DEC1_ENA_SHIFT, 0, NULL, 0),
457 ARIZONA_ISRC1_DEC2_ENA_SHIFT, 0, NULL, 0),
459 ARIZONA_ISRC1_DEC3_ENA_SHIFT, 0, NULL, 0),
462 ARIZONA_ISRC2_INT0_ENA_SHIFT, 0, NULL, 0),
464 ARIZONA_ISRC2_INT1_ENA_SHIFT, 0, NULL, 0),
466 ARIZONA_ISRC2_INT2_ENA_SHIFT, 0, NULL, 0),
468 ARIZONA_ISRC2_INT3_ENA_SHIFT, 0, NULL, 0),
471 ARIZONA_ISRC2_DEC0_ENA_SHIFT, 0, NULL, 0),
473 ARIZONA_ISRC2_DEC1_ENA_SHIFT, 0, NULL, 0),
475 ARIZONA_ISRC2_DEC2_ENA_SHIFT, 0, NULL, 0),
477 ARIZONA_ISRC2_DEC3_ENA_SHIFT, 0, NULL, 0),
480 ARIZONA_ISRC3_INT0_ENA_SHIFT, 0, NULL, 0),
482 ARIZONA_ISRC3_INT1_ENA_SHIFT, 0, NULL, 0),
484 ARIZONA_ISRC3_INT2_ENA_SHIFT, 0, NULL, 0),
486 ARIZONA_ISRC3_INT3_ENA_SHIFT, 0, NULL, 0),
489 ARIZONA_ISRC3_DEC0_ENA_SHIFT, 0, NULL, 0),
491 ARIZONA_ISRC3_DEC1_ENA_SHIFT, 0, NULL, 0),
493 ARIZONA_ISRC3_DEC2_ENA_SHIFT, 0, NULL, 0),
495 ARIZONA_ISRC3_DEC3_ENA_SHIFT, 0, NULL, 0),
498 ARIZONA_AEC_LOOPBACK_ENA_SHIFT, 0, &cs47l24_aec_loopback_mux),
500 SND_SOC_DAPM_AIF_OUT("AIF1TX1", NULL, 0,
501 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX1_ENA_SHIFT, 0),
503 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX2_ENA_SHIFT, 0),
505 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX3_ENA_SHIFT, 0),
507 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX4_ENA_SHIFT, 0),
509 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX5_ENA_SHIFT, 0),
511 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX6_ENA_SHIFT, 0),
513 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX7_ENA_SHIFT, 0),
515 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX8_ENA_SHIFT, 0),
517 SND_SOC_DAPM_AIF_IN("AIF1RX1", NULL, 0,
518 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX1_ENA_SHIFT, 0),
520 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX2_ENA_SHIFT, 0),
522 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX3_ENA_SHIFT, 0),
524 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX4_ENA_SHIFT, 0),
526 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX5_ENA_SHIFT, 0),
528 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX6_ENA_SHIFT, 0),
530 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX7_ENA_SHIFT, 0),
532 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX8_ENA_SHIFT, 0),
534 SND_SOC_DAPM_AIF_OUT("AIF2TX1", NULL, 0,
535 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX1_ENA_SHIFT, 0),
537 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX2_ENA_SHIFT, 0),
539 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX3_ENA_SHIFT, 0),
541 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX4_ENA_SHIFT, 0),
543 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX5_ENA_SHIFT, 0),
545 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX6_ENA_SHIFT, 0),
547 SND_SOC_DAPM_AIF_IN("AIF2RX1", NULL, 0,
548 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX1_ENA_SHIFT, 0),
550 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX2_ENA_SHIFT, 0),
552 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX3_ENA_SHIFT, 0),
554 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX4_ENA_SHIFT, 0),
556 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX5_ENA_SHIFT, 0),
558 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX6_ENA_SHIFT, 0),
560 SND_SOC_DAPM_AIF_OUT("AIF3TX1", NULL, 0,
561 ARIZONA_AIF3_TX_ENABLES, ARIZONA_AIF3TX1_ENA_SHIFT, 0),
563 ARIZONA_AIF3_TX_ENABLES, ARIZONA_AIF3TX2_ENA_SHIFT, 0),
565 SND_SOC_DAPM_AIF_IN("AIF3RX1", NULL, 0,
566 ARIZONA_AIF3_RX_ENABLES, ARIZONA_AIF3RX1_ENA_SHIFT, 0),
568 ARIZONA_AIF3_RX_ENABLES, ARIZONA_AIF3RX2_ENA_SHIFT, 0),
571 ARIZONA_OUT1L_ENA_SHIFT, 0, NULL, 0, arizona_hp_ev,
575 ARIZONA_OUT1R_ENA_SHIFT, 0, NULL, 0, arizona_hp_ev,
941 return arizona_set_fll(&cs47l24->fll[0], source, Fref, Fout); in cs47l24_set_fll()
945 return arizona_set_fll_refclk(&cs47l24->fll[0], source, Fref, in cs47l24_set_fll()
1083 if (strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, "cs47l24-dsp-voicectrl") == 0) { in cs47l24_open()
1085 } else if (strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, "cs47l24-dsp-trace") == 0) { in cs47l24_open()
1090 snd_soc_rtd_to_codec(rtd, 0)->name); in cs47l24_open()
1102 int serviced = 0; in cs47l24_adsp2_irq()
1136 if (ret < 0) in cs47l24_component_probe()
1158 return 0; in cs47l24_component_probe()
1177 #define CS47L24_DIG_VU 0x0200
1228 if (ret < 0) in cs47l24_probe()
1246 (0x100 * i); in cs47l24_probe()
1252 if (ret != 0) in cs47l24_probe()
1256 for (i = 0; i < ARRAY_SIZE(cs47l24->fll); i++) in cs47l24_probe()
1261 &cs47l24->fll[0]); in cs47l24_probe()
1268 ARIZONA_SAMPLE_RATE_2_MASK, 0x11); in cs47l24_probe()
1270 ARIZONA_SAMPLE_RATE_3_MASK, 0x12); in cs47l24_probe()
1272 for (i = 0; i < ARRAY_SIZE(cs47l24_dai); i++) in cs47l24_probe()
1276 for (i = 0; i < ARRAY_SIZE(cs47l24_digital_vu); i++) in cs47l24_probe()
1286 if (ret != 0) { in cs47l24_probe()
1292 if (ret != 0) in cs47l24_probe()
1300 if (ret < 0) in cs47l24_probe()
1303 if (ret < 0) in cs47l24_probe()
1310 if (ret < 0) { in cs47l24_probe()
1320 arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 0); in cs47l24_probe()
1338 arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 0); in cs47l24_remove()