Lines Matching +full:0 +full:x260000
41 { .type = WMFW_ADSP2_PM, .base = 0x080000 },
42 { .type = WMFW_ADSP2_ZM, .base = 0x0e0000 },
43 { .type = WMFW_ADSP2_XM, .base = 0x0a0000 },
44 { .type = WMFW_ADSP2_YM, .base = 0x0c0000 },
48 { .type = WMFW_ADSP2_PM, .base = 0x100000 },
49 { .type = WMFW_ADSP2_ZM, .base = 0x160000 },
50 { .type = WMFW_ADSP2_XM, .base = 0x120000 },
51 { .type = WMFW_ADSP2_YM, .base = 0x140000 },
55 { .type = WMFW_ADSP2_PM, .base = 0x180000 },
56 { .type = WMFW_ADSP2_ZM, .base = 0x1e0000 },
57 { .type = WMFW_ADSP2_XM, .base = 0x1a0000 },
58 { .type = WMFW_ADSP2_YM, .base = 0x1c0000 },
62 { .type = WMFW_ADSP2_PM, .base = 0x200000 },
63 { .type = WMFW_ADSP2_ZM, .base = 0x260000 },
64 { .type = WMFW_ADSP2_XM, .base = 0x220000 },
65 { .type = WMFW_ADSP2_YM, .base = 0x240000 },
69 { .type = WMFW_ADSP2_PM, .base = 0x280000 },
70 { .type = WMFW_ADSP2_ZM, .base = 0x2e0000 },
71 { .type = WMFW_ADSP2_XM, .base = 0x2a0000 },
72 { .type = WMFW_ADSP2_YM, .base = 0x2c0000 },
76 { .type = WMFW_ADSP2_PM, .base = 0x300000 },
77 { .type = WMFW_ADSP2_ZM, .base = 0x360000 },
78 { .type = WMFW_ADSP2_XM, .base = 0x320000 },
79 { .type = WMFW_ADSP2_YM, .base = 0x340000 },
83 { .type = WMFW_ADSP2_PM, .base = 0x380000 },
84 { .type = WMFW_ADSP2_ZM, .base = 0x3e0000 },
85 { .type = WMFW_ADSP2_XM, .base = 0x3a0000 },
86 { .type = WMFW_ADSP2_YM, .base = 0x3c0000 },
122 if (ret != 0) { in cs47l85_adsp_power_ev()
145 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \
146 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \
147 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \
148 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \
149 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \
150 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \
151 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \
152 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \
153 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \
154 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0), \
155 SOC_SINGLE(name " NG SPKDAT2L Switch", base, 10, 1, 0), \
156 SOC_SINGLE(name " NG SPKDAT2R Switch", base, 11, 1, 0)
206 0x0001, 1); in cs47l85_hp_post_enable()
221 0x2006); in cs47l85_hp_post_disable()
225 0x2006); in cs47l85_hp_post_disable()
234 0x0001, 0); in cs47l85_hp_post_disable()
248 if (ret < 0) in cs47l85_hp_ev()
252 return 0; in cs47l85_hp_ev()
263 SOC_ENUM("IN1 OSR", madera_in_dmic_osr[0]),
271 MADERA_IN1L_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
273 MADERA_IN1R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
275 MADERA_IN2L_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
277 MADERA_IN2R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
279 MADERA_IN3L_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
281 MADERA_IN3R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
286 MADERA_IN1L_HPF_SHIFT, 1, 0),
288 MADERA_IN1R_HPF_SHIFT, 1, 0),
290 MADERA_IN2L_HPF_SHIFT, 1, 0),
292 MADERA_IN2R_HPF_SHIFT, 1, 0),
294 MADERA_IN3L_HPF_SHIFT, 1, 0),
296 MADERA_IN3R_HPF_SHIFT, 1, 0),
298 MADERA_IN4L_HPF_SHIFT, 1, 0),
300 MADERA_IN4R_HPF_SHIFT, 1, 0),
302 MADERA_IN5L_HPF_SHIFT, 1, 0),
304 MADERA_IN5R_HPF_SHIFT, 1, 0),
306 MADERA_IN6L_HPF_SHIFT, 1, 0),
308 MADERA_IN6R_HPF_SHIFT, 1, 0),
311 MADERA_IN1L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
313 MADERA_IN1R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
315 MADERA_IN2L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
317 MADERA_IN2R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
319 MADERA_IN3L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
321 MADERA_IN3R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
323 MADERA_IN4L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
325 MADERA_IN4R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
327 MADERA_IN5L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
329 MADERA_IN5R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
331 MADERA_IN6L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
333 MADERA_IN6R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
354 24, 0, madera_eq_tlv),
356 24, 0, madera_eq_tlv),
358 24, 0, madera_eq_tlv),
360 24, 0, madera_eq_tlv),
362 24, 0, madera_eq_tlv),
366 24, 0, madera_eq_tlv),
368 24, 0, madera_eq_tlv),
370 24, 0, madera_eq_tlv),
372 24, 0, madera_eq_tlv),
374 24, 0, madera_eq_tlv),
378 24, 0, madera_eq_tlv),
380 24, 0, madera_eq_tlv),
382 24, 0, madera_eq_tlv),
384 24, 0, madera_eq_tlv),
386 24, 0, madera_eq_tlv),
390 24, 0, madera_eq_tlv),
392 24, 0, madera_eq_tlv),
394 24, 0, madera_eq_tlv),
396 24, 0, madera_eq_tlv),
398 24, 0, madera_eq_tlv),
425 MADERA_RATE_ENUM("ISRC1 FSL", madera_isrc_fsl[0]),
429 MADERA_RATE_ENUM("ISRC1 FSH", madera_isrc_fsh[0]),
433 MADERA_RATE_ENUM("ASRC1 Rate 1", madera_asrc1_rate[0]),
435 MADERA_RATE_ENUM("ASRC2 Rate 1", madera_asrc2_rate[0]),
462 MADERA_NOISE_GEN_GAIN_SHIFT, 0x16, 0, madera_noise_tlv),
478 MADERA_HP1_SC_ENA_SHIFT, 1, 0),
480 MADERA_HP2_SC_ENA_SHIFT, 1, 0),
482 MADERA_HP3_SC_ENA_SHIFT, 1, 0),
485 MADERA_OUT5_OSR_SHIFT, 1, 0),
487 MADERA_OUT6_OSR_SHIFT, 1, 0),
504 0xbf, 0, madera_digital_tlv),
507 0xbf, 0, madera_digital_tlv),
510 0xbf, 0, madera_digital_tlv),
513 0xbf, 0, madera_digital_tlv),
516 0xbf, 0, madera_digital_tlv),
519 0xbf, 0, madera_digital_tlv),
530 MADERA_NGATE_ENA_SHIFT, 1, 0),
584 WM_ADSP_FW_CONTROL("DSP1", 0),
735 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
740 MADERA_AEC1_LOOPBACK_SRC_SHIFT, 0xf,
747 MADERA_AEC2_LOOPBACK_SRC_SHIFT, 0xf,
758 SOC_DAPM_ENUM("RXANCL Input", madera_anc_input_src[0]),
768 SOC_DAPM_ENUM("HPOUT1L ANC Source", madera_output_anc_src[0]),
784 0, madera_sysclk_ev,
788 MADERA_ASYNC_CLK_ENA_SHIFT, 0, madera_clk_ev,
791 MADERA_OPCLK_ENA_SHIFT, 0, NULL, 0),
793 MADERA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0),
795 0, madera_clk_ev,
798 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0, 0),
799 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0, 0),
800 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD4", 0, 0),
801 SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD1", 20, 0),
802 SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD2", 20, 0),
803 SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0, SND_SOC_DAPM_REGULATOR_BYPASS),
804 SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDL", 0, 0),
805 SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDR", 0, 0),
808 MADERA_MICB1_ENA_SHIFT, 0, NULL, 0),
810 MADERA_MICB1_ENA_SHIFT, 0, NULL, 0),
812 MADERA_MICB1_ENA_SHIFT, 0, NULL, 0),
814 MADERA_MICB1_ENA_SHIFT, 0, NULL, 0),
817 MADERA_DOM_GRP_FX, 0,
821 MADERA_DOM_GRP_ASRC1, 0,
825 MADERA_DOM_GRP_ASRC2, 0,
829 MADERA_DOM_GRP_ISRC1, 0,
833 MADERA_DOM_GRP_ISRC2, 0,
837 MADERA_DOM_GRP_ISRC3, 0,
841 MADERA_DOM_GRP_ISRC4, 0,
845 MADERA_DOM_GRP_OUT, 0,
849 MADERA_DOM_GRP_SPD, 0,
853 MADERA_DOM_GRP_DSP1, 0,
857 MADERA_DOM_GRP_DSP2, 0,
861 MADERA_DOM_GRP_DSP3, 0,
865 MADERA_DOM_GRP_DSP4, 0,
869 MADERA_DOM_GRP_DSP5, 0,
873 MADERA_DOM_GRP_DSP6, 0,
877 MADERA_DOM_GRP_DSP7, 0,
881 MADERA_DOM_GRP_AIF1, 0,
885 MADERA_DOM_GRP_AIF2, 0,
889 MADERA_DOM_GRP_AIF3, 0,
893 MADERA_DOM_GRP_AIF4, 0,
897 MADERA_DOM_GRP_SLIMBUS, 0,
901 MADERA_DOM_GRP_PWM, 0,
906 MADERA_EXT_NG_SEL_SET_SHIFT, 0, madera_anc_ev,
910 MADERA_CLK_NG_ENA_SET_SHIFT, 0, madera_anc_ev,
941 SND_SOC_DAPM_MUX("IN1L Analog Mux", SND_SOC_NOPM, 0, 0, &madera_inmux[0]),
942 SND_SOC_DAPM_MUX("IN2L Analog Mux", SND_SOC_NOPM, 0, 0, &madera_inmux[2]),
943 SND_SOC_DAPM_MUX("IN2R Analog Mux", SND_SOC_NOPM, 0, 0, &madera_inmux[3]),
945 SND_SOC_DAPM_MUX("IN1L Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[0]),
946 SND_SOC_DAPM_MUX("IN1R Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[0]),
948 SND_SOC_DAPM_MUX("IN2L Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[1]),
949 SND_SOC_DAPM_MUX("IN2R Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[1]),
951 SND_SOC_DAPM_MUX("IN3L Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[2]),
952 SND_SOC_DAPM_MUX("IN3R Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[2]),
960 0, NULL, 0),
962 0, NULL, 0),
964 SND_SOC_DAPM_PGA("RXANCL NG External", SND_SOC_NOPM, 0, 0, NULL, 0),
965 SND_SOC_DAPM_PGA("RXANCR NG External", SND_SOC_NOPM, 0, 0, NULL, 0),
967 SND_SOC_DAPM_PGA("RXANCL NG Internal", SND_SOC_NOPM, 0, 0, NULL, 0),
968 SND_SOC_DAPM_PGA("RXANCR NG Internal", SND_SOC_NOPM, 0, 0, NULL, 0),
970 SND_SOC_DAPM_MUX("RXANCL Left Input", SND_SOC_NOPM, 0, 0,
971 &cs47l85_anc_input_mux[0]),
972 SND_SOC_DAPM_MUX("RXANCL Right Input", SND_SOC_NOPM, 0, 0,
973 &cs47l85_anc_input_mux[0]),
974 SND_SOC_DAPM_MUX("RXANCL Channel", SND_SOC_NOPM, 0, 0,
976 SND_SOC_DAPM_MUX("RXANCL NG Mux", SND_SOC_NOPM, 0, 0, &cs47l85_anc_ng_mux),
977 SND_SOC_DAPM_MUX("RXANCR Left Input", SND_SOC_NOPM, 0, 0,
979 SND_SOC_DAPM_MUX("RXANCR Right Input", SND_SOC_NOPM, 0, 0,
981 SND_SOC_DAPM_MUX("RXANCR Channel", SND_SOC_NOPM, 0, 0,
983 SND_SOC_DAPM_MUX("RXANCR NG Mux", SND_SOC_NOPM, 0, 0, &cs47l85_anc_ng_mux),
986 0, NULL, 0, madera_anc_ev,
989 0, NULL, 0, madera_anc_ev,
992 SND_SOC_DAPM_MUX("HPOUT1L ANC Source", SND_SOC_NOPM, 0, 0,
993 &cs47l85_output_anc_src[0]),
994 SND_SOC_DAPM_MUX("HPOUT1R ANC Source", SND_SOC_NOPM, 0, 0,
996 SND_SOC_DAPM_MUX("HPOUT2L ANC Source", SND_SOC_NOPM, 0, 0,
998 SND_SOC_DAPM_MUX("HPOUT2R ANC Source", SND_SOC_NOPM, 0, 0,
1000 SND_SOC_DAPM_MUX("HPOUT3L ANC Source", SND_SOC_NOPM, 0, 0,
1002 SND_SOC_DAPM_MUX("HPOUT3R ANC Source", SND_SOC_NOPM, 0, 0,
1004 SND_SOC_DAPM_MUX("SPKOUTL ANC Source", SND_SOC_NOPM, 0, 0,
1006 SND_SOC_DAPM_MUX("SPKOUTR ANC Source", SND_SOC_NOPM, 0, 0,
1008 SND_SOC_DAPM_MUX("SPKDAT1L ANC Source", SND_SOC_NOPM, 0, 0,
1010 SND_SOC_DAPM_MUX("SPKDAT1R ANC Source", SND_SOC_NOPM, 0, 0,
1012 SND_SOC_DAPM_MUX("SPKDAT2L ANC Source", SND_SOC_NOPM, 0, 0,
1014 SND_SOC_DAPM_MUX("SPKDAT2R ANC Source", SND_SOC_NOPM, 0, 0,
1017 SND_SOC_DAPM_AIF_OUT("AIF1TX1", NULL, 0,
1018 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX1_ENA_SHIFT, 0),
1020 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX2_ENA_SHIFT, 0),
1022 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX3_ENA_SHIFT, 0),
1024 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX4_ENA_SHIFT, 0),
1026 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX5_ENA_SHIFT, 0),
1028 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX6_ENA_SHIFT, 0),
1030 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX7_ENA_SHIFT, 0),
1032 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX8_ENA_SHIFT, 0),
1034 SND_SOC_DAPM_AIF_OUT("AIF2TX1", NULL, 0,
1035 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX1_ENA_SHIFT, 0),
1037 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX2_ENA_SHIFT, 0),
1039 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX3_ENA_SHIFT, 0),
1041 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX4_ENA_SHIFT, 0),
1043 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX5_ENA_SHIFT, 0),
1045 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX6_ENA_SHIFT, 0),
1047 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX7_ENA_SHIFT, 0),
1049 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX8_ENA_SHIFT, 0),
1051 SND_SOC_DAPM_AIF_OUT("SLIMTX1", NULL, 0,
1053 MADERA_SLIMTX1_ENA_SHIFT, 0),
1056 MADERA_SLIMTX2_ENA_SHIFT, 0),
1059 MADERA_SLIMTX3_ENA_SHIFT, 0),
1062 MADERA_SLIMTX4_ENA_SHIFT, 0),
1065 MADERA_SLIMTX5_ENA_SHIFT, 0),
1068 MADERA_SLIMTX6_ENA_SHIFT, 0),
1071 MADERA_SLIMTX7_ENA_SHIFT, 0),
1074 MADERA_SLIMTX8_ENA_SHIFT, 0),
1076 SND_SOC_DAPM_AIF_OUT("AIF3TX1", NULL, 0,
1077 MADERA_AIF3_TX_ENABLES, MADERA_AIF3TX1_ENA_SHIFT, 0),
1079 MADERA_AIF3_TX_ENABLES, MADERA_AIF3TX2_ENA_SHIFT, 0),
1081 SND_SOC_DAPM_AIF_OUT("AIF4TX1", NULL, 0,
1082 MADERA_AIF4_TX_ENABLES, MADERA_AIF4TX1_ENA_SHIFT, 0),
1084 MADERA_AIF4_TX_ENABLES, MADERA_AIF4TX2_ENA_SHIFT, 0),
1087 MADERA_OUT1L_ENA_SHIFT, 0, NULL, 0, cs47l85_hp_ev,
1091 MADERA_OUT1R_ENA_SHIFT, 0, NULL, 0, cs47l85_hp_ev,
1095 MADERA_OUT2L_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1099 MADERA_OUT2R_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1103 MADERA_OUT3L_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1107 MADERA_OUT3R_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1111 MADERA_OUT4L_ENA_SHIFT, 0, NULL, 0, madera_spk_ev,
1114 MADERA_OUT4R_ENA_SHIFT, 0, NULL, 0, madera_spk_ev,
1117 MADERA_OUT5L_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1120 MADERA_OUT5R_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1123 MADERA_OUT6L_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1126 MADERA_OUT6R_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1130 MADERA_SPD1_VAL1_SHIFT, 0, NULL, 0),
1132 MADERA_SPD1_VAL2_SHIFT, 0, NULL, 0),
1134 MADERA_SPD1_ENA_SHIFT, 0, NULL, 0),
1141 MADERA_NOISE_GEN_ENA_SHIFT, 0, NULL, 0),
1144 MADERA_TONE1_ENA_SHIFT, 0, NULL, 0),
1146 MADERA_TONE2_ENA_SHIFT, 0, NULL, 0),
1151 MADERA_AEC1_LOOPBACK_ENA_SHIFT, 0,
1152 &cs47l85_aec_loopback_mux[0]),
1154 MADERA_AEC2_LOOPBACK_ENA_SHIFT, 0,
1158 0, NULL, 0, madera_in_ev,
1162 0, NULL, 0, madera_in_ev,
1166 0, NULL, 0, madera_in_ev,
1170 0, NULL, 0, madera_in_ev,
1174 0, NULL, 0, madera_in_ev,
1178 0, NULL, 0, madera_in_ev,
1182 0, NULL, 0, madera_in_ev,
1186 0, NULL, 0, madera_in_ev,
1190 0, NULL, 0, madera_in_ev,
1194 0, NULL, 0, madera_in_ev,
1198 0, NULL, 0, madera_in_ev,
1202 0, NULL, 0, madera_in_ev,
1206 SND_SOC_DAPM_AIF_IN("AIF1RX1", NULL, 0,
1207 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX1_ENA_SHIFT, 0),
1209 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX2_ENA_SHIFT, 0),
1211 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX3_ENA_SHIFT, 0),
1213 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX4_ENA_SHIFT, 0),
1215 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX5_ENA_SHIFT, 0),
1217 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX6_ENA_SHIFT, 0),
1219 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX7_ENA_SHIFT, 0),
1221 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX8_ENA_SHIFT, 0),
1223 SND_SOC_DAPM_AIF_IN("AIF2RX1", NULL, 0,
1224 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX1_ENA_SHIFT, 0),
1226 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX2_ENA_SHIFT, 0),
1228 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX3_ENA_SHIFT, 0),
1230 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX4_ENA_SHIFT, 0),
1232 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX5_ENA_SHIFT, 0),
1234 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX6_ENA_SHIFT, 0),
1236 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX7_ENA_SHIFT, 0),
1238 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX8_ENA_SHIFT, 0),
1240 SND_SOC_DAPM_AIF_IN("AIF3RX1", NULL, 0,
1241 MADERA_AIF3_RX_ENABLES, MADERA_AIF3RX1_ENA_SHIFT, 0),
1243 MADERA_AIF3_RX_ENABLES, MADERA_AIF3RX2_ENA_SHIFT, 0),
1245 SND_SOC_DAPM_AIF_IN("AIF4RX1", NULL, 0,
1246 MADERA_AIF4_RX_ENABLES, MADERA_AIF4RX1_ENA_SHIFT, 0),
1248 MADERA_AIF4_RX_ENABLES, MADERA_AIF4RX2_ENA_SHIFT, 0),
1250 SND_SOC_DAPM_AIF_IN("SLIMRX1", NULL, 0,
1252 MADERA_SLIMRX1_ENA_SHIFT, 0),
1255 MADERA_SLIMRX2_ENA_SHIFT, 0),
1258 MADERA_SLIMRX3_ENA_SHIFT, 0),
1261 MADERA_SLIMRX4_ENA_SHIFT, 0),
1264 MADERA_SLIMRX5_ENA_SHIFT, 0),
1267 MADERA_SLIMRX6_ENA_SHIFT, 0),
1270 MADERA_SLIMRX7_ENA_SHIFT, 0),
1273 MADERA_SLIMRX8_ENA_SHIFT, 0),
1275 SND_SOC_DAPM_PGA("EQ1", MADERA_EQ1_1, MADERA_EQ1_ENA_SHIFT, 0, NULL, 0),
1276 SND_SOC_DAPM_PGA("EQ2", MADERA_EQ2_1, MADERA_EQ2_ENA_SHIFT, 0, NULL, 0),
1277 SND_SOC_DAPM_PGA("EQ3", MADERA_EQ3_1, MADERA_EQ3_ENA_SHIFT, 0, NULL, 0),
1278 SND_SOC_DAPM_PGA("EQ4", MADERA_EQ4_1, MADERA_EQ4_ENA_SHIFT, 0, NULL, 0),
1280 SND_SOC_DAPM_PGA("DRC1L", MADERA_DRC1_CTRL1, MADERA_DRC1L_ENA_SHIFT, 0,
1281 NULL, 0),
1282 SND_SOC_DAPM_PGA("DRC1R", MADERA_DRC1_CTRL1, MADERA_DRC1R_ENA_SHIFT, 0,
1283 NULL, 0),
1284 SND_SOC_DAPM_PGA("DRC2L", MADERA_DRC2_CTRL1, MADERA_DRC2L_ENA_SHIFT, 0,
1285 NULL, 0),
1286 SND_SOC_DAPM_PGA("DRC2R", MADERA_DRC2_CTRL1, MADERA_DRC2R_ENA_SHIFT, 0,
1287 NULL, 0),
1289 SND_SOC_DAPM_PGA("LHPF1", MADERA_HPLPF1_1, MADERA_LHPF1_ENA_SHIFT, 0,
1290 NULL, 0),
1291 SND_SOC_DAPM_PGA("LHPF2", MADERA_HPLPF2_1, MADERA_LHPF2_ENA_SHIFT, 0,
1292 NULL, 0),
1293 SND_SOC_DAPM_PGA("LHPF3", MADERA_HPLPF3_1, MADERA_LHPF3_ENA_SHIFT, 0,
1294 NULL, 0),
1295 SND_SOC_DAPM_PGA("LHPF4", MADERA_HPLPF4_1, MADERA_LHPF4_ENA_SHIFT, 0,
1296 NULL, 0),
1299 0, NULL, 0),
1301 0, NULL, 0),
1303 0, NULL, 0),
1305 0, NULL, 0),
1308 0, NULL, 0),
1310 0, NULL, 0),
1312 0, NULL, 0),
1314 0, NULL, 0),
1317 MADERA_ISRC1_DEC1_ENA_SHIFT, 0, NULL, 0),
1319 MADERA_ISRC1_DEC2_ENA_SHIFT, 0, NULL, 0),
1321 MADERA_ISRC1_DEC3_ENA_SHIFT, 0, NULL, 0),
1323 MADERA_ISRC1_DEC4_ENA_SHIFT, 0, NULL, 0),
1326 MADERA_ISRC1_INT1_ENA_SHIFT, 0, NULL, 0),
1328 MADERA_ISRC1_INT2_ENA_SHIFT, 0, NULL, 0),
1330 MADERA_ISRC1_INT3_ENA_SHIFT, 0, NULL, 0),
1332 MADERA_ISRC1_INT4_ENA_SHIFT, 0, NULL, 0),
1335 MADERA_ISRC2_DEC1_ENA_SHIFT, 0, NULL, 0),
1337 MADERA_ISRC2_DEC2_ENA_SHIFT, 0, NULL, 0),
1339 MADERA_ISRC2_DEC3_ENA_SHIFT, 0, NULL, 0),
1341 MADERA_ISRC2_DEC4_ENA_SHIFT, 0, NULL, 0),
1344 MADERA_ISRC2_INT1_ENA_SHIFT, 0, NULL, 0),
1346 MADERA_ISRC2_INT2_ENA_SHIFT, 0, NULL, 0),
1348 MADERA_ISRC2_INT3_ENA_SHIFT, 0, NULL, 0),
1350 MADERA_ISRC2_INT4_ENA_SHIFT, 0, NULL, 0),
1353 MADERA_ISRC3_DEC1_ENA_SHIFT, 0, NULL, 0),
1355 MADERA_ISRC3_DEC2_ENA_SHIFT, 0, NULL, 0),
1358 MADERA_ISRC3_INT1_ENA_SHIFT, 0, NULL, 0),
1360 MADERA_ISRC3_INT2_ENA_SHIFT, 0, NULL, 0),
1363 MADERA_ISRC4_DEC1_ENA_SHIFT, 0, NULL, 0),
1365 MADERA_ISRC4_DEC2_ENA_SHIFT, 0, NULL, 0),
1368 MADERA_ISRC4_INT1_ENA_SHIFT, 0, NULL, 0),
1370 MADERA_ISRC4_INT2_ENA_SHIFT, 0, NULL, 0),
1372 WM_ADSP2("DSP1", 0, cs47l85_adsp_power_ev),
1392 SND_SOC_DAPM_SWITCH("DRC1 Activity Output", SND_SOC_NOPM, 0, 0,
1393 &madera_drc_activity_output_mux[0]),
1394 SND_SOC_DAPM_SWITCH("DRC2 Activity Output", SND_SOC_NOPM, 0, 0,
1471 SND_SOC_DAPM_SWITCH("DSP1 Trigger Output", SND_SOC_NOPM, 0, 0,
1472 &madera_dsp_trigger_output_mux[0]),
1473 SND_SOC_DAPM_SWITCH("DSP2 Trigger Output", SND_SOC_NOPM, 0, 0,
1475 SND_SOC_DAPM_SWITCH("DSP3 Trigger Output", SND_SOC_NOPM, 0, 0,
1477 SND_SOC_DAPM_SWITCH("DSP4 Trigger Output", SND_SOC_NOPM, 0, 0,
1479 SND_SOC_DAPM_SWITCH("DSP5 Trigger Output", SND_SOC_NOPM, 0, 0,
1481 SND_SOC_DAPM_SWITCH("DSP6 Trigger Output", SND_SOC_NOPM, 0, 0,
1483 SND_SOC_DAPM_SWITCH("DSP7 Trigger Output", SND_SOC_NOPM, 0, 0,
2230 return madera_set_fll_refclk(&cs47l85->fll[0], source, fref, in cs47l85_set_fll()
2239 return madera_set_fll_syncclk(&cs47l85->fll[0], source, fref, in cs47l85_set_fll()
2455 if (strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, "cs47l85-dsp-voicectrl") == 0) { in cs47l85_open()
2457 } else if (strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, "cs47l85-dsp-trace") == 0) { in cs47l85_open()
2458 n_adsp = 0; in cs47l85_open()
2462 snd_soc_rtd_to_codec(rtd, 0)->name); in cs47l85_open()
2475 int serviced = 0; in cs47l85_adsp2_irq()
2478 for (i = 0; i < CS47L85_NUM_ADSP; ++i) { in cs47l85_adsp2_irq()
2527 for (i = 0; i < CS47L85_NUM_ADSP; i++) in cs47l85_component_probe()
2530 return 0; in cs47l85_component_probe()
2543 for (i = 0; i < CS47L85_NUM_ADSP; i++) in cs47l85_component_remove()
2547 #define MADERA_DIG_VU 0x0200
2636 for (i = 0; i < CS47L85_NUM_ADSP; i++) { in cs47l85_probe()
2651 for (--i; i >= 0; --i) in cs47l85_probe()
2658 &cs47l85->fll[0]); in cs47l85_probe()
2664 for (i = 0; i < ARRAY_SIZE(cs47l85_dai); i++) in cs47l85_probe()
2668 for (i = 0; i < ARRAY_SIZE(cs47l85_digital_vu); i++) in cs47l85_probe()
2679 if (ret < 0) { in cs47l85_probe()
2689 for (i = 0; i < CS47L85_NUM_ADSP; i++) in cs47l85_probe()
2692 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l85_probe()
2709 for (i = 0; i < CS47L85_NUM_ADSP; i++) in cs47l85_remove()
2712 madera_set_irq_wake(cs47l85->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l85_remove()