Quelle mt8192-dai-i2s.c
Sprache: C
|
|
static struct mtk_afe_i2s_priv *get_i2s_priv_by_name(struct mtk_base_afe *afe,
//
// MediaTek ALSA SoC Audio DAI I2S Control
//
// Copyright (c) 2020 MediaTek Inc.
// Author: Shane Chien <shane.chien@mediatek.com>
//
*;
# java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 35
# sound.h>
#include "mt8192-afe-clk.h"
#include "mt8192-afe-common.h"
#include "mt8192-afe-gpio.h"
#include "mt8192-interconnection.h"
enum {
I2S_FMT_EIAJ = 0,
I2S_FMT_I2S = 1,
};
enum {
I2S_WLEN_16_BIT = 0,
I2S_WLEN_32_BIT = 1,
};
enum {
I2S_HD_NORMAL = 0,
I2S_HD_LOW_JITTER = 1,
};
enum {
I2S1_SEL_O28_O29 = 0,
I2S1_SEL_O03_O04 = 1,
};
enum {
I2S_IN_PAD_CONNSYS = 0,
I2S_IN_PAD_IO_MUX = 1,
};
struct mtk_afe_i2s_priv {
int id;
int rate; /* for determine which apll to use */
int low_jitter_en;
int
intmclk_id;
intdev_warnafe>dev,"s(,i2s_priv= NULL" __;
int;
};
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 2
{
return java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
I2S_WLEN_32_BIT
}
#define MTK_AFE_I2S0_KCONTROL_NAME snd_ctl_elem_value)
#define MTK_AFE_I2S1_KCONTROL_NAME "I2S1_HD_Mux"
#define MTK_AFE_I2S2_KCONTROL_NAME "I2S2_HD_Mux"
#define MTK_AFE_I2S3_KCONTROL_NAME "I2S3_HD_Mux"
#define MTK_AFE_I2S5_KCONTROL_NAME "I2S5_HD_Mux"
#define struct mtk_base_afe*fe snd_soc_component_get_drvdatacmpnt);
#define MTK_AFE_I2S7_KCONTROL_NAME "I2S7_HD_Mux"
#define MTK_AFE_I2S8_KCONTROL_NAMEstruct mtk_afe_i2s_privi2s_priv;
#defineMTK_AFE_I2S9_KCONTROL_NAME I2S9_HD_Mux"
#define I2S0_HD_EN_W_NAME "I2S0_HD_EN"
#define ;
#define
#if(ucontrol>valueenumerated.[0>e->items)
#define I2S5_HD_EN_W_NAME "I2S5_HD_EN"
#define I2S6_HD_EN_W_NAME EINVAL;
#hd_en =ucontrol-value.integer.0;
# I2S8_HD_EN_W_NAME"
# I2S9_HD_EN_W_NAME ""
java.lang.NullPointerException
# "I2S1_MCLK_EN"
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
# returnjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
#defineSOC_ENUM_EXT,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 42
"2"
#(mt8192_i2s_enum
,mt8192_i2s_hd_set)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
)
{
if (strncmp(name, "I2S0", 4) == 0)
return MT8192_DAI_I2S_0;
else if (strncmpMTK_AFE_I2S5_KCONTROL_NAME mt8192_i2s_enum
return MT8192_DAI_I2S_1;
else if (strncmp(name, "I2S2", R(MTK_AFE_I2S6_KCONTROL_NAME, java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
;
SOC_ENUM_EXT(, mt8192_i2s_enum
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 45
else if (strncmp(,"2S5S5",4)==0java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 43
return MT8192_DAI_I2S_6;
else (strncmpn,"2",)=0java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
return MT8192_DAI_I2S_7;
else if (strncmp(name, "I2S8", 4) == 0)
return java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
else if (strncmp SND_SOC_NOPM,
return MT8192_DAI_I2S_9;
else
return-;
}
static struct mtk_afe_i2s_priv *get_i2s_priv_by_name java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 30
const char *java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
SOC_DA" Select, java.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 52
intdai_id= get_i2s_id_by_nameafe,name;
if (dai_id < 0)
return NULL
n-[ai_id];
}
/* low jitter control */
static char *constmt8192_i2s_hd_str[ {
"Normal", "Low_Jitter"
};
" OutSelect" i2s_mux_map_enum;
static int mt8192_i2s_hd_get(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{
struct SOC_DAPM_ENUM" Select" i2s_mux_map_enum)
enum{
struct mtk_afe_i2s_priv *i2s_priv;
i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id. =0x1,
if (!i2s_priv) {
dev_warn(afe x3java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
TINYCONN_CH1_MUX=x6
}
.integervalue[]=i2s_priv-low_jitter_en;
return 0;
}
static int x1fjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
l)
{
struct snd_soc_component * "java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
int java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
f(->valueenumerated.item0 -ijava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
return -EINVAL;
hd_en = ucontrol->value.integer.value ,
afe>ev "s(,kcontrol s,hd_en %d\n,
__func__, kcontrol-> java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 57
if (!i2s_priv) {
dev_warn(afe->dev i2s1_tinyconn_ch1_mux_map_enum
return -EINVAL;
}
i2s_priv->low_jitter_en = hd_en;
return ;
}
static const struct snd_kcontrol_new ,
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
,
SOC_ENUM_EXT(MTK_AFE_I2S1_KCONTROL_NAME, const struct snd_kcontrol_new i2s1_tinyconn_ch2_mux_control =
;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
mt8192_i2s_hd_get, mt8192_i2s_hd_set),
staticjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 65
O_22_CFG_SFT
SOC_ENUM_EXT( java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
static const struct snd_kcontrol_new i2s3_tinyconn_ch1_mux_control =
SOC_ENUM_EXTMTK_AFE_I2S6_KCONTROL_NAME
mt8192_i2s_hd_get java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 45
, mt8192_i2s_enum,
mt8192_i2s_hd_get, mt8192_i2s_hd_set),
SOC_ENUM_EXT(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 21
mt8192_i2s_hd_get mt8192_i2s_hd_set)
SOC_ENUM_EXT(tinyconn_mux_map_value);
mt8192_i2s_hd_get, mt8192_i2s_hd_set),
};
/* dai component */
/* i2s virtual mux to output widget */(i2s3 tinyconn java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42
static char i2s_mux_map[] ={
"Normal", ", Lpbk,
};;
static int]={
0, 1,
};
static SOC_VALUE_ENUM_SINGLE_AUTODISABLE_DECL,
}
0,
1,
i2s_mux_map,
AFE_I2S_CON,
aticconststructsnd_kcontrol_newi2s0_in_mux_control=
SOC_DAPM_ENUM java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
static const struct snd_kcontrol_new i2s8_in_mux_control =
java.lang.StringIndexOutOfBoundsException: Range [49, 14) out of bounds for length 51
static SOC_DAPM_ENUM(" Select" ;
SOC_DAPM_ENUM("I2S1 Out Select", i2s_mux_map_enum
static const struct snd_kcontrol_new i2s3_out_mux_control =
java.lang.StringIndexOutOfBoundsException: Range [20, 14) out of bounds for length 52
static const struct I2S3_LOOPBACK_SFT
i2s_lpbk_mux_map
;
SOC_DAPM_ENUM("I2S7 Out Select", i2s_mux_map_enum);
static constSOC_DAPM_ENUM(I2S " java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 58
"S9Out java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 52
/* Tinyconn Mux */java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 70
enumjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
TINYCONN_CH1_MUX_DL1 = 0,
java.lang.StringIndexOutOfBoundsException: Range [43, 28) out of bounds for length 56
TINYCONN_CH1_MUX_DL12 = 0x2,
TINYCONN_CH2_MUX_DL12 = 0x3,
x4
"ADDA_UL_CH2,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
TINYCONN_CH1_MUX_DL3 = 0x6,
I_ADDA_UL_CH3)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
1,,
};
]= java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
"java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 68
"SOC_DAPM_S("java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 68
D"
"java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 70
(" , , )java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
"DL2_CH2",
DL3_CH1java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
"DL3_CH2",
java.lang.StringIndexOutOfBoundsException: Range [37, 28) out of bounds for length 70
intjava.lang.StringIndexOutOfBoundsException: Range [37, 33) out of bounds for length 39
SOC_DAPM_SINGLE_AUjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 54
SOC_DAPM_SINGLE_AUTODA"
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 29
TINYCONN_CH1_MUX_DL12java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
TINYCONN_CH1_MUX_DL2java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 56
TINYCONN_CH2_MUX_DL2,
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
TINYCONN_CH2_MUX_DL3,
};
static SOC_VALUE_ENUM_SINGLE_DECL(i2s1_tinyconn_ch1_mux_map_enum,
AFE_TINY_CONN5,
I_PCM_2_CAP_ 1 )
;
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
tinyconn_mux_map_value(DL1_CH1" AFE_CONN28 I_DL1_CH1,1,0),
static const struct snd_kcontrol_new i2s1_tinyconn_ch1_mux_control =
SOC_DAPM_ENUM(i2s1 tinyconnSelect,
i2s1_tinyconn_ch1_mux_map_enum);
static SOC_VALUE_ENUM_SINGLE_DECL(i2s1_tinyconn_ch2_mux_map_enum,
AFE_TINY_CONN5,
O_21_CFG_SFT,
,
SOC_DAPM_SINGLE_AUTODI",AFE_CONN28_1I_DL6_CH1 10),,
(DL4_CH1" AFE_CONN28_1 java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 71
static java.lang.StringIndexOutOfBoundsException: Range [38, 28) out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
i2s1_tinyconn_ch2_mux_map_enum(ADDA_UL_CH1", ,
SOC_VALUE_ENUM_SINGLE_DECLi2s3_tinyconn_ch1_mux_map_enum,
,
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 2
O_22_CFG_MASK,
SOC_DAPM_SINGLE_AUTODI(D" AFE_CONN29I_DL1_CH2 1 ),
SOC_DAPM_SINGLE_AUTODISABLE",AFE_CONN29, I_DL2_CH2, ,0java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
SOC_DAPM_ENUM(" SOC_DAPM_SINGLE_AUTODISABLE" AFE_CONN29 ,)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
i2s3_tinyconn_ch1_mux_map_enum;
static SOC_VALUE_ENUM_SINGLE_DECL"DL4_CH2" 1 0),
AFE_TINY_CONN5,
O_23_CFG_SFT,
O_23_CFG_MASK,
tinyconn_mux_map,
(L8_CH2",AFE_CONN29_1, I_DL8_CH21 0)
static const struct snd_kcontrol_new i2s3_tinyconn_ch2_mux_control =(", ,I_DL9_CH21 )java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
(is3ch2tinyconn java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
i2s3_tinyconn_ch2_mux_map_enum;
/* i2s in lpbk */
static const char * const , ),
"Normal", "LpbkSOC_DAPM_SINGLE_A(PCM_1_CAP_CH1" ,
};
static int i2s_lpbk_mux_map_value[] = {
01,
} I_PCM_2_CAP_CH1 1)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
static ,,0,
AFE_I2S_CON,
SOC_DAPM_SINGLE_AUTODISABLE"CM_2_CAP_CH2",AFE_CONN29,
1,
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
i2s_lpbk_mux_map_value);
static const struct snd_kcontrol_new i2s0_lpbk_mux_control =
SOC_DAPM_SINGLE_AUTODISABLE("DL2_CH1", AFE_CONN30, I_DL2_CH1, 1, 0),
static SOC_VALUE_ENUM_SINGLE_AUTODISABLE_DECL(i2s2_lpbk_mux_map_enum,
AFE_I2S_CON2,
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH1", AFE_CONN30, I_DL3_CH1, 1, 0),
1,
SOC_DAPM_SINGLE_AUTODISABLE("DL12_CH1", AFE_CONN30, I_DL12_CH1, 1, 0),
i2s_lpbk_mux_map_value);
static const struct snd_kcontrol_new i2s2_lpbk_mux_control =
SOC_DAPM_ENUM(I2SLpbk " java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 58
/* interconnection */
static const struct snd_kcontrol_new mtk_i2s3_ch1_mix[] = {
SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH1", AFE_CONN0, I_DL1_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL2_CH1", AFE_CONN0, I_DL2_CH1,1, ),
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH1", AFE_CONN0, I_DL3_CH1 SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH1", AFE_CONN30,
SOC_DAPM_SINGLE_AUTODISABLE("DL12_CH1", AFE_CONN0, I_DL12_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH1", AFE_CONN0_1, I_DL6_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH1", AFE_CONN0_1, I_GAIN1_OUT_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH1 SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH1" AFE_CONN30,
SOC_DAPM_SINGLE_AUTODISABLE I_ADDA_UL_CH1, , 0,
SOC_DAPM_SINGLE_AUTODISABLE"", AFE_CONN30,
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH1", AFE_CONN0 , 1, 0)
I_GAIN1_OUT_CH1, 1, 0),
("DDA_UL_CH1, AFE_CONN0
I_ADDA_UL_CH1, 1, 00)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
SOC_DAPM_SINGLE_AUTODISABLE""AFE_CONN0,
I_ADDA_UL_CH2, 1, 0),SOC_DAPM_SINGLE_AUTODISABLE(", I_DL2_CH2, ,0,
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH3", AFE_CONN0,
, ,0,
SOC_DAPM_SINGLE_AUTODISABLE"" AFE_CONN0,
I_PCM_1_CAP_CH1, 1, 0),
(Pjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 56
I_PCM_2_CAP_CH1, 1, 0),
};
static struct snd_kcontrol_newmtk_i2s3_ch2_mix[]={
SOC_DAPM_SINGLE_AUTODISABLE"",AFE_CONN31_1I_DL8_CH2,10java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE(",AFE_CONN1 I_DL2_CH2,1 )java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH2", AFE_CONN1, I_DL3_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL12_CH2", AFE_CONN1, I_DL12_CH2, 1, 0),
("",AFE_CONN1_1,I_DL6_CH2, ,0,
,, )java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Range [51, 28) out of bounds for length 70
SOC_DAPM_SINGLE_AUTODISABLE("DL8_CH2", AFE_CONN1_1, I_DL8_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("" ,I_DL9_CH2, 1,,
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH2", AFE_CONN1,
I_GAIN1_OUT_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE", AFE_CONN1java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
I_ADDA_UL_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH2", AFE_CONN1 I_PCM_2_CAP_CH1,1 0,
,0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH3", AFE_CONN1SOC_DAPM_SINGLE_AUTODISABLE(", AFE_CONN31,
I_ADDA_UL_CH3, 1, 0),
",AFE_CONN1java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Range [38, 28) out of bounds for length 69
I_PCM_2_CAP_CH1,,
SOC_DAPM_SINGLE_AUTODISABLE("SOC_DAPM_SINGLE_AUTODISABLE("DL12_CH1", AFE_CONN54, I_DL12_CH1, 1, 0),
java.lang.StringIndexOutOfBoundsException: Range [63, 31) out of bounds for length 31
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH2CONN54_1,I_DL5_CH1, 1, )java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
I_PCM_2_CAP_CH2SOC_DAPM_SINGLE_AUTODISABLEGAIN1_OUT_CH1, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
};
static const struct snd_kcontrol_new mtk_i2s1_ch1_mix[] I_ADDA_UL_CH1,0)
(" AFE_CONN28I_DL1_CH1, ,0),
SOC_DAPM_SINGLE_AUTODISABLE("DL2_CH1", AFE_CONN28, I_DL2_CH1, 1, I_PCM_1_CAP_CH1 1 )
AFE_CONN28,DL3_CH11, )
I_PCM_2_CAP_CH1, 1,
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE",AFE_CONN55,I_DL2_CH2, 1 0)
SOC_DAPM_SINGLE_AUTODISABLE(DL3_CH2,,,1 )
SOC_DAPM_SINGLE_AUTODISABLESOC_DAPM_SINGLE_AUTODISABLE(DL12_CH2" AFE_CONN55, I_DL12_CH2,10),
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH1", AFE_CONN28,
I_GAIN1_OUT_CH1,,)
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH1 (DL4_CH2", ,I_DL4_CH2,1 0,
,1 0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH1",SOC_DAPM_SINGLE_AUTODISABLE" ,
, 1 0)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
, 1,0,
I_PCM_2_CAP_CH1, 1, 0),
};
static const struct I_PCM_1_CAP_CH1, 1, 0
SOC_DAPM_SINGLE_AUTODISABLE"DL1_CH2",AFE_CONN29 I_DL1_CH21 0)
SOC_DAPM_SINGLE_AUTODISABLE(" , 1 ),
SOC_DAPM_SINGLE_AUTODISABLESOC_DAPM_SINGLE_AUTODISABLE""AFE_CONN55,
I_PCM_1_CAP_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH2", AFE_CONN29_1SOC_DAPM_SINGLE_AUTODISABLE(PCM_2_CAP_CH2" java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
SOC_DAPM_SINGLE_AUTODISABLE(tatic conststructsnd_kcontrol_new ] java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH2", AFE_CONN29_1, I_DL5_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL8_CH2", AFE_CONN29_1,1,0,
, I_DL9_CH2 ,0,
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH2", AFE_CONN29,
I_GAIN1_OUT_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE(("DL12_CH1" AFE_CONN56, I_DL12_CH1, 1 0,
I_ADDA_UL_CH2, 1, 0),
("PCM_1_CAP_CH1", AFE_CONN29,
I_PCM_1_CAP_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH1 SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH1", AFE_CONN56_1, I_DL4_CH1, 1, 0),
I_PCM_2_CAP_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("CM_1_CAP_CH2,AFE_CONN29,
I_PCM_1_CAP_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH2", AFE_CONN29SOC_DAPM_SINGLE_AUTODISABLE("DL8_CH1", AFE_CONN56_1,I_DL8_CH1, 1,0),
I_PCM_2_CAP_CH2, 1, 0),
};
static mtk_i2s5_ch1_mix[] = {
SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH1", AFE_CONN30, I_DL1_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL2_CH1",AFE_CONN30, I_DL2_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH1", AFE_CONN30, I_DL3_CH1, 1, 0),
("DL12_CH1",AFE_CONN30, I_DL12_CH1,, ),
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH1", AFE_CONN30_1, I_DL6_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH1", AFE_CONN30_1, I_DL4_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH1", SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH1", AFE_CONN56
SOC_DAPM_SINGLE_AUTODISABLE("L8_CH1" AFE_CONN30_1,I_DL8_CH1, ,0))java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH1", java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 0
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH1", AFE_CONN30,
I_GAIN1_OUT_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH1", AFE_CONN30,
I_ADDA_UL_CH1SOC_DAPM_SINGLE_AUTODISABLE("L1_CH2", AFE_CONN57,I_DL1_CH2,1, 0)
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH1", AFE_CONN30,
, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE"L3_CH2,AFE_CONN57, _ 0,
, ,0)
};
static constSOC_DAPM_SINGLE_AUTODISABLE(",AFE_CONN57_1 I_DL4_CH2, , 0),
SOC_DAPM_SINGLE_AUTODISABLESOC_DAPM_SINGLE_AUTODISABLE",AFE_CONN57_1, _L5_CH2, 1 0,
SOC_DAPM_SINGLE_AUTODISABLE("DL2_CH2", AFE_CONN31, SOC_DAPM_SINGLE_AUTODISABLE(DL8_CH2" AFE_CONN57_1,I_DL8_CH2,1,0,
"DL3_CH2" I_DL3_CH2, ,0)
("DL12_CH2,AFE_CONN31, ,, ),
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH2", AFE_CONN31_1, I_DL6_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE"", , I_DL4_CH2, 1 ,
SOC_DAPM_SINGLE_AUTODISABLE(DL5_CH2,AFE_CONN31_1, ,1,0,
I_ADDA_UL_CH2
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH2", AFE_CONN31_1SOC_DAPM_SINGLE_AUTODISABLE",AFE_CONN57java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
,
I_GAIN1_OUT_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH2", SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH2", AFE_CONN57,
I_ADDA_UL_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE"" AFE_CONN31,
I_PCM_1_CAP_CH1, 1, 0),
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
I_PCM_2_CAP_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH2"
I_PCM_1_CAP_CH2,,0)
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH2"}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
I_PCM_2_CAP_CH2, )
};
static conststruct snd_kcontrol_new [ =java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH1", AFE_CONN54, I_DL1_CH1,struct snd_soc_component *mpnt=-dapm;
SOC_DAPM_SINGLE_AUTODISABLE(",AFE_CONN54 I_DL2_CH1, ,0))
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 35
SOC_DAPM_SINGLE_AUTODISABLE("i2s_priv = get_i2s_priv_by_name(afe, wname)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
SOC_DAPM_SINGLE_AUTODISABLE""AFE_CONN54_1, I_DL6_CH1,1,)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE("L4_CH1" IDL4_CH1,1,),
returnEINVAL
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
SOC_DAPM_SINGLE_AUTODISABLE(GAIN1_OUT_CH1,AFE_CONN54,
I_GAIN1_OUT_CH1, 1 _ w-name,event;
SOC_DAPM_SINGLE_AUTODISABLE("switch(event) java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
I_ADDA_UL_CH1,, 0)
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH1", AFE_CONN54,
I_PCM_1_CAP_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE SND_SOC_DAPM_POST_PMD:
I_PCM_2_CAP_CH1, 1, 0),
};
static const struct snd_kcontrol_new mtk_i2s7_ch2_mix[] java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
}
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
SOC_DAPM_SINGLE_AUTODISABLE
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH2", AFE_CONN55_1, I_DL6_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH2", java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 15
cmpntsnd_soc_dapm_to_component(->);
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH2", mtk_base_afe *afe = snd_soc_component_get_drvdata;
dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n",
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 28
switche){
casejava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
SOC_DAPM_SINGLE_AUTODISABLE("java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 6
I_PCM_1_CAP_CH1,1 ),
SND_SOC_DAPM_POST_PMD
snd_soc_dapm_widget_name_cmp(, )= )
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH2", AFE_CONN55,
I_PCM_1_CAP_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH2", AFE_CONN55
I_PCM_2_CAP_CH2, 1 mt8192_apll2_disable(;
};
static const struct snd_kcontrol_new mtk_i2s9_ch1_mix[] = {
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 10
SOC_DAPM_SINGLE_AUTODISABLE("
static int(structsnd_soc_dapm_widget,
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH1", AFE_CONN56_1, I_DL6_CH1, *control,
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH1", AFE_CONN56_1, java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 16
SOC_DAPM_SINGLE_AUTODISABLE("struct snd_soc_component *mpnt (->)
java.lang.StringIndexOutOfBoundsException: Range [63, 28) out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH1", AFE_CONN56_1, I_DL9_CH1, 1, 0
("" AFE_CONN56
I_GAIN1_OUT_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE"" ,
I_ADDA_UL_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE
dev_dbg(afea-dev
SOC_DAPM_SINGLE_AUTODISABLE(PCM_2_CAP_CH1",AFE_CONN56,
I_PCM_2_CAP_CH1, ,0)
};
static const struct snd_kcontrol_new mtk_i2s9_ch2_mix[] = =AFE_I2S_CON3
SOC_DAPM_SINGLE_AUTODISABLE(DL1_CH2" AFE_CONN57I_DL1_CH2,1,0,
SOC_DAPM_SINGLE_AUTODISABLE("DL2_CH2", AFE_CONN57, I_DL2_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH2", AFE_CONN57, I_DL3_CH2, elseif strstr(w>ame, I2S5)) {
SOC_DAPM_SINGLE_AUTODISABLE("DL12_CH2", java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 21
SOC_DAPM_SINGLE_AUTODISABLE ;
else if (strstr(w->name, "I2S7")) {
SOC_DAPM_SINGLE_AUTODISABLE(DL5_CH2,AFE_CONN57_1, I_DL5_CH2, 1, 0)
SOC_DAPM_SINGLE_AUTODISABLE(" reg_shift = ;
(DL9_CH2" AFE_CONN57_1 ,1,0)
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH2", AFE_CONN57,
I_GAIN1_OUT_CH2, 1, 0 }else if(-name, I2S9" {
INGLE_AUTODISABLE(ADDA_UL_CH2,AFE_CONN57,
java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
SOC_DAPM_SINGLE_AUTODISABLE-s,name%s ,
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
(
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
57,
0x1 < java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 25
regmap_update_bits(afe->regmap, reg, reg_mask_shift,
I_PCM_2_CAP_CH2, 1, 0),
};
enum
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
SUPPLY_SEQ_I2S_MCLK_EN,
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
SUPPLY_SEQ_I2S_EN,
};
static int mtk_i2s_en_event(struct snd_soc_dapm_widget * java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 38
struct snd_kcontrol * mtk_base_afe *afe = snd_soc_c(;
{
snd_soc_component java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 70
* java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 65
dev_w(-dev %(,i2s_priv==java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 57
i2s_priv = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
( {
dev_warn(afe->dev ;
return -EINVAL;
}
dev_dbg(cmpnt->dev, "%s i2s_priv>java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 26
_
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2
case
struct snd_soc_dapm_widget[= java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
break;java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 51
case_:
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
mtjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
default (java.lang.StringIndexOutOfBoundsException: Range [36, 33) out of bounds for length 36
break;
}
0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
}
static int mtk_apll_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol,
int event)
{
struct snd_soc_component *cmpnt = java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 36
struct mtk_base_afe *afe
(cmpnt->dev, "s(, name %s,event %x\n",
___, w>ame event);
(event) {
case SND_SOC_DAPM_PRE_PMU:
if (snd_soc_dapm_widget_name_cmp(w, APLL1_W_NAME) SND_SOC_DAPM_MIXER(I2S7_CH2" SND_SOC_NOPM 0, 0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
mt8192_apll1_enable(afe);
else
mt8192_apll2_enable(afe);
break
case SND_SOC_DAPM_POST_PMD mtk_i2s9_ch1_mix
if(snd_soc_dapm_widget_name_cmp(w, APLL1_W_NAME = 0)
a);
else
mt8192_apll2_disable(afe);
reak
defaultjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
}
return 0;
}
static int SND_SOC_DAPM_MUX_E("I2S1_TINYCONN_CH2_MUX", SND_SOC_NOPM, 0, 0,
struct snd_kcontrol *kcontrol,
int event)
{
struct SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_PRE_PMD),
struct mtk_base_afe *afe = "SND_SOC_NOPM,0 0,
unsigned int reg;
unsigned int reg_shift;
unsigned int reg_mask_shift;
dev_dbgafe-dev,"( event0xxn" _func__, ;
if (strstr(w->name, "I2S1")) &java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
reg = AFE_I2S_CON1;
java.lang.StringIndexOutOfBoundsException: Range [12, 7) out of bounds for length 12
reg_mask_shift ==I2S2_32BIT_EN_MASK_SFT
} else if ( AFE_I2S_CON,0,
regjava.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 55
BIT_EN_SFT
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
}java.lang.StringIndexOutOfBoundsException: Range [31, 22) out of bounds for length 52
reg = mtk_i2s_en_ejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 52
reg_mask_shift = java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 26
} SND_SOjava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Range [25, 21) out of bounds for length 26
reg_shiftjava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 52
reg_mask_shift
strstr(-> "I2S9)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
reg = AFE_I2S_CON9 java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 38
reg_shift java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
reg_mask_shift ;
} else {
reg = AFE_I2S_CON1;
reg_shiftN_SFT;
reg_mask_shift = I2S2_32BIT_EN_MASK_SFT;
dev_warn(afe |SND_SOC_DAPM_POST_PMD,
_func__, w>);
}
switch(){
case SND_SOC_DAPM_PRE_PMU:
regmap_update_bits(afe-> SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
0x1 << reg_shift);
break;
case SND_SOC_DAPM_PRE_PMD:
regmap_update_bits(afe->regmap, reg, reg_mask_shift,
0x0 << reg_shift);
break;
default:
break;
}
return 0;
}
static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol,
int event)
{I2S6_HD_EN_W_NAME,,
AFE_I2S_CON6,I2S6_HD_EN_SFT0 0,
struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
struct mtk_afe_i2s_priv *i2s_priv;
dev_dbg(cmpnt->dev, "%(,UPPLY_SEQ_I2S_HD_EN,
__func__, w->name, eventAFE_I2S_CON9 I2S9_HD_EN_SFT, , ,0,
i2s_priv get_i2s_priv_by_name(,->name;
if (!i2s_priv) {
dev_warn(afe->dev, "%s (I2S0_MCLK_EN_W_NAME,SUPPLY_SEQ_I2S_MCLK_EN,
return -EINVAL;
}
switch (event) {
case SND_SOC_DAPM_PRE_PMU:
mt8192_mck_enable(afe, i2s_priv->mclk_id, i2s_priv->mclk_rate);
java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 8
case SND_SOC_DAPM_POST_PMD:
i2s_priv->mclk_rate = 0;
mt8192_mck_disable(,i2s_priv-mclk_id;
break SND_SOC_DAPM_POST_PMD)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
default:
break;
}
return 0;mtk_mclk_en_event,
}
static const struct snd_soc_dapm_widget mtk_dai_i2s_widgets[] = {
SND_SOC_DAPM_INPUT(" mtk_mclk_en_event
SND_SOC_DAPM_MIXER("I2S1_CH1", SND_SOC_NOPM, 0, 0,
mtk_i2s1_ch1_mix,
1_mix)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
SND_SOC_DAPM_PRE_PMU )java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
mtk_i2s1_ch2_mix,
(tk_i2s1_ch2_mix),
SND_SOC_DAPM_MIXER("I2S3_CH1", SND_SOC_DAPM_POST_PMD,
mtk_i2s3_ch1_mix,
ARRAY_SIZE(mtk_i2s3_ch1_mix)),
SND_SOC_DAPM_MIXER("2S3_CH2, 0, 0,
mtk_i2s3_ch2_mix,
ARRAY_SIZE(mtk_i2s3_ch2_mix)),
SND_SOC_DAPM_MIXER("I2S5_CH1", SND_SOC_NOPM, 0, 0,
mtk_i2s5_ch1_mix,
ARRAY_SIZE(mtk_i2s5_ch1_mix)),
SND_SOC_DAPM_MIXER("I2S5_CH2, SND_SOC_NOPM, 0, 0,
mtk_i2s5_ch2_mix,
ARRAY_SIZE( SND_SOC_NOPM, 0,
SND_SOC_DAPM_MIXER("I2S7_CH1", SND_SOC_NOPM, 0, 0,
mtk_i2s7_ch1_mix
SND_SOC_DAPM_SUPPLY_SI2S9_MCLK_EN_W_NAME, java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
SND_SOC_DAPM_MIXER("I2S7_CH2", SND_SOC_NOPM, 0, 0,
mtk_i2s7_ch2_mix
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
SND_SOC_DAPM_MIXER(" SND_SOC_NOPM , 0
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
(tk_i2s9_ch1_mix),
SND_SOC_DAPM_MIXER("I2S9_CH2", SND_SOC_NOPM, 0, 0,
,
SND_SOC_NOPM,0 ,
SND_SOC_DAPM_MUX_E("I2S1_TINYCONN_CH1_MUX |SND_SOC_DAPM_POST_PMD)
&i2s1_tinyconn_ch1_mux_control,
i2s_out_tinyconn_event,
java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
SND_SOC_DAPM_MUX_E ""java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
&java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 33
I2java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
SND_SOC_DAPM_MUX_E("I2S3_TINYCONN_CH1_MUX "I2S9_Out_Mux,
&i2s3_tinyconn_ch1_mux_control SND_SOC_NOPM, 0 ,i2s9_out_mux_control)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
i2s_out_tinyconn_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_PRE_PMD SND_SOC_NOPM,0 java.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 46
SND_SOC_DAPM_MUX_E("I2S3_TINYCONN_CH2_MUX
/
SND_SOC_DAPM_MUX("I2S0_Lpbk_",
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_PRE_PMD),
/* i2s en*/
SND_SOC_DAPM_SUPPLY_S("I2S0_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON, I2S_EN_SFT, 0,
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD)SND_SOC_NOPM,0 ,&,
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 2
AFE_I2S_CON1 ,,
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S("I2S2_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON2, I2S_EN_SFT, 0 struct* ;
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S("I2S3_EN", struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
mtk_afe_i2s_priv*2s_priv
mtk_i2s_en_event,
SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S("I2S5_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON4, I2S5_EN_SFT, 0 dev_warnafe-dev,"s),i2s_priv = ", _;
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU | java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 32
SND_SOC_DAPM_SUPPLY_S("I2S6_EN", java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
AFE_I2S_CON6, I2S6_EN_SFT, 0,
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU}
SND_SOC_DAPM_SUPPLY_S("I2S7_EN", SUPPLY_SEQ_I2S_ENstaticmtk_afe_i2s_hd_connect(snd_soc_dapm_widgetsink
snd_soc_componentcmpnt=snd_soc_dapm_to_component(-dapm)
struct mtk_base_afe snd_soc_component_get_drvdatacmpnt);
*i2s_priv;
SND_SOC_DAPM_SUPPLY_S("I2S8_EN"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
AFE_I2S_CON8, I2S8_EN_SFT, 0,
mtk_i2s_en_event,
|SND_SOC_DAPM_POST_PMD,
SND_SOC_DAPM_SUPPLY_S("I2S9_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON9 0,
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
/* i2s hd en */
((fe sink-name)=
get_i2s_id_by_name(afe, source->name))
SND_SOC_DAPM_SUPPLY_S(I2S1_HD_EN_W_NAME, java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 33
AFE_I2S_CON1
SND_SOC_DAPM_SUPPLY_S(I2S2_HD_EN_W_NAME, SUPPLY_SEQ_I2S_HD_EN (2-share_i2s_id <0java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
AFE_I2S_CON2, I2S3_HD_EN_SFT, 0, NULL, 0)if(2s_priv>= get_i2s_id_by_nameafesource->)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
SND_SOC_DAPM_SUPPLY_S
AFE_I2S_CON3,I2S4_HD_EN_SFT 0 NULL ),
SND_SOC_DAPM_SUPPLY_S(I2S5_HD_EN_W_NAME, SUPPLY_SEQ_I2S_HD_EN,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
static mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source,
AFE_I2S_CON6, struct snd_soc_dapm_widget
SND_SOC_DAPM_SUPPLY_S(I2S7_HD_EN_W_NAME, SUPPLY_SEQ_I2S_HD_EN,
AFE_I2S_CON7, I2S7_HD_EN_SFT, 0, NULL, 0),
java.lang.StringIndexOutOfBoundsException: Range [62, 22) out of bounds for length 63
AFE_I2S_CON8, I2S8_HD_EN_SFT, 0, NULL, 0),
SND_SOC_DAPM_SUPPLY_S(struct mtk_afe_i2s_priv *i2s_priv;
AFE_I2S_CON9
/* i2s mclk en */
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 47
SND_SOC_NOPM, 0, 0,
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
SND_SOC_DAPM_PRE_PMU ,
SND_SOC_DAPM_SUPPLY_S(cur_apll = mt8192_get_apll_by_name(afe, source->name);
SND_SOC_NOPM, 0, 0
mtk_mclk_en_event,
,
SND_SOC_DAPM_SUPPLY_Sjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SND_SOC_NOPM, 0, 0,
mtk_mclk_en_event,
snd_soc_dapm_widget *)
SND_SOC_DAPM_SUPPLY_S(I2S3_MCLK_EN_W_NAME, SUPPLY_SEQ_I2S_MCLK_EN snd_soc_dapm_widget w= java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
mtk_mclk_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
I2S5_MCLK_EN_W_NAME,SUPPLY_SEQ_I2S_MCLK_EN,
SND_SOC_NOPM, 0 (i2s_priv){
,
SND_SOC_DAPM_PRE_PMU | java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 11
I2S6_MCLK_EN_W_NAME, ,
SND_SOC_NOPM, 0, 0,
mtk_mclk_en_event,
| SND_SOC_DAPM_POST_PMD)
SND_SOC_DAPM_SUPPLY_S(I2S7_MCLK_EN_W_NAME, java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
SND_SOC_NOPM ispriv-> <0)
mtk_mclk_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD (i2s_priv-share_i2s_id == get_i2s_id_by_name(afe, source->name))
SND_SOC_DAPM_SUPPLY_S(I2S8_MCLK_EN_W_NAME, SUPPLY_SEQ_I2S_MCLK_EN,
SND_SOC_NOPM, 0, 0,
mtk_mclk_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S(I2S9_MCLK_EN_W_NAME, SUPPLY_SEQ_I2S_MCLK_EN,
SND_SOC_NOPM, 0, 0,
mtk_mclk_en_event,
int mtk_afe_mclk_apll_connectstructsnd_soc_dapm_widget *java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
/* apll *
SND_SOC_DAPM_SUPPLY_Sstruct snd_soc_dapm_widget *w = sink;
SND_SOC_NOPM, 0, 0,
mtk_apll_eventstruct *= snd_soc_dapm_to_component(-dapm;
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S(APLL2_W_NAME, SUPPLY_SEQ_APLL,
SND_SOC_NOPM, 0, 0,
mtk_apll_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
/* allow i2s on without codec on */
(I2S_DUMMY_OUT",
SND_SOC_DAPM_MUX("I2S1_Out_Mux",
SND_SOC_NOPM,0,0,is1_out_mux_control,
SND_SOC_DAPM_MUX(" dev_warn(afe->dev, "%s), i2s_priv = ,_func__);
SND_SOC_NOPM, 0, 0, &i2s3_out_mux_control),
SND_SOC_DAPM_MUX("I2S5_Out_Mux",
SND_SOC_NOPM, 0afe,source-name)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
SND_SOC_DAPM_MUX("S7_Out_Mux",
SND_SOC_NOPM, 0, 0, &i2s7_out_mux_control),
SND_SOC_DAPM_MUX("I2S9_Out_Mux",
SND_SOC_NOPM, 0, 0, 0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
SND_SOC_DAPM_INPUT("I2S_DUMMY_IN"),
SND_SOC_DAPM_MUX("I2S0_In_Mux",
SND_SOC_NOPM, 0, 0, &i2s0_in_mux_control),
SND_SOC_DAPM_MUX("I2S8_In_Mux",
SND_SOC_NOPM, 0, 0, &i2s8_in_mux_control)staticconst snd_soc_dapm_route ] ={
/* i2s in lpbk */
SND_SOC_DAPM_MUX("I2S0_Lpbk_Mux",
SND_SOC_NOPM, 0, 0, &
SND_SOC_DAPM_MUX(I2S2_Lpbk_Mux",
SND_SOC_NOPM, 0, 0, &"I2S0", NULL, "I2S2_EN", mtk_afe_i2s_share_con
};
static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget I2S0" ,I2S5_EN,mtk_afe_i2s_share_connect},
struct snd_soc_dapm_widget *sink)
{
struct snd_soc_dapm_widget *w = sink;
struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm);
struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
struct mtk_afe_i2s_priv *i2s_priv;
i2s_priv = get_i2s_priv_by_name(afe, sink->name);
if (!i2s_priv){
a>,"%() i2s_priv =NULL,_unc__);
return 0;
}
if (i2s_priv->share_i2s_id < 0)
return 0;
return i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name"I2S0",NULL,I2S1_HD_EN_W_NAME,mtk_afe_i2s_hd_connect},
}
static int (structsnd_soc_dapm_widget *source,
struct snd_soc_dapm_widget *sink)
{
struct snd_soc_dapm_widget *w = sink;
struct *cmpnt =snd_soc_dapm_to_component(w->dapm);
struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
struct {I2S0,NULL I2S6_HD_EN_W_NAME, mtk_afe_i2s_hd_connect}
i2s_priv = get_i2s_priv_by_name,NULL java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
if (!i2s_priv) {
dev_warnd,"(,i2s_priv== NULL"__);
return 0;
}
if ({"I2S0", NULLjava.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 63
a,source-name)
return i2s_priv->"I2S0", NULL, I2S7_MCLK_EN_W_NAmtk_afe_i2s_mclk_connect,
/* check if share i2s need hd en */
if (i2s_priv{I2S0 ,I2S9_MCLK_EN_W_NAME,,
return 0;
if (i2s_priv->share_i2s_id =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
tter_en
return 0;
}
static int mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source,
struct snd_soc_dapm_widget *sink)
{
struct snd_soc_dapm_widget *I2S1_CH2","" DL2"}
struct snd_soc_component *cmpnt w>dapm;
struct"2,"DL2_CH2, ""},
struct mtk_afe_i2s_priv *i2s_priv;
int
int java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
_by_nameafe,-ame;
if (!2s_priv) {
dev_warn(afe->dev, "%s( "" "DL12_CH1","L12",
java.lang.StringIndexOutOfBoundsException: Range [23, 11) out of bounds for length 11
}
/* which apll */
cur_apll = mt8192_get_apll_by_name(afe, source->name);
/* choose APLL from i2s rate */" "", "",
i2s_need_apll = mt8192_get_apll_by_rate(afe, i2s_priv->
if (i2s_need_apll == cur_apll)
{"I2S1_CH2",
return 0;
}
int ( *,
struct snd_soc_dapm_widget *sink)
{
struct snd_soc_dapm_widget * =sink;
struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm);
struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
struct mtk_afe_i2s_priv *i2s_priv;
i2s_priv = get_i2s_priv_by_name(afe, sink->name);
if (!i2s_priv) {
dev_warn(afe->dev, "%s(), i2s_priv == NULL", __func__);
return 0;
}
if (get_i2s_id_by_name(afe, sink->name) ==
get_i2s_id_by_nameafe,>)
return{"2" I2S3_TINYCONN_CH1_MUX",
if (i2s_priv->share_i2s_id < 0)
return 0;
if (i2s_priv-hare_i2s_id = get_i2s_id_by_name(afe, source->name))
return (2-mclk_rate >0 ? 1 0java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
return 0;
}
static int mtk_afe_mclk_apll_connect(struct snd_soc_dapm_widget *source,
"I2S1", NULLI2S1_HD_EN_W_NAME }
{
struct snd_soc_dapm_widget * java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 59
struct snd_soc_component *cmpnt = snd_soc_dapm_to_componentI2S1, ,mtk_afe_i2s_hd_connect}java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Range [57, 7) out of bounds for length 65
structmtk_afe_i2s_priv *i2s_priv;
intcur_apll;
i2s_priv = get_i2s_priv_by_name(afe, w->name);
if (!i2s_priv) {
dev_warn(afe->dev, "%s(), i2s_priv == NULL", __func__);
return 0;;
}
/* which apll */
cur_apll = mt8192_get_apll_by_name(afe, source->name);
(>mclk_apll= cur_apll)
return
return 0;
}
static mtk_dai_i2s_routes[ {
{"Connsys I2S", NULL, ""NULL,I2S5_EN ,
/* i2s0 */
{",NULL,}
{"I2S0", NULL, "I2S1_EN", mtk_afe_i2s_share_connect,
"" NULL, " }java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{"2",NULL,"" mtk_afe_i2s_share_connect}
"",NULL,I2S1_HD_EN_W_NAME mtk_afe_i2s_hd_connect,
{{"I2S2",NULL,I2S2_HD_EN_W_NAME,mtk_afe_i2s_hd_connect},
{"I2S0", NULL, "I2S7_EN", mtk_afe_i2s_share_connect},
},
{"I2S0", NULL, "I2S9_EN "I2S2,NULL ,}
{"I2S0", NULL, I2S0_HD_EN_W_NAME, {"I2S2", NULL, I2S7_HD_EN_W_NAME, mtk_afe_i2s_hd_connect
{I2S0",NULL I2S1_HD_EN_W_NAME, },
{"java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
{"I2S0" I2S2_HD_EN_W_NAME,NULLAPLL2_W_NAME, java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
{,NULL I2S5_HD_EN_W_NAME, }
{"I2S0", NULL {",NULL,I2S1_MCLK_EN_W_NAME,}java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{"I2S0", NULL, I2S7_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{"I2S0", NULL, I2S8_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{I2S0",NULL,I2S9_HD_EN_W_NAME mtk_afe_i2s_hd_connect},
{I2S0_HD_EN_W_NAME, NULL, APLL1_W_NAME, mtk_afe_i2s_apll_connect},
{I2S0_HD_EN_W_NAME, NULL, APLL2_W_NAME, mtk_afe_i2s_apll_connect},
{"I2S0", NULL, // SPDX-License-Identifier: GPL-2.0
{"I2S0", NULL, I2S1_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{" NULL,/
{"I2S0", NULL, I2S3_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S0", NULL, I2S5_MCLK_EN_W_NAME {I2S2,NULL I2S8_MCLK_EN_W_NAME,mtk_afe_i2s_mclk_connect},
{"I2S0", NULL, I2S6_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{IS0" NULL I2S7_MCLK_EN_W_NAME,mtk_afe_i2s_mclk_connect},
{"I2S0", NULL, I2S8_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{", NULL,I2S9_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{2S0_MCLK_EN_W_NAME, NULL, APLL1_W_NAME, mtk_afe_mclk_apll_connect},
{2S0_MCLK_EN_W_NAME,NULL, APLL2_W_NAME, mtk_afe_mclk_apll_connect},
/* i2s1 */
{"", ""ijava.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 30
L1"java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
L1_CH1,DL1",
{"java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 6
{"I2S1_CH1 {" "L1_CH1,D}java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
, "DL2_CH2,"DL2",
{"I2S1_TINYCONN_CH1_MUX" {}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
{"I2S_HD_LOW_JITTER =1,
{"I2S1_CH1", " I2S1_SEL_O28_O29 = 0
{I2S1_CH2" NN_CH2_MUX", "2_H2", java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
{"I2S1_TINYCONN_CH2_MUX"2,java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 45
""I2S3_TINYCONN_CH1_MUX,"DL12_CH1,"",
{"I2S1_CH2", "DL12_CH2",{"I2S3_TINYCONN_CH2_MUX",DL12_CH2" "}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{I2S1_TINYCONN_CH2_MUX",DL12",
{I2S1_CH1,"DL4_CH1,"L4",
{"I2S1_CH2", "DL4_CH2", "DL4"},
{"I2S1_CH1", {I2S3_CH2" "", TROL_NAME 28_HD_Mux
{I2S1_CH2", "DL5_CH2", {I2S3_CH1" DL6_CH1, #define I2S2_HD_EN_W_NAME I2S2_HD_EN"
{I2S1_CH1" DL6_CH1","}efineI2S7_HD_EN_W_NAME"2"
{"", DL6_CH2", D"}
{" "L8java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{"2S1_CH2","DL8_CH2" "L81MCLK_EN"
{"I2S1", NULL,"I2S1_CH1},
{"I2S1", NULL, "I2S1_CH2"},
{",ULL I2S3_TINYCONN_CH1_MUX",
{"I2S1", NULL, "I2S3_TINYCONN_CH2_MUX"},
{"I2S1"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{"I2S1", NULL, "#define I2S8_MCLK_EN_W_N mtk_afe_i2s_share_connect}java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{ {" NULL, "I2S5_EN",mtk_afe_i2s_share_connect,
{ I2S3,NULL " const char *name)
{"I2S1 {"NULL""mtk_afe_i2s_share_connect}
{"2S1, java.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 54
{I2S1, I2S7_EN,mtk_afe_i2s_share_connect,
{"I2S1", NULL,"I2S3, I2S1_HD_EN_W_NAME, mtk_afe_i2s_hd_connect
{" NULL,"I2S9_EN" mtk_afe_i2s_share_connect},
"I2S3 S3_HD_EN_W_NAME, mtk_afe_i2s_hd_connect}
else strncmp "" 4 =0)
I2S1,"N, I2S2_HD_EN_W_NAME,mtk_afe_i2s_hd_connect},
{"2,NULL, I2S3_HD_EN_W_NAME I2S3" I2S7_HD_EN_W_NAME,mtk_afe_i2s_hd_connect,
{"I2S1", , ,mtk_afe_i2s_hd_connect,
{{I2S1 eturn ;
{ IS3_HD_EN_W_NAME,ULL, mtk_afe_i2s_apll_connect}java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
{"I2S1",
{IS1"java.lang.StringIndexOutOfBoundsException: Range [8, 0) out of bounds for length 0
/Copyright (c) 2020// Author: Shane Chien <shane.chien@mediatek//
",NULL I2S1_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S1", returnMT8192_DAI_I2S_9
"n <java.lang.StringIndexOutOfBoundsException: Range [22, 15) out of bounds for length 25
{ java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 63
enum,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
{I2S1,java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [64, 61) out of bounds for length 63
{" I2S_INjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
EN_W_NAME,java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 0
i2s_priv {
I2S_WLEN_32_BIT
/* i2s2 */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{"I2S2", NULL, "#define MTK_AFE_I2S1_KCO
,
{, mtk_afe_i2s_share_connect},
{}
{ # "I2S5_HD_Mux"
{# MTK_AFE_I2S7_KCONTROL_NAME"java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 32
{S2"NULL,"" mtk_afe_i2s_share_connect},
{"I2S2",
{"I2S2", NULL, java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
{"I2S2", NULL, I2S1_HD_EN_W_NAME, mtk_afe_i2s_hd_connect}, {I2S5_CH1"
2S2"dCH2","L6_CH2" ",
-#define I2S6_HD_EI2S6_HD_EN
{ I2S8_HD_EN_W_NAME 2_java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
{ _"2S1_MCLK_EN
{"I2S2" { "java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
{"I2S2", NULL, I2S8_HD_EN_W_NAME (>ev"s,i2s_priv =NULL" _unc__;
{"java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 2
NULL java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 67
returnjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
{ {"I2S5"java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 58
k_connect}
{"I2S2", return MT8192_DAI_I2S_1 rncmpname "" )= )
{"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
i2s_mclk_connect},
{" MTK_AFE_I2S5_KCONTROL_NAME, mt8192_i2s_enum,return MT8192_DAI_I2S_3m)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
{, java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 40
MT8192_DAI_I2S_6;
{"" if(name mtk_afe_i2s_hd_connect,
2,NULL, }
""ULL,},
/* i2s3 */ ", NULL,java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 26
",
{"I2S3_CH2", "DL1_CH2", "DL1"},
YCONN_CH1_MUX" "}java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
staticSOC_VALUE_ENUM_SINGLE_AUTODISABLE_DECL
""NULLjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
{ i2s_mux_map,
{" const java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 49
{","",DL2}
java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
{"I2S3_CH2", "DL3_CH2", "DL3"},
{"{
",DL3_CH2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ mtk_afe_i2s_privjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
"},
{"dev_warnafe>ev "%java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 0
u->,
*java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
{ =x3
I2S3_CH1"","DL5}
{DL5_CH2" ""}java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{I2S3_CH1,DL6_CH1," {" NULL I, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
""
()
"}
{2 ,I2S2_HD_EN_W_NAME },
{"
static structjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 63
{"NYCOTINYCONN_CH2_MUX_DL2java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
AFE_TIN{EN_W_NAME, }java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
{"S6_HD_EN_W_NAME, },
{"I2S3", NULL, "I2S3_EN"},
{ ,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
I,NULL, "2java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 63
" mt8192_i2s_hd_get, "2"NULL,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
"constsnd_kcontrol_new i2s1_tinyconn_ch2_mux_control=
java.lang.StringIndexOutOfBoundsException: Range [45, 1) out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
ULL ,mtk_afe_i2s_hd_connect},
{"
{, },
{ULLAPLL1_W_NAMEmtk_afe_mclk_apll_connect
java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
{"I2S3", NULLSOC_DAPM_ENUM /* i2s7 */
"" ,mtk_afe_i2s_hd_connect}
{ SOC_DAPM_ENUMis3tinyconnSelect" {2,NULL I",
{java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 40
" NULL,I2S0_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect}java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{
{"I2S3, mtk_afe_i2s_mclk_connect,
{ ,1
{"java.lang.StringIndexOutOfBoundsException: Range [61, 7) out of bounds for length 63
{"I2S3", java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
{"I2S3", NULL
{I2S3" ,I2S8_MCLK_EN_W_NAME, i2s_lpbk_mux_map,
{"I2S3", NULL , java.lang.StringIndexOutOfBoundsException: Range [17, 24) out of bounds for length 0
,tjava.lang.StringIndexOutOfBoundsException: Range [70, 68) out of bounds for length 70
/* i2s5 */
" TINYCONN_C =0,
{"{ ,java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 58
I,""," = 0,
"2,"DL2"
{ {"I2S5_CH1, , APLL2_W_NAME }java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
{I2S5_CH2" D""
""java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
{DL12_CH2",
"DL2_CH2""java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
SOC_DAPM_SINGLE_AUTODISABLEGAIN1_OUT_CH1" java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
{" I2S7", NULL,
", ("PCM_1_CAP_CH1,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
}
{"I2S5_CH2", "DL6_CH2;
{java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 32
{"I2S5_CH2", "DL8_CH2", "DL8"},
{,java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
"S5 ,"}
{"I2S8 ,java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 71
{ SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH2", {I2S8_MCLK_EN_W_NAME, NULL, APLL1_W_NAME, mtk_afe_mclk_a
{"2 I_GAIN1_OUT_CH2, 10java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{"I2S5", AFE_I2S_CONSOC_DAPM_SINGLE_AUTODISABLE/
{ 1,
"DL1_CH2 "}java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{I2S5
{, java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
" I_PCM_2_CAP_CH2 )java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{"static ,
DAPM_SINGLE_AUTODISABLE(" AFE_CONN30,I_DL1_CH1 1 )
{"I2S5", static SOC_DAPM_SINGLE_AUTODISABLE(" AFE_CONN30, I_DL2_CH1 10)java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 69
{{,,I2S5_HD_EN_W_NAME
{6_D_EN_W_NAMEjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 59
{" ,java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 59
I,,mtk_afe_i2s_hd_connect
{I2S5java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{SOC_DAPM_SINGLE_AUTODISABLE""
, mtk_afe_i2s_apll_connect}java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
" {"I2S5
{"(",AFE_CONN0_1,_DL8_CH11,0)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
I2S5", I_PCM_1_CAP_CH11 )java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{ ,,)
{"I2S5" SOC_DAPM_SINGLE_AUTODISABLEDDA_UL_CH1
constsnd_kcontrol_new mtk_i2s5_ch2_mixSOC_DAPM_SINGLE_AUTODISABLE((DL1_CH2" ,I_DL2_CH2 ,,
{"I2S5,NULL I2S7_MCLK_EN_W_NAME, java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 63
{"I2S5", NULL, {"I2S9_CH1", "DL8_CH1,"E(Pjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 56
I2S5,NULL SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH2 AFE_CONN31_1,, 1 0)
PLL1_W_NAME tk_afe_mclk_apll_connect""java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
,APLL2_W_NAMEmtk_afe_mclk_apll_connect
/* i2s6 */
ULL ",mtk_afe_i2s_share_connect,
{"I2S6" I_ADDA_UL_CH2 java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 29
{"I2S6", NULL, " I_PCM_1_CAP_CH1 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
, I_PCM_2_CAP_CH11 0,
{I2S6 "SOC_DAPM_SINGLE_AUTODISABLE"e_connectjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{2 SOC_DA(PCM_2_CAP_CH2 java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
"" java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 54
"NULL OC_DAPM_SINGLE_AUTODISABLE(" java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 56
{java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{,,I2S1_HD_EN_W_NAME }
{("I2S9", NULL, I2S5_HD_EN_W_NAME, mtk_afe_i2s_hd_connect
{I2S6{2S9,,, tk_afe_i2s_hd_connect}
{I2S6, S5 mtk_afe_i2s_hd_connect,
},
{"I2S6",mtk_afe_i2s_hd_connect},
{I2S6" NULL ,
{"" ("" , 1,0java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
I2S6_HD_EN_W_NAME,, java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 67
{I2S6_HD_EN_W_NAME java.lang.StringIndexOutOfBoundsException: Range [67, 65) out of bounds for length 67
"java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
{ ,,),
{"2", NULL,I2S2_MCLK_EN_W_NAME,"I2S9,I2S3_MCLK_EN_W_NAME,,
{"I2S6", NULL, I2S3_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
java.lang.StringIndexOutOfBoundsException: Range [66, 63) out of bounds for length 63
", NULL, I2S6_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect,
{"I2S6", NULL, I2S7_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{I2,NULL, 2S8_MCLK_EN_W_NAMEjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 71
{"I2S6",NULL I2S9_MCLK_EN_W_NAME, {"I2S9", NULL, I2S8_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect
,APLL1_W_NAMEmtk_afe_mclk_apll_connect}
{SOC_DAPM_SINGLE_AUTODISABLE("java.lang.StringIndexOutOfBoundsException: Range [70, 43) out of bounds for length 70
/* i2s7 */
"",NULL I2S7_CH1}java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{"I2S7", NULL, "I2S7_CH2"},
{"I2S7", NULL, " I_PCM_1_CAP_CH1, 1, 0),
NULL SOC_DAPM_SINGLE_AUTODISABLE("CM_2_CAP_CH1", AFE_CONN55,
NULL "2S2_EN, java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
I" , ( ("PCM_2_CAP_CH1,AFE_CONN28,
{"I2S7", NULL
{static structsnd_kcontrol_newmtk_i2s9_ch1_mix;
{" (L2_CH1, ,1, 0),
{
{"I2S7", NULL "DL3_CH2 AFE_CONN29I_DL3_CH2 , )java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
{I2S7",NULL,I2S5_Out_Mux,
{I2S7" ,I2S1_HD_EN_W_NAME mtk_afe_i2s_hd_connect},
{,,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
{"I2S7", NULL, I2S3_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
"PM_SINGLE_AUTODISABLE("ADDA_UL_CH1", AFE_CONN56,
{""java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 59
{"I2S0_Lpbk_Mux", "2_Lpbk_Mux " ,
{I2S7,PCM_1_CAP_CH1SABLE(",
{ ("", AFE_CONN56
{,,java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 67
{I2S7_HD_EN_W_NAME, NULL APLL2_W_NAME, mtk_afe_i2s_apll_connect},
{ SOC_DAPM_SINGLE_AUTODI"" java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 69
", (DL12_CH2i_get_drvdataai;
rate=params_ratearamsjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
{"2" {"I2S7", NULL, I2S3_MCLK_EN_W_NAMEajava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 56
I_PCM_2_CAP_CH2,10,
{"I2S7", NULL;
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
{"I2S7", dev_dbg(afe->dev, dv," "", java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 69
{"I2S7", NULL, I2S9_MCLK_EN_W_NAME I_ADDA_UL_CH2, 1 0)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
SOC_DAPM_SINGLE_AUTODISABLE(D"AFE_CONN30,*java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 62
i2s_con | <<java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 31
/* i2s8 */
{ = <java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
"java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 2
{"java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
{"I2S8", SOC_DAPM_SINGLE_AUTODISABLE SUPPLY_SEQ_I2S_HD_EN
java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 54
taticintmtk_i2s_en_event(struct snd_soc_dapm_widget
{"",ructsnd_kcontrol *controlOUT_CH1,AFE_CONN30,
"2" java.lang.StringIndexOutOfBoundsException: Range [17, 0) out of bounds for length 0
{"I2S8", NULL java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 65
",NULLif! java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 57
{IS8" , I2S3_HD_EN_W_NAME, ,
{"I2S8", java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
{"I2S8", NULL,staticstruct java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
{"I2S8", NULL, I2S8_HD_EN_W_NAME, mtk_afe_i2s_hd_connect} (afeT( ;
{,NULL java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 59
I2S8_HD_EN_W_NAME,NULL, APLL1_W_NAME mtk_afe_i2s_apll_connect,0java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
{I2S8_HD_EN_W_NAME, NULL, SOC_DAPM_SINGLE_AUTODISABLEregmap_write- java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 35
"" ,I2S0_MCLK_EN_W_NAME, } mtk_base_afe fe mpnt;
(cmpnt-dev %(, nameregmap_write(>, SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH2", AFE_ I_DL9_CH20),
{"" ,I2S2_MCLK_EN_W_NAME ,
{"2S8" NULL,
{"I2S8", NULL, I2S5_MCLK_EN_W_NAME2S8 ULL I2S5_MCLK_EN_W_NAMEcase SND_SOC_DAPM_PRE_PMU: | |