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 cs47l90_adsp_power_ev()
142 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \
143 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \
144 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \
145 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \
146 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \
147 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \
148 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \
149 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0)
181 SOC_ENUM("IN1 OSR", madera_in_dmic_osr[0]),
188 MADERA_IN1L_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
190 MADERA_IN1R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
192 MADERA_IN2L_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
194 MADERA_IN2R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, madera_ana_tlv),
199 MADERA_IN1L_LP_MODE_SHIFT, 1, 0,
202 MADERA_IN1R_LP_MODE_SHIFT, 1, 0,
205 MADERA_IN2L_LP_MODE_SHIFT, 1, 0,
208 MADERA_IN2R_LP_MODE_SHIFT, 1, 0,
212 MADERA_IN1L_HPF_SHIFT, 1, 0),
214 MADERA_IN1R_HPF_SHIFT, 1, 0),
216 MADERA_IN2L_HPF_SHIFT, 1, 0),
218 MADERA_IN2R_HPF_SHIFT, 1, 0),
220 MADERA_IN3L_HPF_SHIFT, 1, 0),
222 MADERA_IN3R_HPF_SHIFT, 1, 0),
224 MADERA_IN4L_HPF_SHIFT, 1, 0),
226 MADERA_IN4R_HPF_SHIFT, 1, 0),
228 MADERA_IN5L_HPF_SHIFT, 1, 0),
230 MADERA_IN5R_HPF_SHIFT, 1, 0),
233 MADERA_IN1L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
235 MADERA_IN1R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
237 MADERA_IN2L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
239 MADERA_IN2R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
241 MADERA_IN3L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
243 MADERA_IN3R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
245 MADERA_IN4L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
247 MADERA_IN4R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
249 MADERA_IN5L_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
251 MADERA_IN5R_DIG_VOL_SHIFT, 0xbf, 0, madera_digital_tlv),
272 24, 0, madera_eq_tlv),
274 24, 0, madera_eq_tlv),
276 24, 0, madera_eq_tlv),
278 24, 0, madera_eq_tlv),
280 24, 0, madera_eq_tlv),
284 24, 0, madera_eq_tlv),
286 24, 0, madera_eq_tlv),
288 24, 0, madera_eq_tlv),
290 24, 0, madera_eq_tlv),
292 24, 0, madera_eq_tlv),
296 24, 0, madera_eq_tlv),
298 24, 0, madera_eq_tlv),
300 24, 0, madera_eq_tlv),
302 24, 0, madera_eq_tlv),
304 24, 0, madera_eq_tlv),
308 24, 0, madera_eq_tlv),
310 24, 0, madera_eq_tlv),
312 24, 0, madera_eq_tlv),
314 24, 0, madera_eq_tlv),
316 24, 0, madera_eq_tlv),
343 MADERA_RATE_ENUM("ISRC1 FSL", madera_isrc_fsl[0]),
347 MADERA_RATE_ENUM("ISRC1 FSH", madera_isrc_fsh[0]),
351 MADERA_RATE_ENUM("ASRC1 Rate 1", madera_asrc1_rate[0]),
353 MADERA_RATE_ENUM("ASRC2 Rate 1", madera_asrc2_rate[0]),
380 MADERA_NOISE_GEN_GAIN_SHIFT, 0x16, 0, madera_noise_tlv),
392 MADERA_HP1_SC_ENA_SHIFT, 1, 0),
394 MADERA_HP2_SC_ENA_SHIFT, 1, 0),
396 MADERA_HP3_SC_ENA_SHIFT, 1, 0),
399 MADERA_OUT5_OSR_SHIFT, 1, 0),
412 0xbf, 0, madera_digital_tlv),
415 0xbf, 0, madera_digital_tlv),
418 0xbf, 0, madera_digital_tlv),
421 0xbf, 0, madera_digital_tlv),
430 MADERA_NGATE_ENA_SHIFT, 1, 0),
435 SOC_ENUM_EXT("DFC1RX Width", madera_dfc_width[0],
437 SOC_ENUM_EXT("DFC1RX Type", madera_dfc_type[0],
545 WM_ADSP_FW_CONTROL("DSP1", 0),
701 0, 1, 2, 3, 4, 5, 8, 9,
706 MADERA_AEC1_LOOPBACK_SRC_SHIFT, 0xf,
713 MADERA_AEC2_LOOPBACK_SRC_SHIFT, 0xf,
724 SOC_DAPM_ENUM("RXANCL Input", madera_anc_input_src[0]),
734 SOC_DAPM_ENUM("HPOUT1L ANC Source", madera_output_anc_src[0]),
739 SOC_DAPM_ENUM("HPOUT3R ANC Source", madera_output_anc_src[0]),
746 0, madera_sysclk_ev,
750 MADERA_ASYNC_CLK_ENA_SHIFT, 0, madera_clk_ev,
753 MADERA_OPCLK_ENA_SHIFT, 0, NULL, 0),
755 MADERA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0),
757 0, madera_clk_ev,
760 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0, 0),
761 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0, 0),
762 SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD4", 0, 0),
763 SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD1", 20, 0),
764 SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD2", 20, 0),
765 SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0, SND_SOC_DAPM_REGULATOR_BYPASS),
768 MADERA_MICB1_ENA_SHIFT, 0, NULL, 0),
770 MADERA_MICB1_ENA_SHIFT, 0, NULL, 0),
773 MADERA_MICB1A_ENA_SHIFT, 0, NULL, 0),
775 MADERA_MICB1B_ENA_SHIFT, 0, NULL, 0),
777 MADERA_MICB1C_ENA_SHIFT, 0, NULL, 0),
779 MADERA_MICB1D_ENA_SHIFT, 0, NULL, 0),
782 MADERA_MICB2A_ENA_SHIFT, 0, NULL, 0),
784 MADERA_MICB2B_ENA_SHIFT, 0, NULL, 0),
786 MADERA_MICB2C_ENA_SHIFT, 0, NULL, 0),
788 MADERA_MICB2D_ENA_SHIFT, 0, NULL, 0),
791 MADERA_DOM_GRP_FX, 0,
795 MADERA_DOM_GRP_ASRC1, 0,
799 MADERA_DOM_GRP_ASRC2, 0,
803 MADERA_DOM_GRP_ISRC1, 0,
807 MADERA_DOM_GRP_ISRC2, 0,
811 MADERA_DOM_GRP_ISRC3, 0,
815 MADERA_DOM_GRP_ISRC4, 0,
819 MADERA_DOM_GRP_OUT, 0,
823 MADERA_DOM_GRP_SPD, 0,
827 MADERA_DOM_GRP_DSP1, 0,
831 MADERA_DOM_GRP_DSP2, 0,
835 MADERA_DOM_GRP_DSP3, 0,
839 MADERA_DOM_GRP_DSP4, 0,
843 MADERA_DOM_GRP_DSP5, 0,
847 MADERA_DOM_GRP_DSP6, 0,
851 MADERA_DOM_GRP_DSP7, 0,
855 MADERA_DOM_GRP_AIF1, 0,
859 MADERA_DOM_GRP_AIF2, 0,
863 MADERA_DOM_GRP_AIF3, 0,
867 MADERA_DOM_GRP_AIF4, 0,
871 MADERA_DOM_GRP_SLIMBUS, 0,
875 MADERA_DOM_GRP_PWM, 0,
879 MADERA_DOM_GRP_DFC, 0,
907 SND_SOC_DAPM_MUX("IN1L Analog Mux", SND_SOC_NOPM, 0, 0, &madera_inmux[0]),
908 SND_SOC_DAPM_MUX("IN1R Analog Mux", SND_SOC_NOPM, 0, 0, &madera_inmux[1]),
909 SND_SOC_DAPM_MUX("IN2L Analog Mux", SND_SOC_NOPM, 0, 0, &madera_inmux[2]),
911 SND_SOC_DAPM_MUX("IN1L Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[0]),
912 SND_SOC_DAPM_MUX("IN1R Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[0]),
914 SND_SOC_DAPM_MUX("IN2L Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[1]),
915 SND_SOC_DAPM_MUX("IN2R Mode", SND_SOC_NOPM, 0, 0, &madera_inmode[1]),
923 0, NULL, 0),
925 0, NULL, 0),
928 MADERA_EXT_NG_SEL_SET_SHIFT, 0, madera_anc_ev,
930 SND_SOC_DAPM_PGA("RXANCL NG External", SND_SOC_NOPM, 0, 0, NULL, 0),
931 SND_SOC_DAPM_PGA("RXANCR NG External", SND_SOC_NOPM, 0, 0, NULL, 0),
934 MADERA_CLK_NG_ENA_SET_SHIFT, 0, madera_anc_ev,
936 SND_SOC_DAPM_PGA("RXANCL NG Internal", SND_SOC_NOPM, 0, 0, NULL, 0),
937 SND_SOC_DAPM_PGA("RXANCR NG Internal", SND_SOC_NOPM, 0, 0, NULL, 0),
939 SND_SOC_DAPM_MUX("RXANCL Left Input", SND_SOC_NOPM, 0, 0,
940 &cs47l90_anc_input_mux[0]),
941 SND_SOC_DAPM_MUX("RXANCL Right Input", SND_SOC_NOPM, 0, 0,
942 &cs47l90_anc_input_mux[0]),
943 SND_SOC_DAPM_MUX("RXANCL Channel", SND_SOC_NOPM, 0, 0,
945 SND_SOC_DAPM_MUX("RXANCL NG Mux", SND_SOC_NOPM, 0, 0, &cs47l90_anc_ng_mux),
946 SND_SOC_DAPM_MUX("RXANCR Left Input", SND_SOC_NOPM, 0, 0,
948 SND_SOC_DAPM_MUX("RXANCR Right Input", SND_SOC_NOPM, 0, 0,
950 SND_SOC_DAPM_MUX("RXANCR Channel", SND_SOC_NOPM, 0, 0,
952 SND_SOC_DAPM_MUX("RXANCR NG Mux", SND_SOC_NOPM, 0, 0, &cs47l90_anc_ng_mux),
955 0, NULL, 0, madera_anc_ev,
958 0, NULL, 0, madera_anc_ev,
961 SND_SOC_DAPM_MUX("HPOUT1L ANC Source", SND_SOC_NOPM, 0, 0,
962 &cs47l90_output_anc_src[0]),
963 SND_SOC_DAPM_MUX("HPOUT1R ANC Source", SND_SOC_NOPM, 0, 0,
965 SND_SOC_DAPM_MUX("HPOUT2L ANC Source", SND_SOC_NOPM, 0, 0,
967 SND_SOC_DAPM_MUX("HPOUT2R ANC Source", SND_SOC_NOPM, 0, 0,
969 SND_SOC_DAPM_MUX("HPOUT3L ANC Source", SND_SOC_NOPM, 0, 0,
971 SND_SOC_DAPM_MUX("HPOUT3R ANC Source", SND_SOC_NOPM, 0, 0,
973 SND_SOC_DAPM_MUX("SPKDAT1L ANC Source", SND_SOC_NOPM, 0, 0,
975 SND_SOC_DAPM_MUX("SPKDAT1R ANC Source", SND_SOC_NOPM, 0, 0,
978 SND_SOC_DAPM_AIF_OUT("AIF1TX1", NULL, 0,
979 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX1_ENA_SHIFT, 0),
981 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX2_ENA_SHIFT, 0),
983 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX3_ENA_SHIFT, 0),
985 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX4_ENA_SHIFT, 0),
987 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX5_ENA_SHIFT, 0),
989 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX6_ENA_SHIFT, 0),
991 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX7_ENA_SHIFT, 0),
993 MADERA_AIF1_TX_ENABLES, MADERA_AIF1TX8_ENA_SHIFT, 0),
995 SND_SOC_DAPM_AIF_OUT("AIF2TX1", NULL, 0,
996 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX1_ENA_SHIFT, 0),
998 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX2_ENA_SHIFT, 0),
1000 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX3_ENA_SHIFT, 0),
1002 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX4_ENA_SHIFT, 0),
1004 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX5_ENA_SHIFT, 0),
1006 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX6_ENA_SHIFT, 0),
1008 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX7_ENA_SHIFT, 0),
1010 MADERA_AIF2_TX_ENABLES, MADERA_AIF2TX8_ENA_SHIFT, 0),
1012 SND_SOC_DAPM_AIF_OUT("SLIMTX1", NULL, 0,
1014 MADERA_SLIMTX1_ENA_SHIFT, 0),
1017 MADERA_SLIMTX2_ENA_SHIFT, 0),
1020 MADERA_SLIMTX3_ENA_SHIFT, 0),
1023 MADERA_SLIMTX4_ENA_SHIFT, 0),
1026 MADERA_SLIMTX5_ENA_SHIFT, 0),
1029 MADERA_SLIMTX6_ENA_SHIFT, 0),
1032 MADERA_SLIMTX7_ENA_SHIFT, 0),
1035 MADERA_SLIMTX8_ENA_SHIFT, 0),
1037 SND_SOC_DAPM_AIF_OUT("AIF3TX1", NULL, 0,
1038 MADERA_AIF3_TX_ENABLES, MADERA_AIF3TX1_ENA_SHIFT, 0),
1040 MADERA_AIF3_TX_ENABLES, MADERA_AIF3TX2_ENA_SHIFT, 0),
1042 SND_SOC_DAPM_AIF_OUT("AIF4TX1", NULL, 0,
1043 MADERA_AIF4_TX_ENABLES, MADERA_AIF4TX1_ENA_SHIFT, 0),
1045 MADERA_AIF4_TX_ENABLES, MADERA_AIF4TX2_ENA_SHIFT, 0),
1048 MADERA_OUT1L_ENA_SHIFT, 0, NULL, 0, madera_hp_ev,
1052 MADERA_OUT1R_ENA_SHIFT, 0, NULL, 0, madera_hp_ev,
1056 MADERA_OUT2L_ENA_SHIFT, 0, NULL, 0, madera_hp_ev,
1060 MADERA_OUT2R_ENA_SHIFT, 0, NULL, 0, madera_hp_ev,
1064 MADERA_OUT3L_ENA_SHIFT, 0, NULL, 0, madera_hp_ev,
1068 MADERA_OUT3R_ENA_SHIFT, 0, NULL, 0, madera_hp_ev,
1072 MADERA_OUT5L_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1075 MADERA_OUT5R_ENA_SHIFT, 0, NULL, 0, madera_out_ev,
1079 MADERA_SPD1_VAL1_SHIFT, 0, NULL, 0),
1081 MADERA_SPD1_VAL2_SHIFT, 0, NULL, 0),
1083 MADERA_SPD1_ENA_SHIFT, 0, NULL, 0),
1091 MADERA_NOISE_GEN_ENA_SHIFT, 0, NULL, 0),
1094 MADERA_TONE1_ENA_SHIFT, 0, NULL, 0),
1096 MADERA_TONE2_ENA_SHIFT, 0, NULL, 0),
1101 MADERA_AEC1_LOOPBACK_ENA_SHIFT, 0,
1102 &cs47l90_aec_loopback_mux[0]),
1104 MADERA_AEC2_LOOPBACK_ENA_SHIFT, 0,
1108 0, NULL, 0, madera_in_ev,
1112 0, NULL, 0, madera_in_ev,
1116 0, NULL, 0, madera_in_ev,
1120 0, NULL, 0, madera_in_ev,
1124 0, NULL, 0, madera_in_ev,
1128 0, NULL, 0, madera_in_ev,
1132 0, NULL, 0, madera_in_ev,
1136 0, NULL, 0, madera_in_ev,
1140 0, NULL, 0, madera_in_ev,
1144 0, NULL, 0, madera_in_ev,
1148 SND_SOC_DAPM_AIF_IN("AIF1RX1", NULL, 0,
1149 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX1_ENA_SHIFT, 0),
1151 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX2_ENA_SHIFT, 0),
1153 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX3_ENA_SHIFT, 0),
1155 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX4_ENA_SHIFT, 0),
1157 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX5_ENA_SHIFT, 0),
1159 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX6_ENA_SHIFT, 0),
1161 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX7_ENA_SHIFT, 0),
1163 MADERA_AIF1_RX_ENABLES, MADERA_AIF1RX8_ENA_SHIFT, 0),
1165 SND_SOC_DAPM_AIF_IN("AIF2RX1", NULL, 0,
1166 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX1_ENA_SHIFT, 0),
1168 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX2_ENA_SHIFT, 0),
1170 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX3_ENA_SHIFT, 0),
1172 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX4_ENA_SHIFT, 0),
1174 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX5_ENA_SHIFT, 0),
1176 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX6_ENA_SHIFT, 0),
1178 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX7_ENA_SHIFT, 0),
1180 MADERA_AIF2_RX_ENABLES, MADERA_AIF2RX8_ENA_SHIFT, 0),
1182 SND_SOC_DAPM_AIF_IN("AIF3RX1", NULL, 0,
1183 MADERA_AIF3_RX_ENABLES, MADERA_AIF3RX1_ENA_SHIFT, 0),
1185 MADERA_AIF3_RX_ENABLES, MADERA_AIF3RX2_ENA_SHIFT, 0),
1187 SND_SOC_DAPM_AIF_IN("AIF4RX1", NULL, 0,
1188 MADERA_AIF4_RX_ENABLES, MADERA_AIF4RX1_ENA_SHIFT, 0),
1190 MADERA_AIF4_RX_ENABLES, MADERA_AIF4RX2_ENA_SHIFT, 0),
1192 SND_SOC_DAPM_AIF_IN("SLIMRX1", NULL, 0, MADERA_SLIMBUS_RX_CHANNEL_ENABLE,
1193 MADERA_SLIMRX1_ENA_SHIFT, 0),
1195 MADERA_SLIMRX2_ENA_SHIFT, 0),
1197 MADERA_SLIMRX3_ENA_SHIFT, 0),
1199 MADERA_SLIMRX4_ENA_SHIFT, 0),
1201 MADERA_SLIMRX5_ENA_SHIFT, 0),
1203 MADERA_SLIMRX6_ENA_SHIFT, 0),
1205 MADERA_SLIMRX7_ENA_SHIFT, 0),
1207 MADERA_SLIMRX8_ENA_SHIFT, 0),
1209 SND_SOC_DAPM_PGA("EQ1", MADERA_EQ1_1, MADERA_EQ1_ENA_SHIFT, 0, NULL, 0),
1210 SND_SOC_DAPM_PGA("EQ2", MADERA_EQ2_1, MADERA_EQ2_ENA_SHIFT, 0, NULL, 0),
1211 SND_SOC_DAPM_PGA("EQ3", MADERA_EQ3_1, MADERA_EQ3_ENA_SHIFT, 0, NULL, 0),
1212 SND_SOC_DAPM_PGA("EQ4", MADERA_EQ4_1, MADERA_EQ4_ENA_SHIFT, 0, NULL, 0),
1214 SND_SOC_DAPM_PGA("DRC1L", MADERA_DRC1_CTRL1, MADERA_DRC1L_ENA_SHIFT, 0,
1215 NULL, 0),
1216 SND_SOC_DAPM_PGA("DRC1R", MADERA_DRC1_CTRL1, MADERA_DRC1R_ENA_SHIFT, 0,
1217 NULL, 0),
1218 SND_SOC_DAPM_PGA("DRC2L", MADERA_DRC2_CTRL1, MADERA_DRC2L_ENA_SHIFT, 0,
1219 NULL, 0),
1220 SND_SOC_DAPM_PGA("DRC2R", MADERA_DRC2_CTRL1, MADERA_DRC2R_ENA_SHIFT, 0,
1221 NULL, 0),
1223 SND_SOC_DAPM_PGA("LHPF1", MADERA_HPLPF1_1, MADERA_LHPF1_ENA_SHIFT, 0,
1224 NULL, 0),
1225 SND_SOC_DAPM_PGA("LHPF2", MADERA_HPLPF2_1, MADERA_LHPF2_ENA_SHIFT, 0,
1226 NULL, 0),
1227 SND_SOC_DAPM_PGA("LHPF3", MADERA_HPLPF3_1, MADERA_LHPF3_ENA_SHIFT, 0,
1228 NULL, 0),
1229 SND_SOC_DAPM_PGA("LHPF4", MADERA_HPLPF4_1, MADERA_LHPF4_ENA_SHIFT, 0,
1230 NULL, 0),
1233 MADERA_ASRC1_IN1L_ENA_SHIFT, 0, NULL, 0),
1235 MADERA_ASRC1_IN1R_ENA_SHIFT, 0, NULL, 0),
1237 MADERA_ASRC1_IN2L_ENA_SHIFT, 0, NULL, 0),
1239 MADERA_ASRC1_IN2R_ENA_SHIFT, 0, NULL, 0),
1242 MADERA_ASRC2_IN1L_ENA_SHIFT, 0, NULL, 0),
1244 MADERA_ASRC2_IN1R_ENA_SHIFT, 0, NULL, 0),
1246 MADERA_ASRC2_IN2L_ENA_SHIFT, 0, NULL, 0),
1248 MADERA_ASRC2_IN2R_ENA_SHIFT, 0, NULL, 0),
1251 MADERA_ISRC1_DEC1_ENA_SHIFT, 0, NULL, 0),
1253 MADERA_ISRC1_DEC2_ENA_SHIFT, 0, NULL, 0),
1255 MADERA_ISRC1_DEC3_ENA_SHIFT, 0, NULL, 0),
1257 MADERA_ISRC1_DEC4_ENA_SHIFT, 0, NULL, 0),
1260 MADERA_ISRC1_INT1_ENA_SHIFT, 0, NULL, 0),
1262 MADERA_ISRC1_INT2_ENA_SHIFT, 0, NULL, 0),
1264 MADERA_ISRC1_INT3_ENA_SHIFT, 0, NULL, 0),
1266 MADERA_ISRC1_INT4_ENA_SHIFT, 0, NULL, 0),
1269 MADERA_ISRC2_DEC1_ENA_SHIFT, 0, NULL, 0),
1271 MADERA_ISRC2_DEC2_ENA_SHIFT, 0, NULL, 0),
1273 MADERA_ISRC2_DEC3_ENA_SHIFT, 0, NULL, 0),
1275 MADERA_ISRC2_DEC4_ENA_SHIFT, 0, NULL, 0),
1278 MADERA_ISRC2_INT1_ENA_SHIFT, 0, NULL, 0),
1280 MADERA_ISRC2_INT2_ENA_SHIFT, 0, NULL, 0),
1282 MADERA_ISRC2_INT3_ENA_SHIFT, 0, NULL, 0),
1284 MADERA_ISRC2_INT4_ENA_SHIFT, 0, NULL, 0),
1287 MADERA_ISRC3_DEC1_ENA_SHIFT, 0, NULL, 0),
1289 MADERA_ISRC3_DEC2_ENA_SHIFT, 0, NULL, 0),
1292 MADERA_ISRC3_INT1_ENA_SHIFT, 0, NULL, 0),
1294 MADERA_ISRC3_INT2_ENA_SHIFT, 0, NULL, 0),
1297 MADERA_ISRC4_DEC1_ENA_SHIFT, 0, NULL, 0),
1299 MADERA_ISRC4_DEC2_ENA_SHIFT, 0, NULL, 0),
1302 MADERA_ISRC4_INT1_ENA_SHIFT, 0, NULL, 0),
1304 MADERA_ISRC4_INT2_ENA_SHIFT, 0, NULL, 0),
1306 WM_ADSP2("DSP1", 0, cs47l90_adsp_power_ev),
1316 SND_SOC_DAPM_PGA("DFC1", MADERA_DFC1_CTRL, MADERA_DFC1_ENA_SHIFT, 0, NULL, 0),
1317 SND_SOC_DAPM_PGA("DFC2", MADERA_DFC2_CTRL, MADERA_DFC1_ENA_SHIFT, 0, NULL, 0),
1318 SND_SOC_DAPM_PGA("DFC3", MADERA_DFC3_CTRL, MADERA_DFC1_ENA_SHIFT, 0, NULL, 0),
1319 SND_SOC_DAPM_PGA("DFC4", MADERA_DFC4_CTRL, MADERA_DFC1_ENA_SHIFT, 0, NULL, 0),
1320 SND_SOC_DAPM_PGA("DFC5", MADERA_DFC5_CTRL, MADERA_DFC1_ENA_SHIFT, 0, NULL, 0),
1321 SND_SOC_DAPM_PGA("DFC6", MADERA_DFC6_CTRL, MADERA_DFC1_ENA_SHIFT, 0, NULL, 0),
1322 SND_SOC_DAPM_PGA("DFC7", MADERA_DFC7_CTRL, MADERA_DFC1_ENA_SHIFT, 0, NULL, 0),
1323 SND_SOC_DAPM_PGA("DFC8", MADERA_DFC8_CTRL, MADERA_DFC1_ENA_SHIFT, 0, NULL, 0),
1335 SND_SOC_DAPM_SWITCH("DRC1 Activity Output", SND_SOC_NOPM, 0, 0,
1336 &madera_drc_activity_output_mux[0]),
1337 SND_SOC_DAPM_SWITCH("DRC2 Activity Output", SND_SOC_NOPM, 0, 0,
1410 SND_SOC_DAPM_SWITCH("DSP1 Trigger Output", SND_SOC_NOPM, 0, 0,
1411 &madera_dsp_trigger_output_mux[0]),
1412 SND_SOC_DAPM_SWITCH("DSP2 Trigger Output", SND_SOC_NOPM, 0, 0,
1414 SND_SOC_DAPM_SWITCH("DSP3 Trigger Output", SND_SOC_NOPM, 0, 0,
1416 SND_SOC_DAPM_SWITCH("DSP4 Trigger Output", SND_SOC_NOPM, 0, 0,
1418 SND_SOC_DAPM_SWITCH("DSP5 Trigger Output", SND_SOC_NOPM, 0, 0,
1420 SND_SOC_DAPM_SWITCH("DSP6 Trigger Output", SND_SOC_NOPM, 0, 0,
1422 SND_SOC_DAPM_SWITCH("DSP7 Trigger Output", SND_SOC_NOPM, 0, 0,
2152 return madera_set_fll_refclk(&cs47l90->fll[0], source, fref, in cs47l90_set_fll()
2161 return madera_set_fll_syncclk(&cs47l90->fll[0], source, fref, in cs47l90_set_fll()
2374 if (strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, "cs47l90-dsp-voicectrl") == 0) { in cs47l90_open()
2376 } else if (strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, "cs47l90-dsp-trace") == 0) { in cs47l90_open()
2377 n_adsp = 0; in cs47l90_open()
2381 snd_soc_rtd_to_codec(rtd, 0)->name); in cs47l90_open()
2394 int serviced = 0; in cs47l90_adsp2_irq()
2397 for (i = 0; i < CS47L90_NUM_ADSP; ++i) { in cs47l90_adsp2_irq()
2446 for (i = 0; i < CS47L90_NUM_ADSP; i++) in cs47l90_component_probe()
2449 return 0; in cs47l90_component_probe()
2462 for (i = 0; i < CS47L90_NUM_ADSP; i++) in cs47l90_component_remove()
2466 #define CS47L90_DIG_VU 0x0200
2538 if (ret != 0) { in cs47l90_probe()
2547 for (i = 0; i < CS47L90_NUM_ADSP; i++) { in cs47l90_probe()
2564 if (ret == 0) { in cs47l90_probe()
2567 if (ret != 0) in cs47l90_probe()
2572 for (--i; i >= 0; --i) { in cs47l90_probe()
2581 &cs47l90->fll[0]); in cs47l90_probe()
2587 for (i = 0; i < ARRAY_SIZE(cs47l90_dai); i++) in cs47l90_probe()
2591 for (i = 0; i < ARRAY_SIZE(cs47l90_digital_vu); i++) in cs47l90_probe()
2602 if (ret < 0) { in cs47l90_probe()
2612 for (i = 0; i < CS47L90_NUM_ADSP; i++) { in cs47l90_probe()
2617 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l90_probe()
2632 for (i = 0; i < CS47L90_NUM_ADSP; i++) { in cs47l90_remove()
2637 madera_set_irq_wake(cs47l90->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l90_remove()