Lines Matching +full:0 +full:xf100
49 { .type = WMFW_ADSP2_PM, .base = 0x100000 },
50 { .type = WMFW_ADSP2_ZM, .base = 0x180000 },
51 { .type = WMFW_ADSP2_XM, .base = 0x190000 },
52 { .type = WMFW_ADSP2_YM, .base = 0x1a8000 },
56 { .type = WMFW_ADSP2_PM, .base = 0x200000 },
57 { .type = WMFW_ADSP2_ZM, .base = 0x280000 },
58 { .type = WMFW_ADSP2_XM, .base = 0x290000 },
59 { .type = WMFW_ADSP2_YM, .base = 0x2a8000 },
63 { .type = WMFW_ADSP2_PM, .base = 0x300000 },
64 { .type = WMFW_ADSP2_ZM, .base = 0x380000 },
65 { .type = WMFW_ADSP2_XM, .base = 0x390000 },
66 { .type = WMFW_ADSP2_YM, .base = 0x3a8000 },
70 { .type = WMFW_ADSP2_PM, .base = 0x400000 },
71 { .type = WMFW_ADSP2_ZM, .base = 0x480000 },
72 { .type = WMFW_ADSP2_XM, .base = 0x490000 },
73 { .type = WMFW_ADSP2_YM, .base = 0x4a8000 },
84 { 0x3093, 0x1001 },
85 { 0x30E3, 0x1301 },
86 { 0x3133, 0x1201 },
87 { 0x3183, 0x1501 },
88 { 0x31D3, 0x1401 },
89 { 0x0049, 0x01ea },
90 { 0x004a, 0x01f2 },
91 { 0x0057, 0x01e7 },
92 { 0x0058, 0x01fb },
93 { 0x33ce, 0xc4f5 },
94 { 0x33cf, 0x1361 },
95 { 0x33d0, 0x0402 },
96 { 0x33d1, 0x4700 },
97 { 0x33d2, 0x026d },
98 { 0x33d3, 0xff00 },
99 { 0x33d4, 0x026d },
100 { 0x33d5, 0x0101 },
101 { 0x33d6, 0xc4f5 },
102 { 0x33d7, 0x0361 },
103 { 0x33d8, 0x0402 },
104 { 0x33d9, 0x6701 },
105 { 0x33da, 0xc4f5 },
106 { 0x33db, 0x136f },
107 { 0x33dc, 0xc4f5 },
108 { 0x33dd, 0x134f },
109 { 0x33de, 0xc4f5 },
110 { 0x33df, 0x131f },
111 { 0x33e0, 0x026d },
112 { 0x33e1, 0x4f01 },
113 { 0x33e2, 0x026d },
114 { 0x33e3, 0xf100 },
115 { 0x33e4, 0x026d },
116 { 0x33e5, 0x0001 },
117 { 0x33e6, 0xc4f5 },
118 { 0x33e7, 0x0361 },
119 { 0x33e8, 0x0402 },
120 { 0x33e9, 0x6601 },
121 { 0x33ea, 0xc4f5 },
122 { 0x33eb, 0x136f },
123 { 0x33ec, 0xc4f5 },
124 { 0x33ed, 0x134f },
125 { 0x33ee, 0xc4f5 },
126 { 0x33ef, 0x131f },
127 { 0x33f0, 0x026d },
128 { 0x33f1, 0x4e01 },
129 { 0x33f2, 0x026d },
130 { 0x33f3, 0xf000 },
131 { 0x33f6, 0xc4f5 },
132 { 0x33f7, 0x1361 },
133 { 0x33f8, 0x0402 },
134 { 0x33f9, 0x4600 },
135 { 0x33fa, 0x026d },
136 { 0x33fb, 0xfe00 },
140 { 0x3270, 0xE410 },
141 { 0x3271, 0x3078 },
142 { 0x3272, 0xE410 },
143 { 0x3273, 0x3070 },
144 { 0x3274, 0xE410 },
145 { 0x3275, 0x3066 },
146 { 0x3276, 0xE410 },
147 { 0x3277, 0x3056 },
148 { 0x327A, 0xE414 },
149 { 0x327B, 0x3078 },
150 { 0x327C, 0xE414 },
151 { 0x327D, 0x3070 },
152 { 0x327E, 0xE414 },
153 { 0x327F, 0x3066 },
154 { 0x3280, 0xE414 },
155 { 0x3281, 0x3056 },
181 for (i = 0; i < patch_size; i++) in wm5110_sysclk_ev()
192 return 0; in wm5110_sysclk_ev()
204 if (ret != 0) { in wm5110_adsp_power_ev()
217 { 0x3024, 0xE410 },
218 { 0x3025, 0x0056 },
219 { 0x301B, 0x0224 },
220 { 0x301F, 0x4263 },
221 { 0x3021, 0x5291 },
222 { 0x3030, 0xE410 },
223 { 0x3031, 0x3066 },
224 { 0x3032, 0xE410 },
225 { 0x3033, 0x3070 },
226 { 0x3034, 0xE410 },
227 { 0x3035, 0x3078 },
228 { 0x3036, 0xE410 },
229 { 0x3037, 0x3080 },
230 { 0x3038, 0xE410 },
231 { 0x3039, 0x3080 },
235 { 0x3024, 0x0231 },
236 { 0x3025, 0x0B00 },
237 { 0x301B, 0x0227 },
238 { 0x301F, 0x4266 },
239 { 0x3021, 0x5294 },
240 { 0x3030, 0xE231 },
241 { 0x3031, 0x0266 },
242 { 0x3032, 0x8231 },
243 { 0x3033, 0x4B15 },
244 { 0x3034, 0x8231 },
245 { 0x3035, 0x0B15 },
246 { 0x3036, 0xE231 },
247 { 0x3037, 0x5294 },
248 { 0x3038, 0x0231 },
249 { 0x3039, 0x0B00 },
253 { 0x3074, 0xE414 },
254 { 0x3075, 0x0056 },
255 { 0x306B, 0x0224 },
256 { 0x306F, 0x4263 },
257 { 0x3071, 0x5291 },
258 { 0x3080, 0xE414 },
259 { 0x3081, 0x3066 },
260 { 0x3082, 0xE414 },
261 { 0x3083, 0x3070 },
262 { 0x3084, 0xE414 },
263 { 0x3085, 0x3078 },
264 { 0x3086, 0xE414 },
265 { 0x3087, 0x3080 },
266 { 0x3088, 0xE414 },
267 { 0x3089, 0x3080 },
271 { 0x3074, 0x0231 },
272 { 0x3075, 0x0B00 },
273 { 0x306B, 0x0227 },
274 { 0x306F, 0x4266 },
275 { 0x3071, 0x5294 },
276 { 0x3080, 0xE231 },
277 { 0x3081, 0x0266 },
278 { 0x3082, 0x8231 },
279 { 0x3083, 0x4B17 },
280 { 0x3084, 0x8231 },
281 { 0x3085, 0x0B17 },
282 { 0x3086, 0xE231 },
283 { 0x3087, 0x5294 },
284 { 0x3088, 0x0231 },
285 { 0x3089, 0x0B00 },
319 return 0; in wm5110_hp_pre_enable()
340 ARIZONA_WS_TRG1, 0); in wm5110_hp_pre_disable()
352 ARIZONA_WS_TRG2, 0); in wm5110_hp_pre_disable()
360 return 0; in wm5110_hp_pre_disable()
370 case 0 ... 3: in wm5110_hp_ev()
394 ret = regmap_write(arizona->regmap, reg, 0x80); in wm5110_clear_pga_volume()
396 dev_err(arizona->dev, "Failed to clear PGA (0x%x): %d\n", in wm5110_clear_pga_volume()
411 unsigned int mask = (0x1 << mc->shift) | (0x1 << mc->rshift); in wm5110_put_dre()
412 unsigned int lnew = (!!ucontrol->value.integer.value[0]) << mc->shift; in wm5110_put_dre()
516 { 0x80, 0x3 }, in wm5110_in_analog_ev()
517 { 0x35d, 0 }, in wm5110_in_analog_ev()
518 { 0x80, 0x0 }, in wm5110_in_analog_ev()
521 reg = ARIZONA_IN1L_CONTROL + ((w->shift ^ 0x1) * 4); in wm5110_in_analog_ev()
526 wm5110->in_value |= 0x3 << ((w->shift ^ 0x1) * 2); in wm5110_in_analog_ev()
529 return 0; in wm5110_in_analog_ev()
534 0x40 << ARIZONA_IN1L_PGA_VOL_SHIFT); in wm5110_in_analog_ev()
537 if (wm5110->in_pre_pending == 0) { in wm5110_in_analog_ev()
545 wm5110->in_value = 0; in wm5110_in_analog_ev()
554 if (wm5110->in_post_pending == 0) in wm5110_in_analog_ev()
563 return 0; in wm5110_in_analog_ev()
574 case 0 ... 4: in wm5110_in_ev()
586 static DECLARE_TLV_DB_SCALE(ana_tlv, 0, 100, 0);
587 static DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0);
588 static DECLARE_TLV_DB_SCALE(digital_tlv, -6400, 50, 0);
589 static DECLARE_TLV_DB_SCALE(noise_tlv, -13200, 600, 0);
590 static DECLARE_TLV_DB_SCALE(ng_tlv, -10200, 600, 0);
593 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \
594 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \
595 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \
596 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \
597 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \
598 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \
599 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \
600 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \
601 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \
602 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0), \
603 SOC_SINGLE(name " NG SPKDAT2L Switch", base, 10, 1, 0), \
604 SOC_SINGLE(name " NG SPKDAT2R Switch", base, 11, 1, 0)
634 SOC_ENUM("IN1 OSR", arizona_in_dmic_osr[0]),
640 ARIZONA_IN1L_PGA_VOL_SHIFT, 0x40, 0x5f, 0,
643 ARIZONA_IN1R_PGA_VOL_SHIFT, 0x40, 0x5f, 0,
646 ARIZONA_IN2L_PGA_VOL_SHIFT, 0x40, 0x5f, 0,
649 ARIZONA_IN2R_PGA_VOL_SHIFT, 0x40, 0x5f, 0,
652 ARIZONA_IN3L_PGA_VOL_SHIFT, 0x40, 0x5f, 0,
655 ARIZONA_IN3R_PGA_VOL_SHIFT, 0x40, 0x5f, 0,
661 ARIZONA_IN1L_HPF_SHIFT, 1, 0),
663 ARIZONA_IN1R_HPF_SHIFT, 1, 0),
665 ARIZONA_IN2L_HPF_SHIFT, 1, 0),
667 ARIZONA_IN2R_HPF_SHIFT, 1, 0),
669 ARIZONA_IN3L_HPF_SHIFT, 1, 0),
671 ARIZONA_IN3R_HPF_SHIFT, 1, 0),
673 ARIZONA_IN4L_HPF_SHIFT, 1, 0),
675 ARIZONA_IN4R_HPF_SHIFT, 1, 0),
678 ARIZONA_IN1L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
680 ARIZONA_IN1R_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
682 ARIZONA_IN2L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
684 ARIZONA_IN2R_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
686 ARIZONA_IN3L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
688 ARIZONA_IN3R_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
690 ARIZONA_IN4L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
692 ARIZONA_IN4R_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv),
713 24, 0, eq_tlv),
715 24, 0, eq_tlv),
717 24, 0, eq_tlv),
719 24, 0, eq_tlv),
721 24, 0, eq_tlv),
725 24, 0, eq_tlv),
727 24, 0, eq_tlv),
729 24, 0, eq_tlv),
731 24, 0, eq_tlv),
733 24, 0, eq_tlv),
737 24, 0, eq_tlv),
739 24, 0, eq_tlv),
741 24, 0, eq_tlv),
743 24, 0, eq_tlv),
745 24, 0, eq_tlv),
749 24, 0, eq_tlv),
751 24, 0, eq_tlv),
753 24, 0, eq_tlv),
755 24, 0, eq_tlv),
757 24, 0, eq_tlv),
784 SOC_ENUM("ISRC1 FSL", arizona_isrc_fsl[0]),
787 SOC_ENUM("ISRC1 FSH", arizona_isrc_fsh[0]),
810 ARIZONA_NOISE_GEN_GAIN_SHIFT, 0x16, 0, noise_tlv),
826 ARIZONA_HP1_SC_ENA_SHIFT, 1, 0),
828 ARIZONA_HP2_SC_ENA_SHIFT, 1, 0),
830 ARIZONA_HP3_SC_ENA_SHIFT, 1, 0),
833 ARIZONA_OUT5_OSR_SHIFT, 1, 0),
835 ARIZONA_OUT6_OSR_SHIFT, 1, 0),
852 0xbf, 0, digital_tlv),
855 0xbf, 0, digital_tlv),
858 0xbf, 0, digital_tlv),
861 0xbf, 0, digital_tlv),
864 0xbf, 0, digital_tlv),
867 0xbf, 0, digital_tlv),
875 ARIZONA_DRE1L_ENA_SHIFT, ARIZONA_DRE1R_ENA_SHIFT, 1, 0,
878 ARIZONA_DRE2L_ENA_SHIFT, ARIZONA_DRE2R_ENA_SHIFT, 1, 0,
881 ARIZONA_DRE3L_ENA_SHIFT, ARIZONA_DRE3R_ENA_SHIFT, 1, 0,
888 ARIZONA_NGATE_ENA_SHIFT, 1, 0),
934 WM_ADSP_FW_CONTROL("DSP1", 0),
1059 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
1064 ARIZONA_AEC_LOOPBACK_SRC_SHIFT, 0xf,
1073 SOC_DAPM_ENUM("RXANCL Input", arizona_anc_input_src[0]),
1083 SOC_DAPM_ENUM("HPOUT1L ANC Source", arizona_output_anc_src[0]),
1099 0, wm5110_sysclk_ev, SND_SOC_DAPM_POST_PMU |
1102 ARIZONA_ASYNC_CLK_ENA_SHIFT, 0, arizona_clk_ev,
1105 ARIZONA_OPCLK_ENA_SHIFT, 0, NULL, 0),
1107 ARIZONA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0),
1109 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0, 0),
1110 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0, 0),
1111 SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20, 0),
1112 SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0, SND_SOC_DAPM_REGULATOR_BYPASS),
1113 SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDL", 0, 0),
1114 SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDR", 0, 0),
1134 SND_SOC_DAPM_SWITCH("DSP3 Voice Trigger", SND_SOC_NOPM, 2, 0,
1138 0, NULL, 0, wm5110_in_ev,
1143 0, NULL, 0, wm5110_in_ev,
1148 0, NULL, 0, wm5110_in_ev,
1153 0, NULL, 0, wm5110_in_ev,
1158 0, NULL, 0, wm5110_in_ev,
1163 0, NULL, 0, wm5110_in_ev,
1168 0, NULL, 0, arizona_in_ev,
1172 0, NULL, 0, arizona_in_ev,
1177 ARIZONA_MICB1_ENA_SHIFT, 0, NULL, 0),
1179 ARIZONA_MICB1_ENA_SHIFT, 0, NULL, 0),
1181 ARIZONA_MICB1_ENA_SHIFT, 0, NULL, 0),
1184 ARIZONA_NOISE_GEN_ENA_SHIFT, 0, NULL, 0),
1187 ARIZONA_TONE1_ENA_SHIFT, 0, NULL, 0),
1189 ARIZONA_TONE2_ENA_SHIFT, 0, NULL, 0),
1192 ARIZONA_MICMUTE_MIX_ENA_SHIFT, 0, NULL, 0),
1194 SND_SOC_DAPM_PGA("EQ1", ARIZONA_EQ1_1, ARIZONA_EQ1_ENA_SHIFT, 0, NULL, 0),
1195 SND_SOC_DAPM_PGA("EQ2", ARIZONA_EQ2_1, ARIZONA_EQ2_ENA_SHIFT, 0, NULL, 0),
1196 SND_SOC_DAPM_PGA("EQ3", ARIZONA_EQ3_1, ARIZONA_EQ3_ENA_SHIFT, 0, NULL, 0),
1197 SND_SOC_DAPM_PGA("EQ4", ARIZONA_EQ4_1, ARIZONA_EQ4_ENA_SHIFT, 0, NULL, 0),
1199 SND_SOC_DAPM_PGA("DRC1L", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1L_ENA_SHIFT, 0,
1200 NULL, 0),
1201 SND_SOC_DAPM_PGA("DRC1R", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1R_ENA_SHIFT, 0,
1202 NULL, 0),
1203 SND_SOC_DAPM_PGA("DRC2L", ARIZONA_DRC2_CTRL1, ARIZONA_DRC2L_ENA_SHIFT, 0,
1204 NULL, 0),
1205 SND_SOC_DAPM_PGA("DRC2R", ARIZONA_DRC2_CTRL1, ARIZONA_DRC2R_ENA_SHIFT, 0,
1206 NULL, 0),
1208 SND_SOC_DAPM_PGA("LHPF1", ARIZONA_HPLPF1_1, ARIZONA_LHPF1_ENA_SHIFT, 0,
1209 NULL, 0),
1210 SND_SOC_DAPM_PGA("LHPF2", ARIZONA_HPLPF2_1, ARIZONA_LHPF2_ENA_SHIFT, 0,
1211 NULL, 0),
1212 SND_SOC_DAPM_PGA("LHPF3", ARIZONA_HPLPF3_1, ARIZONA_LHPF3_ENA_SHIFT, 0,
1213 NULL, 0),
1214 SND_SOC_DAPM_PGA("LHPF4", ARIZONA_HPLPF4_1, ARIZONA_LHPF4_ENA_SHIFT, 0,
1215 NULL, 0),
1218 0, NULL, 0),
1220 0, NULL, 0),
1222 SND_SOC_DAPM_PGA("ASRC1L", ARIZONA_ASRC_ENABLE, ARIZONA_ASRC1L_ENA_SHIFT, 0,
1223 NULL, 0),
1224 SND_SOC_DAPM_PGA("ASRC1R", ARIZONA_ASRC_ENABLE, ARIZONA_ASRC1R_ENA_SHIFT, 0,
1225 NULL, 0),
1226 SND_SOC_DAPM_PGA("ASRC2L", ARIZONA_ASRC_ENABLE, ARIZONA_ASRC2L_ENA_SHIFT, 0,
1227 NULL, 0),
1228 SND_SOC_DAPM_PGA("ASRC2R", ARIZONA_ASRC_ENABLE, ARIZONA_ASRC2R_ENA_SHIFT, 0,
1229 NULL, 0),
1231 WM_ADSP2("DSP1", 0, wm5110_adsp_power_ev),
1237 ARIZONA_ISRC1_INT0_ENA_SHIFT, 0, NULL, 0),
1239 ARIZONA_ISRC1_INT1_ENA_SHIFT, 0, NULL, 0),
1241 ARIZONA_ISRC1_INT2_ENA_SHIFT, 0, NULL, 0),
1243 ARIZONA_ISRC1_INT3_ENA_SHIFT, 0, NULL, 0),
1246 ARIZONA_ISRC1_DEC0_ENA_SHIFT, 0, NULL, 0),
1248 ARIZONA_ISRC1_DEC1_ENA_SHIFT, 0, NULL, 0),
1250 ARIZONA_ISRC1_DEC2_ENA_SHIFT, 0, NULL, 0),
1252 ARIZONA_ISRC1_DEC3_ENA_SHIFT, 0, NULL, 0),
1255 ARIZONA_ISRC2_INT0_ENA_SHIFT, 0, NULL, 0),
1257 ARIZONA_ISRC2_INT1_ENA_SHIFT, 0, NULL, 0),
1259 ARIZONA_ISRC2_INT2_ENA_SHIFT, 0, NULL, 0),
1261 ARIZONA_ISRC2_INT3_ENA_SHIFT, 0, NULL, 0),
1264 ARIZONA_ISRC2_DEC0_ENA_SHIFT, 0, NULL, 0),
1266 ARIZONA_ISRC2_DEC1_ENA_SHIFT, 0, NULL, 0),
1268 ARIZONA_ISRC2_DEC2_ENA_SHIFT, 0, NULL, 0),
1270 ARIZONA_ISRC2_DEC3_ENA_SHIFT, 0, NULL, 0),
1273 ARIZONA_ISRC3_INT0_ENA_SHIFT, 0, NULL, 0),
1275 ARIZONA_ISRC3_INT1_ENA_SHIFT, 0, NULL, 0),
1277 ARIZONA_ISRC3_INT2_ENA_SHIFT, 0, NULL, 0),
1279 ARIZONA_ISRC3_INT3_ENA_SHIFT, 0, NULL, 0),
1282 ARIZONA_ISRC3_DEC0_ENA_SHIFT, 0, NULL, 0),
1284 ARIZONA_ISRC3_DEC1_ENA_SHIFT, 0, NULL, 0),
1286 ARIZONA_ISRC3_DEC2_ENA_SHIFT, 0, NULL, 0),
1288 ARIZONA_ISRC3_DEC3_ENA_SHIFT, 0, NULL, 0),
1291 ARIZONA_AEC_LOOPBACK_ENA_SHIFT, 0, &wm5110_aec_loopback_mux),
1294 ARIZONA_EXT_NG_SEL_SET_SHIFT, 0, arizona_anc_ev,
1296 SND_SOC_DAPM_PGA("RXANCL NG External", SND_SOC_NOPM, 0, 0, NULL, 0),
1297 SND_SOC_DAPM_PGA("RXANCR NG External", SND_SOC_NOPM, 0, 0, NULL, 0),
1300 ARIZONA_CLK_NG_ENA_SET_SHIFT, 0, arizona_anc_ev,
1302 SND_SOC_DAPM_PGA("RXANCL NG Internal", SND_SOC_NOPM, 0, 0, NULL, 0),
1303 SND_SOC_DAPM_PGA("RXANCR NG Internal", SND_SOC_NOPM, 0, 0, NULL, 0),
1305 SND_SOC_DAPM_MUX("RXANCL Left Input", SND_SOC_NOPM, 0, 0,
1306 &wm5110_anc_input_mux[0]),
1307 SND_SOC_DAPM_MUX("RXANCL Right Input", SND_SOC_NOPM, 0, 0,
1308 &wm5110_anc_input_mux[0]),
1309 SND_SOC_DAPM_MUX("RXANCL Channel", SND_SOC_NOPM, 0, 0,
1311 SND_SOC_DAPM_MUX("RXANCL NG Mux", SND_SOC_NOPM, 0, 0, &wm5110_anc_ng_mux),
1312 SND_SOC_DAPM_MUX("RXANCR Left Input", SND_SOC_NOPM, 0, 0,
1314 SND_SOC_DAPM_MUX("RXANCR Right Input", SND_SOC_NOPM, 0, 0,
1316 SND_SOC_DAPM_MUX("RXANCR Channel", SND_SOC_NOPM, 0, 0,
1318 SND_SOC_DAPM_MUX("RXANCR NG Mux", SND_SOC_NOPM, 0, 0, &wm5110_anc_ng_mux),
1321 0, NULL, 0, arizona_anc_ev,
1324 0, NULL, 0, arizona_anc_ev,
1327 SND_SOC_DAPM_MUX("HPOUT1L ANC Source", SND_SOC_NOPM, 0, 0,
1328 &wm5110_output_anc_src[0]),
1329 SND_SOC_DAPM_MUX("HPOUT1R ANC Source", SND_SOC_NOPM, 0, 0,
1331 SND_SOC_DAPM_MUX("HPOUT2L ANC Source", SND_SOC_NOPM, 0, 0,
1333 SND_SOC_DAPM_MUX("HPOUT2R ANC Source", SND_SOC_NOPM, 0, 0,
1335 SND_SOC_DAPM_MUX("HPOUT3L ANC Source", SND_SOC_NOPM, 0, 0,
1337 SND_SOC_DAPM_MUX("HPOUT3R ANC Source", SND_SOC_NOPM, 0, 0,
1339 SND_SOC_DAPM_MUX("SPKOUTL ANC Source", SND_SOC_NOPM, 0, 0,
1341 SND_SOC_DAPM_MUX("SPKOUTR ANC Source", SND_SOC_NOPM, 0, 0,
1343 SND_SOC_DAPM_MUX("SPKDAT1L ANC Source", SND_SOC_NOPM, 0, 0,
1345 SND_SOC_DAPM_MUX("SPKDAT1R ANC Source", SND_SOC_NOPM, 0, 0,
1347 SND_SOC_DAPM_MUX("SPKDAT2L ANC Source", SND_SOC_NOPM, 0, 0,
1349 SND_SOC_DAPM_MUX("SPKDAT2R ANC Source", SND_SOC_NOPM, 0, 0,
1352 SND_SOC_DAPM_AIF_OUT("AIF1TX1", NULL, 0,
1353 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX1_ENA_SHIFT, 0),
1355 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX2_ENA_SHIFT, 0),
1357 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX3_ENA_SHIFT, 0),
1359 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX4_ENA_SHIFT, 0),
1361 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX5_ENA_SHIFT, 0),
1363 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX6_ENA_SHIFT, 0),
1365 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX7_ENA_SHIFT, 0),
1367 ARIZONA_AIF1_TX_ENABLES, ARIZONA_AIF1TX8_ENA_SHIFT, 0),
1369 SND_SOC_DAPM_AIF_IN("AIF1RX1", NULL, 0,
1370 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX1_ENA_SHIFT, 0),
1372 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX2_ENA_SHIFT, 0),
1374 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX3_ENA_SHIFT, 0),
1376 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX4_ENA_SHIFT, 0),
1378 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX5_ENA_SHIFT, 0),
1380 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX6_ENA_SHIFT, 0),
1382 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX7_ENA_SHIFT, 0),
1384 ARIZONA_AIF1_RX_ENABLES, ARIZONA_AIF1RX8_ENA_SHIFT, 0),
1386 SND_SOC_DAPM_AIF_OUT("AIF2TX1", NULL, 0,
1387 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX1_ENA_SHIFT, 0),
1389 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX2_ENA_SHIFT, 0),
1391 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX3_ENA_SHIFT, 0),
1393 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX4_ENA_SHIFT, 0),
1395 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX5_ENA_SHIFT, 0),
1397 ARIZONA_AIF2_TX_ENABLES, ARIZONA_AIF2TX6_ENA_SHIFT, 0),
1399 SND_SOC_DAPM_AIF_IN("AIF2RX1", NULL, 0,
1400 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX1_ENA_SHIFT, 0),
1402 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX2_ENA_SHIFT, 0),
1404 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX3_ENA_SHIFT, 0),
1406 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX4_ENA_SHIFT, 0),
1408 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX5_ENA_SHIFT, 0),
1410 ARIZONA_AIF2_RX_ENABLES, ARIZONA_AIF2RX6_ENA_SHIFT, 0),
1412 SND_SOC_DAPM_AIF_IN("SLIMRX1", NULL, 0,
1414 ARIZONA_SLIMRX1_ENA_SHIFT, 0),
1417 ARIZONA_SLIMRX2_ENA_SHIFT, 0),
1420 ARIZONA_SLIMRX3_ENA_SHIFT, 0),
1423 ARIZONA_SLIMRX4_ENA_SHIFT, 0),
1426 ARIZONA_SLIMRX5_ENA_SHIFT, 0),
1429 ARIZONA_SLIMRX6_ENA_SHIFT, 0),
1432 ARIZONA_SLIMRX7_ENA_SHIFT, 0),
1435 ARIZONA_SLIMRX8_ENA_SHIFT, 0),
1437 SND_SOC_DAPM_AIF_OUT("SLIMTX1", NULL, 0,
1439 ARIZONA_SLIMTX1_ENA_SHIFT, 0),
1442 ARIZONA_SLIMTX2_ENA_SHIFT, 0),
1445 ARIZONA_SLIMTX3_ENA_SHIFT, 0),
1448 ARIZONA_SLIMTX4_ENA_SHIFT, 0),
1451 ARIZONA_SLIMTX5_ENA_SHIFT, 0),
1454 ARIZONA_SLIMTX6_ENA_SHIFT, 0),
1457 ARIZONA_SLIMTX7_ENA_SHIFT, 0),
1460 ARIZONA_SLIMTX8_ENA_SHIFT, 0),
1462 SND_SOC_DAPM_AIF_OUT("AIF3TX1", NULL, 0,
1463 ARIZONA_AIF3_TX_ENABLES, ARIZONA_AIF3TX1_ENA_SHIFT, 0),
1465 ARIZONA_AIF3_TX_ENABLES, ARIZONA_AIF3TX2_ENA_SHIFT, 0),
1467 SND_SOC_DAPM_AIF_IN("AIF3RX1", NULL, 0,
1468 ARIZONA_AIF3_RX_ENABLES, ARIZONA_AIF3RX1_ENA_SHIFT, 0),
1470 ARIZONA_AIF3_RX_ENABLES, ARIZONA_AIF3RX2_ENA_SHIFT, 0),
1473 ARIZONA_OUT1L_ENA_SHIFT, 0, NULL, 0, wm5110_hp_ev,
1477 ARIZONA_OUT1R_ENA_SHIFT, 0, NULL, 0, wm5110_hp_ev,
1481 ARIZONA_OUT2L_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
1485 ARIZONA_OUT2R_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
1489 ARIZONA_OUT3L_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
1493 ARIZONA_OUT3R_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
1497 ARIZONA_OUT5L_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
1500 ARIZONA_OUT5R_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
1503 ARIZONA_OUT6L_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
1506 ARIZONA_OUT6R_ENA_SHIFT, 0, NULL, 0, arizona_out_ev,
2057 return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout); in wm5110_set_fll()
2061 return arizona_set_fll_refclk(&wm5110->fll[0], source, Fref, in wm5110_set_fll()
2256 if (strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, "wm5110-dsp-voicectrl") == 0) { in wm5110_open()
2258 } else if (strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, "wm5110-dsp-trace") == 0) { in wm5110_open()
2259 n_adsp = 0; in wm5110_open()
2263 snd_soc_rtd_to_codec(rtd, 0)->name); in wm5110_open()
2275 int serviced = 0; in wm5110_adsp2_irq()
2278 for (i = 0; i < WM5110_NUM_ADSP; ++i) { in wm5110_adsp2_irq()
2309 if (ret < 0) in wm5110_component_probe()
2315 for (i = 0; i < WM5110_NUM_ADSP; ++i) { in wm5110_component_probe()
2329 return 0; in wm5110_component_probe()
2332 for (--i; i >= 0; --i) in wm5110_component_probe()
2343 for (i = 0; i < WM5110_NUM_ADSP; ++i) in wm5110_component_remove()
2349 #define WM5110_DIG_VU 0x0200
2409 if (ret < 0) in wm5110_probe()
2417 for (i = 0; i < WM5110_NUM_ADSP; i++) { in wm5110_probe()
2425 + (0x100 * i); in wm5110_probe()
2431 if (ret != 0) in wm5110_probe()
2440 for (i = 0; i < ARRAY_SIZE(wm5110->fll); i++) in wm5110_probe()
2445 &wm5110->fll[0]); in wm5110_probe()
2452 ARIZONA_SAMPLE_RATE_2_MASK, 0x11); in wm5110_probe()
2454 ARIZONA_SAMPLE_RATE_3_MASK, 0x12); in wm5110_probe()
2456 for (i = 0; i < ARRAY_SIZE(wm5110_dai); i++) in wm5110_probe()
2460 for (i = 0; i < ARRAY_SIZE(wm5110_digital_vu); i++) in wm5110_probe()
2470 if (ret != 0) { in wm5110_probe()
2476 if (ret != 0) in wm5110_probe()
2484 if (ret < 0) in wm5110_probe()
2487 if (ret < 0) in wm5110_probe()
2494 if (ret < 0) { in wm5110_probe()
2504 arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 0); in wm5110_probe()
2521 for (i = 0; i < WM5110_NUM_ADSP; i++) in wm5110_remove()
2526 arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 0); in wm5110_remove()