Lines Matching +full:0 +full:x3060
37 static DECLARE_TLV_DB_SCALE(ana_tlv, 0, 100, 0);
38 static DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0);
39 static DECLARE_TLV_DB_SCALE(digital_tlv, -6400, 50, 0);
40 static DECLARE_TLV_DB_SCALE(noise_tlv, -13200, 600, 0);
41 static DECLARE_TLV_DB_SCALE(ng_tlv, -10200, 600, 0);
44 { 0x301D, 0x7B15 },
45 { 0x301B, 0x0050 },
46 { 0x305D, 0x7B17 },
47 { 0x305B, 0x0050 },
48 { 0x3001, 0x08FE },
49 { 0x3003, 0x00F4 },
50 { 0x3041, 0x08FF },
51 { 0x3043, 0x0005 },
52 { 0x3020, 0x0225 },
53 { 0x3021, 0x0A00 },
54 { 0x3022, 0xE24D },
55 { 0x3023, 0x0800 },
56 { 0x3024, 0xE24D },
57 { 0x3025, 0xF000 },
58 { 0x3060, 0x0226 },
59 { 0x3061, 0x0A00 },
60 { 0x3062, 0xE252 },
61 { 0x3063, 0x0800 },
62 { 0x3064, 0xE252 },
63 { 0x3065, 0xF000 },
64 { 0x3116, 0x022B },
65 { 0x3117, 0xFA00 },
66 { 0x3110, 0x246C },
67 { 0x3111, 0x0A03 },
68 { 0x3112, 0x246E },
69 { 0x3113, 0x0A03 },
70 { 0x3114, 0x2470 },
71 { 0x3115, 0x0A03 },
72 { 0x3126, 0x246C },
73 { 0x3127, 0x0A02 },
74 { 0x3128, 0x246E },
75 { 0x3129, 0x0A02 },
76 { 0x312A, 0x2470 },
77 { 0x312B, 0xFA02 },
78 { 0x3125, 0x0800 },
91 case 0: in wm8997_sysclk_ev()
102 for (i = 0; i < patch_size; i++) in wm8997_sysclk_ev()
112 return 0; in wm8997_sysclk_ev()
123 0x0, 0x3, 0x5,
128 ARIZONA_OUT1_OSR_SHIFT, 0x7,
132 ARIZONA_OUT3_OSR_SHIFT, 0x7,
138 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \
139 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \
140 SOC_SINGLE(name " NG EPOUT Switch", base, 4, 1, 0), \
141 SOC_SINGLE(name " NG SPKOUT Switch", base, 6, 1, 0), \
142 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \
143 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0)
147 ARIZONA_IN1_OSR_SHIFT, 1, 0),
149 ARIZONA_IN2_OSR_SHIFT, 1, 0),
152 ARIZONA_IN1L_PGA_VOL_SHIFT, 0x40, 0x5f, 0, ana_tlv),
154 ARIZONA_IN1R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, ana_tlv),
156 ARIZONA_IN2L_PGA_VOL_SHIFT, 0x40, 0x5f, 0, ana_tlv),
158 ARIZONA_IN2R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, ana_tlv),
161 ARIZONA_IN1L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
163 ARIZONA_IN1R_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
165 ARIZONA_IN2L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
167 ARIZONA_IN2R_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
179 24, 0, eq_tlv),
181 24, 0, eq_tlv),
183 24, 0, eq_tlv),
185 24, 0, eq_tlv),
187 24, 0, eq_tlv),
191 24, 0, eq_tlv),
193 24, 0, eq_tlv),
195 24, 0, eq_tlv),
197 24, 0, eq_tlv),
199 24, 0, eq_tlv),
203 24, 0, eq_tlv),
205 24, 0, eq_tlv),
207 24, 0, eq_tlv),
209 24, 0, eq_tlv),
211 24, 0, eq_tlv),
215 24, 0, eq_tlv),
217 24, 0, eq_tlv),
219 24, 0, eq_tlv),
221 24, 0, eq_tlv),
223 24, 0, eq_tlv),
246 SOC_ENUM("ISRC1 FSL", arizona_isrc_fsl[0]),
253 ARIZONA_NOISE_GEN_GAIN_SHIFT, 0x16, 0, noise_tlv),
263 ARIZONA_OUT4_OSR_SHIFT, 1, 0),
265 ARIZONA_OUT5_OSR_SHIFT, 1, 0),
278 0xbf, 0, digital_tlv),
280 ARIZONA_OUT3L_VOL_SHIFT, 0xbf, 0, digital_tlv),
282 ARIZONA_OUT4L_VOL_SHIFT, 0xbf, 0, digital_tlv),
285 0xbf, 0, digital_tlv),
287 SOC_ENUM("HPOUT1 OSR", wm8997_hpout_osr[0]),
297 ARIZONA_NGATE_ENA_SHIFT, 1, 0),
395 0, 1, 4, 6, 8, 9,
400 ARIZONA_AEC_LOOPBACK_SRC_SHIFT, 0xf,
410 0, wm8997_sysclk_ev,
414 ARIZONA_ASYNC_CLK_ENA_SHIFT, 0, arizona_clk_ev,
417 ARIZONA_OPCLK_ENA_SHIFT, 0, NULL, 0),
419 ARIZONA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0),
421 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0, 0),
422 SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20, 0),
423 SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0, SND_SOC_DAPM_REGULATOR_BYPASS),
424 SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDD", 0, 0),
436 0, NULL, 0, arizona_in_ev,
440 0, NULL, 0, arizona_in_ev,
444 0, NULL, 0, arizona_in_ev,
448 0, NULL, 0, arizona_in_ev,
453 ARIZONA_MICB1_ENA_SHIFT, 0, NULL, 0),
455 ARIZONA_MICB2_ENA_SHIFT, 0, NULL, 0),
457 ARIZONA_MICB3_ENA_SHIFT, 0, NULL, 0),
460 ARIZONA_NOISE_GEN_ENA_SHIFT, 0, NULL, 0),
463 ARIZONA_TONE1_ENA_SHIFT, 0, NULL, 0),
465 ARIZONA_TONE2_ENA_SHIFT, 0, NULL, 0),
468 ARIZONA_MICMUTE_MIX_ENA_SHIFT, 0, NULL, 0),
470 SND_SOC_DAPM_PGA("EQ1", ARIZONA_EQ1_1, ARIZONA_EQ1_ENA_SHIFT, 0, NULL, 0),
471 SND_SOC_DAPM_PGA("EQ2", ARIZONA_EQ2_1, ARIZONA_EQ2_ENA_SHIFT, 0, NULL, 0),
472 SND_SOC_DAPM_PGA("EQ3", ARIZONA_EQ3_1, ARIZONA_EQ3_ENA_SHIFT, 0, NULL, 0),
473 SND_SOC_DAPM_PGA("EQ4", ARIZONA_EQ4_1, ARIZONA_EQ4_ENA_SHIFT, 0, NULL, 0),
475 SND_SOC_DAPM_PGA("DRC1L", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1L_ENA_SHIFT, 0,
476 NULL, 0),
477 SND_SOC_DAPM_PGA("DRC1R", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1R_ENA_SHIFT, 0,
478 NULL, 0),
480 SND_SOC_DAPM_PGA("LHPF1", ARIZONA_HPLPF1_1, ARIZONA_LHPF1_ENA_SHIFT, 0,
481 NULL, 0),
482 SND_SOC_DAPM_PGA("LHPF2", ARIZONA_HPLPF2_1, ARIZONA_LHPF2_ENA_SHIFT, 0,
483 NULL, 0),
484 SND_SOC_DAPM_PGA("LHPF3", ARIZONA_HPLPF3_1, ARIZONA_LHPF3_ENA_SHIFT, 0,
485 NULL, 0),
486 SND_SOC_DAPM_PGA("LHPF4", ARIZONA_HPLPF4_1, ARIZONA_LHPF4_ENA_SHIFT, 0,
487 NULL, 0),
490 0, NULL, 0),
492 0, NULL, 0),
495 ARIZONA_ISRC1_INT0_ENA_SHIFT, 0, NULL, 0),
497 ARIZONA_ISRC1_INT1_ENA_SHIFT, 0, NULL, 0),
500 ARIZONA_ISRC1_DEC0_ENA_SHIFT, 0, NULL, 0),
502 ARIZONA_ISRC1_DEC1_ENA_SHIFT, 0, NULL, 0),
505 ARIZONA_ISRC2_INT0_ENA_SHIFT, 0, NULL, 0),
507 ARIZONA_ISRC2_INT1_ENA_SHIFT, 0, NULL, 0),
510 ARIZONA_ISRC2_DEC0_ENA_SHIFT, 0, NULL, 0),
512 ARIZONA_ISRC2_DEC1_ENA_SHIFT, 0, NULL, 0),
514 SND_SOC_DAPM_AIF_OUT("AIF1TX1", NULL, 0,
515 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX1_ENA_SHIFT, 0),
517 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX2_ENA_SHIFT, 0),
519 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX3_ENA_SHIFT, 0),
521 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX4_ENA_SHIFT, 0),
523 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX5_ENA_SHIFT, 0),
525 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX6_ENA_SHIFT, 0),
527 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX7_ENA_SHIFT, 0),
529 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX8_ENA_SHIFT, 0),
531 SND_SOC_DAPM_AIF_IN("AIF1RX1", NULL, 0,
532 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX1_ENA_SHIFT, 0),
534 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX2_ENA_SHIFT, 0),
536 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX3_ENA_SHIFT, 0),
538 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX4_ENA_SHIFT, 0),
540 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX5_ENA_SHIFT, 0),
542 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX6_ENA_SHIFT, 0),
544 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX7_ENA_SHIFT, 0),
546 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX8_ENA_SHIFT, 0),
548 SND_SOC_DAPM_AIF_OUT("AIF2TX1", NULL, 0,
549 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX1_ENA_SHIFT, 0),
551 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX2_ENA_SHIFT, 0),
553 SND_SOC_DAPM_AIF_IN("AIF2RX1", NULL, 0,
554 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX1_ENA_SHIFT, 0),
556 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX2_ENA_SHIFT, 0),
558 SND_SOC_DAPM_AIF_OUT("SLIMTX1", NULL, 0,
560 ARIZONA_SLIMTX1_ENA_SHIFT, 0),
563 ARIZONA_SLIMTX2_ENA_SHIFT, 0),
566 ARIZONA_SLIMTX3_ENA_SHIFT, 0),
569 ARIZONA_SLIMTX4_ENA_SHIFT, 0),
572 ARIZONA_SLIMTX5_ENA_SHIFT, 0),
575 ARIZONA_SLIMTX6_ENA_SHIFT, 0),
578 ARIZONA_SLIMTX7_ENA_SHIFT, 0),
581 ARIZONA_SLIMTX8_ENA_SHIFT, 0),
583 SND_SOC_DAPM_AIF_IN("SLIMRX1", NULL, 0,
585 ARIZONA_SLIMRX1_ENA_SHIFT, 0),
588 ARIZONA_SLIMRX2_ENA_SHIFT, 0),
591 ARIZONA_SLIMRX3_ENA_SHIFT, 0),
594 ARIZONA_SLIMRX4_ENA_SHIFT, 0),
597 ARIZONA_SLIMRX5_ENA_SHIFT, 0),
600 ARIZONA_SLIMRX6_ENA_SHIFT, 0),
603 ARIZONA_SLIMRX7_ENA_SHIFT, 0),
606 ARIZONA_SLIMRX8_ENA_SHIFT, 0),
609 ARIZONA_AEC_LOOPBACK_ENA_SHIFT, 0, &wm8997_aec_loopback_mux),
612 ARIZONA_OUT1L_ENA_SHIFT, 0, NULL, 0, arizona_hp_ev,
616 ARIZONA_OUT1R_ENA_SHIFT, 0, NULL, 0, arizona_hp_ev,
620 ARIZONA_OUT3L_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
624 ARIZONA_OUT5L_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
627 ARIZONA_OUT5R_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
933 return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout); in wm8997_set_fll()
937 return arizona_set_fll_refclk(&wm8997->fll[0], source, Fref, in wm8997_set_fll()
1066 if (ret < 0) in wm8997_component_probe()
1073 return 0; in wm8997_component_probe()
1083 #define WM8997_DIG_VU 0x0200
1125 if (ret < 0) in wm8997_probe()
1140 for (i = 0; i < ARRAY_SIZE(wm8997->fll); i++) in wm8997_probe()
1145 &wm8997->fll[0]); in wm8997_probe()
1152 ARIZONA_SAMPLE_RATE_2_MASK, 0x11); in wm8997_probe()
1154 ARIZONA_SAMPLE_RATE_3_MASK, 0x12); in wm8997_probe()
1156 for (i = 0; i < ARRAY_SIZE(wm8997_dai); i++) in wm8997_probe()
1160 for (i = 0; i < ARRAY_SIZE(wm8997_digital_vu); i++) in wm8997_probe()
1170 if (ret < 0) in wm8997_probe()
1173 if (ret < 0) in wm8997_probe()
1180 if (ret < 0) { in wm8997_probe()