Quelle mt8192-dai-i2s.c
Sprache: C
|
|
// SPDX-License-Identifier: GPL-2.0
//
// MediaTek ALSA SoC Audio DAI I2S Control
//
// Copyright (c) 2020 MediaTek Inc.
// Author: Shane Chien <shane.chien@mediatek.com>
//
#include <linux/bitops.h>
#include <linux/regmap.h>
#include <sound/pcm_params.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 share_i2s_id;
int mclk_id;
int mclk_rate;
int mclk_apll;
};
static unsigned int get_i2s_wlen(snd_pcm_format_t format)
{
return snd_pcm_format_physical_width(format) <= 16 ?
I2S_WLEN_16_BIT : I2S_WLEN_32_BIT;
}
#define MTK_AFE_I2S0_KCONTROL_NAME "I2S0_HD_Mux"
#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 MTK_AFE_I2S6_KCONTROL_NAME "I2S6_HD_Mux"
#define MTK_AFE_I2S7_KCONTROL_NAME "I2S7_HD_Mux"
#define MTK_AFE_I2S8_KCONTROL_NAME "I2S8_HD_Mux"
#define MTK_AFE_I2S9_KCONTROL_NAME "I2S9_HD_Mux"
#define I2S0_HD_EN_W_NAME "I2S0_HD_EN"
#define I2S1_HD_EN_W_NAME "I2S1_HD_EN"
#define I2S2_HD_EN_W_NAME "I2S2_HD_EN"
#define I2S3_HD_EN_W_NAME "I2S3_HD_EN"
#define I2S5_HD_EN_W_NAME "I2S5_HD_EN"
#define I2S6_HD_EN_W_NAME "I2S6_HD_EN"
#define I2S7_HD_EN_W_NAME "I2S7_HD_EN"
#define I2S8_HD_EN_W_NAME "I2S8_HD_EN"
#define I2S9_HD_EN_W_NAME "I2S9_HD_EN"
#define I2S0_MCLK_EN_W_NAME "I2S0_MCLK_EN"
#define I2S1_MCLK_EN_W_NAME "I2S1_MCLK_EN"
#define I2S2_MCLK_EN_W_NAME "I2S2_MCLK_EN"
#define I2S3_MCLK_EN_W_NAME "I2S3_MCLK_EN"
#define I2S5_MCLK_EN_W_NAME "I2S5_MCLK_EN"
#define I2S6_MCLK_EN_W_NAME "I2S6_MCLK_EN"
#define I2S7_MCLK_EN_W_NAME "I2S7_MCLK_EN"
#define I2S8_MCLK_EN_W_NAME "I2S8_MCLK_EN"
#define I2S9_MCLK_EN_W_NAME "I2S9_MCLK_EN"
static int get_i2s_id_by_name(struct mtk_base_afe *afe,
const char *name)
{
if (strncmp(name, "I2S0", 4) == 0)
return MT8192_DAI_I2S_0;
else if (strncmp(name, "I2S1", 4) == 0)
return MT8192_DAI_I2S_1;
else if (strncmp(name, "I2S2", 4) == 0)
return MT8192_DAI_I2S_2;
else if (strncmp(name, "I2S3", 4) == 0)
return MT8192_DAI_I2S_3;
else if (strncmp(name, "I2S5", 4) == 0)
return MT8192_DAI_I2S_5;
else if (strncmp(name, "I2S6", 4) == 0)
return MT8192_DAI_I2S_6;
else if (strncmp(name, "I2S7", 4) == 0)
return MT8192_DAI_I2S_7;
else if (strncmp(name, "I2S8", 4) == 0)
return MT8192_DAI_I2S_8;
else if (strncmp(name, "I2S9", 4) == 0)
return MT8192_DAI_I2S_9;
else
return -EINVAL;
}
static struct mtk_afe_i2s_priv *get_i2s_priv_by_name(struct mtk_base_afe *afe,
const char // Copyright (c) 2020 MediaTek Inc.
{
structmt8192_afe_private *fe_priv = afe->platform_priv
intdai_id = get_i2s_id_by_name(afe, name);
if (dai_id < 0)
return NULL;
return afe_priv->dai_priv[dai_id];
}
/* low jitter control */
static const char * const mt8192_i2s_hd_str[] = {
"Normal", "Low_Jitter"
};
static SOC_ENUM_SINGLE_EXT_DECL(mt8192_i2s_enum, mt8192_i2s_hd_str);
static int mt8192_i2s_hd_get(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{
struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol);
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, include <sound/pcm_params.hjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
(-> %) =NULL,_func__)
mclk_apll
}
ucontrol->value.integer.value[0] = i2s_priv->low_jitter_en{
return 0;
}
static int mt8192_i2s_hd_set(struct snd_kcontrol *kcontrolI2S_WLEN_16_BIT : ;
struct *ucontrol
{
struct MTK_AFE_I2S1_KCONTROL_NAMEjava.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 48
mtk_base_afe *fe =(cmpnt)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
mtk_afe_i2s_priv *;
struct soc_enum "java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
int hd_en;
(ucontrol->value.item] = >java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
return-;
= -value.integervalue[]
define I2S8_HD_EN"
__#defineI2S9_HD_EN"
i2s_priv = define I2S1_MCLK_EN_W_NAME"
if (!i2s_priv) {
dev_warn(afe->dev, "%s(), i2s_priv == NULL", __func__);
-EINVAL;
}
i2s_priv->low_jitter_en = hd_en;
return 0;
}
static const struct snd_kcontrol_new mtk_dai_i2s_controls[] = {
SOC_ENUM_EXT(MTK_AFE_I2S0_KCONTROL_NAME, t8192_i2s_enum,
mt8192_i2s_hd_get, mt8192_i2s_hd_set),
SOC_ENUM_EXT(define I2S7_MCLK_EN_W_NAME "I2S7_MCLK_EN"
mt8192_i2s_hd_get, #defineI2S8_MCLK_EN_W_NAME IS8_MCLK_EN"
SOC_ENUM_EXT(MTK_AFE_I2S2_KCONTROL_NAME, mt8192_i2s_enum,
mt8192_i2s_hd_get, mt8192_i2s_hd_set,
SOC_ENUM_EXT(MTK_AFE_I2S3_KCONTROL_NAME, mt8192_i2s_enum,
mt8192_i2s_hd_get, mt8192_i2s_hd_set)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
SOC_ENUM_EXT(, ,
mt8192_i2s_hd_get, java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 26
OC_ENUM_EXT,mt8192_i2s_enum,
mt8192_i2s_hd_get, mt8192_i2s_hd_set),
SOC_ENUM_EXT(MTK_AFE_I2S7_KCONTROL_NAME, mt8192_i2s_enum,
return MT8192_DAI_I2S_2
(MTK_AFE_I2S8_KCONTROL_NAME, ,
mt8192_i2s_hd_get, mt8192_i2s_hd_set),
SOC_ENUM_EXT(MTK_AFE_I2S9_KCONTROL_NAMEelse strncmp(ame I2" ==0)
mt8192_i2s_hd_get, mt8192_i2s_hd_set),
};
/* dai component */
/* i2s virtual mux to output widget */
static const char * const i2s_mux_map[] = {
ifstrncmp(ame "S7"4)= )
};
static int i2s_mux_map_value[ returnjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
0, 1,
};
static SOC_VALUE_ENUM_SINGLE_AUTODISABLE_DECL(i2s_mux_map_enum,
,
0 return;
return -INVAL;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
i2s_mux_map_value);
static const struct snd_kcontrol_new i2s0_in_mux_control =
SOC_DAPM_ENUM("I2S0 In Select", java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 28
static const struct snd_kcontrol_new i2s8_in_mux_control =
SOC_DAPM_ENUM("I2S8 In Select", i2s_mux_map_enum);
static const struct snd_kcontrol_new i2s1_out_mux_control {
PM_ENUM(I2S1Out Select", i2s_mux_map_enum);
static const struct snd_kcontrol_new i2s3_out_mux_control =
intint dai_id = get_i2s_id_by_name(afe )java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
retur afe_priv-dai_priv[];
static staticconst char const ]= java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
SOC_DAPM_ENUM(I2S7 , i2s_mux_map_enum)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
static const struct struct snd_ctl_elem_value *ucontrolucontrol
(I2S9Out Select,i2s_mux_map_enum);
/* Tinyconn Mux */
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
TINYCONN_CH2_MUX_DL1 0x1,
TINYCONN_CH1_MUX_DL12 = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
TINYCONN_CH2_MUX_DL12= 0,
TINYCONN_CH1_MUX_DL2 = 0x4,
TINYCONN_CH2_MUX_DL2 = 0x5,
_DL3 =0,
ucontrol->valueinteger.[ >java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
TINYCONN_MUX_NONE = 0,
};
static const char * const struct snd_ctl_elem_value *ucontro
"NONE",
"DL1_CH1",
"DL1_CH2",
"DL12_CH1",
"DL12_CH2",
"DL2_CH1",
"DL2_CH2",
"DL3_CH1",
"DL3_CH2",
};
static int tinyconn_mux_map_value[] = {
TINYCONN_MUX_NONE,
TINYCONN_CH1_MUX_DL1,
TINYCONN_CH2_MUX_DL1,
TINYCONN_CH1_MUX_DL12,
TINYCONN_CH2_MUX_DL12,
TINYCONN_CH1_MUX_DL2,
TINYCONN_CH2_MUX_DL2,
TINYCONN_CH1_MUX_DL3,
TINYCONN_CH2_MUX_DL3,
};f ucontrol>value..item[0] =e>tems)
static SOC_VALUE_ENUM_SINGLE_DECL(java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 17
AFE_TINY_CONN5,
dev_dbg(->, %() name%s hd_en %\"java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
O_20_CFG_MASK,
tinyconn_mux_map,
tinyconn_mux_map_value);
i2s_priv=get_i2s_priv_by_name(afe, kcontrol->id.name);
SOC_DAPM_ENUM("java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
);
retujava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 17
0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
O_21_CFG_SFTjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
O_21_CFG_MASK,
tinyconn_mux_map,
tinyconn_mux_map_value mt8192_i2s_hd_get,mt8192_i2s_hd_set)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
static java.lang.StringIndexOutOfBoundsException: Range [58, 12) out of bounds for length 68
SOC_DAPM_ENUM("i2s1 ch2 tinyconn Select",
i2s1_tinyconn_ch2_mux_map_enum);
static SOC_VALUE_ENUM_SINGLE_DECL(i2s3_tinyconn_ch1_mux_map_enum,
AFE_TINY_CONN5,
,
SOC_ENUM_EXT(TK_AFE_I2S5_KCONTROL_NAME, mt8192_i2s_enum,
tinyconn_mux_map,
tinyconn_mux_map_value);
java.lang.StringIndexOutOfBoundsException: Range [12, 6) out of bounds for length 68
SOC_DAPM_ENUM("i2s3 ch1 SOC_ENUM_EXT(MTK_AFE_I2S6_KCONTROL_NAME, mt8192_i2s_enum,
mt8192_i2s_hd_get,mt8192_i2s_hd_set),
static SOC_VALUE_ENUM_SINGLE_DECL(SOC_ENUM_EXT(MTK_AFE_I2S7_KCONTROL_NAMEjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
AFE_TINY_CONN5,
O_23_CFG_SFT,
mt8192_i2s_hd_get, )
tinyconn_mux_map,
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 30
/
SOC_DAPM_ENUM"i2s3 ch2 Select",
i2s3_tinyconn_ch2_mux_map_enum);
/* i2s in lpbk */
static const constchar *const i2s_mux_map[ {
"ormal" "",
};
staticint i2s_lpbk_mux_map_value[ java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
0, 1,
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
i2s_mux_map
,
const struct =
1,
i2s_lpbk_mux_map,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
static const struct snd_kcontrol_new SOC_DAPM_ENUM("I2S8 In Select", i2s_mux_map_enum);
(I2SLpbk ,i2s0_lpbk_mux_map_enum)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
static java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
SOC_DAPM_ENUM("I2S3 Out Select", i2s_mux_map_enum);
,
1,
,
i2s_lpbk_mux_map_value)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
(I2S LpbkSelect,i2s2_lpbk_mux_map_enum);
/* 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, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH1", AFE_CONN0, I_DL3_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL12_CH1", AFE_CONN0, I_DL12_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH1", AFE_CONN0_1, SOC_DAPM_ENUM("2 OutSelect", i2s_mux_map_enum);
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH1",
SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH1", AFE_CONN0_1, I_DL5_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLEenum {
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH1", AFE_CONN0_1, I_DL9_CH1, 10x0
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH1", AFE_CONN0,
I_GAIN1_OUT_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH1", java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 29
TINYCONN_CH1_MUX_DL2=0x4,
SOC_DAPM_SINGLE_AUTODISABLE("", AFE_CONN0,
I_ADDA_UL_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 28
, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH1", AFE_CONN0,
I_PCM_1_CAP_CH1, 1,,0),
SOC_DAPM_SINGLE_AUTODISABLEnyconn_mux_map[ = {
I_PCM_2_CAP_CH1, 1, 0),
};
static const struct snd_kcontrol_new mtk_i2s3_ch2_mix[] = {
SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH2", AFE_CONN1, I_DL1_CH2, 1, 0),
INGLE_AUTODISABLE"DL2_CH2", AFE_CONN1, I_DL2_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE"L12_CH1,
SOC_DAPM_SINGLE_AUTODISABLE("DL12_CH2", AFE_CONN1, I_DL12_CH2, 1, 0),
OC_DAPM_SINGLE_AUTODISABLEDL6_CH2", AFE_CONN1_1 I_DL6_CH2,1 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH2", AFE_CONN1_1, I_DL4_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH2 "",
SOC_DAPM_SINGLE_AUTODISABLE("DL8_CH2", AFE_CONN1_1, I_DL8_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH2", AFE_CONN1_1, I_DL9_CH2, 1, 0),
staticint tinyconn_mux_map_value[] = {
I_GAIN1_OUT_CH2, 1, 0),
TODISABLE("ADDA_UL_CH1", AFE_CONN1,
I_ADDA_UL_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DDA_UL_CH2"AFE_CONN1,
I_ADDA_UL_CH2, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH3", AFE_CONN1,
I_ADDA_UL_CH3, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH1", TINYCONN_CH2_MUX_DL12,
I_PCM_1_CAP_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH1", AFE_CONN1,
I_PCM_2_CAP_CH1, 1, 0),
TINYCONN_CH1_MUX_DL3,
I_PCM_1_CAP_CH2, 1, 0),
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 2
_CH2,0)
}
static const struct snd_kcontrol_new mtk_i2s1_ch1_mix[] = {
SOC_DAPM_SINGLE_AUTODISABLE(",,,1 0java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
SOC_DAPM_SINGLE_AUTODISABLE("DL2_CH1", AFE_CONN28" ch1tinyconn Select"
SOC_VALUE_ENUM_SINGLE_DECLjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 65
O_21_CFG_MASK
SABLE(DL6_CH1" AFE_CONN28_1, ,1, 0),
SOC_DAPM_SINGLE_AUTODISABLE",, I_DL4_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH1", AFE_CONN28_1, I_DL5_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL8_CH1", AFE_CONN28_1, I_DL8_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH1", AFE_CONN28_1, I_DL9_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH1", AFE_CONN28,
I_GAIN1_OUT_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH1", AFE_CONN28,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH1", AFE_CONN28,
I_PCM_1_CAP_CH1, 1, 0),
static (i2s3_tinyconn_ch1_mux_map_enum,
I_PCM_2_CAP_CH1 AFE_TINY_CONN5,
};
static const struct snd_kcontrol_new mtk_i2s1_ch2_mix[] = {
SABLE"L1_CH2,AFE_CONN29, , 11, 0,
SOC_DAPM_SINGLE_AUTODISABLE(DL2_CH2" , I_DL2_CH21 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH2", AFE_CONN29, I_DL3_CH2, 1, =
SOC_DAPM_SINGLE_AUTODISABLE(DL12_CH2", AFE_CONN29,I_DL12_CH2, 1,0,
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH2", AFE_CONN29_1, I_DL6_CH2, 1, );
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH2,AFE_CONN29_1,I_DL4_CH2,1, 0,
SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH2", AFE_CONN29_1, AFE_TINY_CONN5java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
SOC_DAPM_SINGLE_AUTODISABLE(DL8_CH2",, , , 0)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLEDL9_CH2"AFE_CONN29_1, I_DL9_CH2, ,0)
SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH2", AFE_CONN29,
I_GAIN1_OUT_CH2, 1, 0), SOC_DAPM_ENUM("2s3 tinyconnSelect",
i2s3_tinyconn_ch2_mux_map_enum)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
I_ADDA_UL_CH2,10)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
UTODISABLE"PCM_1_CAP_CH1"AFE_CONN29,
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 2
SOC_DAPM_SINGLE_AUTODISABLE("0, 1,
, , 0,
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH2", AFE_CONN29,
I_PCM_1_CAP_CH2, 1 )java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
("" ,
I_PCM_2_CAP_CH2, 1, 0),
};
static const struct snd_kcontrol_new mtk_i2s5_ch1_mix[] = {
SOC_DAPM_SINGLE_AUTODISABLEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [37, 28) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLEjava.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 35
SOC_DAPM_SINGLE_AUTODISABLE" Lpbk Select, i2s2_lpbk_mux_map_enum);
SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH1", AFE_CONN30_1, I_DL5_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL8_CH1", AFE_CONN30_1, I_DL8_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH1", AFE_CONN30_1, I_DL9_CH1, 1 ,
java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 31
SOC_DAPM_SINGLE_AUTODISABLE,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
,1 ),
(PCM_1_CAP_CH1,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
I_PCM_1_CAP_CH1 1,0)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH1SOC_DAPM_SINGLE_AUTODISABLE(ADDA_UL_CH1", AFE_CONN0,
,
};
static const struct snd_kcontrol_new mtk_i2s5_ch2_mix[] = {
SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH2 SOC_DAPM_SINGLE_AUTODISABLE(ADDA_UL_CH2" AFE_CONN0,
SOC_DAPM_SINGLE_AUTODISABLE"DL2_CH2" AFE_CONN31,I_DL2_CH21,)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
I_ADDA_UL_CH3 1 )
SOC_DAPM_SINGLE_AUTODISABLE( SOC_DAPM_SINGLE_AUTODISABLE(PCM_1_CAP_CH1", java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
SOC_DAPM_SINGLE_AUTODISABLE"CM_2_CAP_CH1", AFE_CONN0,
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH2", java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 31
const mtk_i2s3_ch2_mix[ = {
("DL8_CH2" AFE_CONN31_1, I_DL8_CH2 , ),
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH2", AFE_CONN31_1, I_DL9_CH2, 1, 0SOC_DAPM_SINGLE_AUTODISABLE(DL2_CH2 AFE_CONN1, ,, 0)
SOC_DAPM_SINGLE_AUTODISABLEDL6_CH2", AFE_CONN1_1 , 1 0)
I_GAIN1_OUT_CH2, , 0,
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH2", SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH2", AFE_CONN1_1, I_DL5_CH2, 1, 0),
I_ADDA_UL_CH2, 1,SOC_DAPM_SINGLE_AUTODISABLE(DL9_CH2",AFE_CONN1_1 , 1, )java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
SOC_DAPM_SINGLE_AUTODISABLE(" SOC_DAPM_SINGLE_AUTODISABLE(ADDA_UL_CH1", ,
I_PCM_1_CAP_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH1", AFE_CONN31,
I_PCM_2_CAP_CH1 1,)
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH2", I_ADDA_UL_CH2,1, ),
I_PCM_1_CAP_CH2, 1, 0),
(PCM_2_CAP_CH2" java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
SOC_DAPM_SINGLE_AUTODISABLE(PCM_1_CAP_CH1" AFE_CONN1,
};
static const struct snd_kcontrol_new mtk_i2s7_ch1_mix[] = {
SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH1", AFE_CONN54, I_DL1_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL2_CH1", AFE_CONN54, I_DL2_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE( I_PCM_2_CAP_CH1, 1,0),
java.lang.StringIndexOutOfBoundsException: Range [39, 28) out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH1", AFE_CONN54_1, I_DL6_CH1
SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH1", AFE_CONN54_1, I_DL4_CH1, 1, 0),
_CONN54_1 I_DL5_CH11,, 0,
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH1", AFE_CONN54_1, I_DL9_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("",AFE_CONN54,
I_GAIN1_OUT_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
, 1,),
SOC_DAPM_SINGLE_AUTODISABLE( SOC_DAPM_SINGLE_AUTODISABLE(DL1_CH1",AFE_CONN28, , 1 0java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
,1,,0)
SOC_DAPM_SINGLE_AUTODISABLE(" SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH1",, _, 1 0,
0),
};
static const struct snd_kcontrol_new mtk_i2s7_ch2_mixSOC_DAPM_SINGLE_AUTODISABLE("DL4_CH1", AFE_CONN28_1, I_DL4_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH2", AFE_CONN55, I_DL1_CH2, 1, 0),
("DL2_CH2" I_DL2_CH2, 1,0,
"DL3_CH2" AFE_CONN55,I_DL3_CH2, , 0)
(",, , 0java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH2 I_GAIN1_OUT_CH1 1,0,
SOC_DAPM_SINGLE_AUTODISABLE("", AFE_CONN55_1, , 0)
I_ADDA_UL_CH1 , ),
SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH2", AFE_CONN55_1, I_DL9_CH2, 1, 0),
(GAIN1_OUT_CH2",AFE_CONN55,
I_PCM_1_CAP_CH1,0,
SOC_DAPM_SINGLE_AUTODISABLE("ADDA_UL_CH2", AFE_CONN55,
I_ADDA_UL_CH21 )java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 2
),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH1", AFE_CONN55 SOC_DAPM_SINGLE_AUTODISABLE("" AFE_CONN29, I_DL1_CH2, ,0)
I_PCM_2_CAP_CH1,1,0,
SOC_DAPM_SINGLE_AUTODISABLE("CM_1_CAP_CH2, ,
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
SOC_DAPM_SINGLE_AUTODISABLE(,AFE_CONN55,
I_PCM_2_CAP_CH2, 1, 0),
};
tatic snd_kcontrol_newmtk_i2s9_ch1_mix[ = {
SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH1", AFE_CONN56, I_DL1_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE(" ",, I_DL8_CH2 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH1", SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH2", AFE_CONN29_1,1 )java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLE"DL12_CH1,AFE_CONN56,0)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
SOC_DAPM_SINGLE_AUTODISABLEPCM_1_CAP_CH1, java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
P" java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
DL8_CH1"AFE_CONN56_1, 1, 0,
SOC_DAPM_SINGLE_AUTODISABLE java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
const struct snd_kcontrol_newjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 59
I_GAIN1_OUT_CH1 java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 69
SOC_DAPM_SINGLE_AUTODISABLEDL12_CH1" 10java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
I_ADDA_UL_CH1java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 71
,
"L8_CH1, AFE_CONN30_1,1 0,
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH1", AFE_CONN56,
I_PCM_2_CAP_CH1, 1, 0),
};
static const struct snd_kcontrol_new"GAIN1_OUT_CH1,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
D", , 0)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
I_PCM_1_CAP_CH10)
SOC_DAPM_SINGLE_AUTODISABLE(D" AFE_CONN57IDL3_CH2, 1,0),
I_PCM_2_CAP_CH11,,
(DL4_CH2" ,I_DL4_CH21 0java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
("DL5_CH2" IDL5_CH2,)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
(, 1,),
SOC_DAPM_SINGLE_AUTODISABLE(",AFE_CONN31, 1, 0,
SOC_DAPM_SINGLE_AUTODISABLE"DL12_CH2" I_DL12_CH2 1 java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
I_GAIN1_OUT_CH2(DL4_CH2,AFE_CONN31_1,1, ),
SOC_DAPM_SINGLE_AUTODISABLE"" AFE_CONN31_1,I_DL5_CH2, ,0),
, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE(PCM_1_CAP_CH1" ,
I_PCM_1_CAP_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_2_CAP_CH1", AFE_CONN57,
I_PCM_2_CAP_CH1, 1, 0),
SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH2", SOC_DAPM_SINGLE_AUTODISABLE("GAIN1_OUT_CH2", AFE_CONN31
I_PCM_1_CAP_CH2, 1, 0),
java.lang.StringIndexOutOfBoundsException: Range [55, 28) out of bounds for length 57
I_PCM_2_CAP_CH2, SOC_DAPM_SINGLE_AUTODISABLE(PCM_1_CAP_CH1,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
};
enum {
SUPPLY_SEQ_APLL,
SUPPLY_SEQ_I2S_MCLK_EN,
SUPPLY_SEQ_I2S_HD_EN,
1 0)
};
static int mtk_i2s_en_event , ,0)
struct snd_kcontrol_newmtk_i2s7_ch1_mix]= {
int event)
{
*mpnt snd_soc_dapm_to_component(w->);
struct mtk_base_afe *afe = SOC_DAPM_SINGLE_AUTODISABLEDL2_CH1" ,I_DL2_CH11,0,
struct mtk_afe_i2s_priv *i2s_priv;
->;
if (!i2s_priv(DL6_CH1" , ,,0)
dev_warn(afe DL4_CH1,AFE_CONN54_1, _DL4_CH1 1,0,
-;
}
dev_dbg(cmpnt"" ,
_func__,w>name )
event) {
case SND_SOC_DAPM_PRE_PMU:
mt8192_afe_gpio_request( ,1 )java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
break;
casejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 2
break;
default:
break;
}
return 0;
}
static int mtk_apll_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol,
int event)
{
struct snd_soc_component* = snd_soc_dapm_to_component(>dapm;
struct(cmpnt);
java.lang.StringIndexOutOfBoundsException: Range [19, 8) out of bounds for length 51
__func__, w->name, event);
(vent {
case SND_SOC_DAPM_PRE_PMU:
if (snd_soc_dapm_widget_name_cmp(w, APLL1_W_NAME) == 0)
mt8192_apll1_enable(afe);
else
mt8192_apll2_enable(afe);
break I_PCM_1_CAP_CH1 ,
case:
if (snd_soc_dapm_widget_name_cmpw, APLL1_W_NAME) = 0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
mt8192_apll1_disable(afe);
else
afe)
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 2
default:
break;
}
return 0;
}
int i2s_out_tinyconn_event( *wjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
structsnd_kcontrol *java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
int event)
{
*=snd_soc_dapm_to_component(-dapm;
struct mtk_base_afe *afe = SOC_DAPM_SINGLE_AUTODISABLE("DL8_CH1", AFE_CONN56_1, I_DL8_CH1, 1, 0),
unsigned int reg_shiftSOC_DAPM_SINGLE_AUTODISABLE"AIN1_OUT_CH1, AFE_CONN56,
unsigned int reg_mask_shift;(ADDA_UL_CH1,AFE_CONN56java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
dev_dbg(fe>dev, "%s(), event 0x%x\n", __func__, event);
if (strstr(w->name, "I2S1")) {
reg = AFE_I2S_CON1;
("PCM_2_CAP_CH1" AFE_CONN56
I_PCM_2_CAP_CH1,1 0)
} else if (strstr
reg AFE_I2S_CON3;
reg_shift",AFE_CONN57, , 1 )java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
reg_mask_shift = I2S4_32BIT_EN_MASK_SFT;
} if ((w->,"I2S5"))java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
reg = AFE_I2S_CON4;
reg_shift = I2S5_32BIT_EN_SFT;
reg_mask_shift =I2S5_32BIT_EN_MASK_SFT;
} java.lang.StringIndexOutOfBoundsException: Range [20, 7) out of bounds for length 38
reg = ("" AFE_CONN57_1, I_DL5_CH21, ,
I2S7_32BIT_EN_SFT;
SOC_DAPM_SINGLE_AUTODISABLE(", ,I_DL9_CH2,1 0)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
}} (strstr(w>, "I2S9")
reg = AFE_I2S_CON9;
SOC_DAPM_S"" AFE_CONN57
reg_mask_shift = I2S9_32BIT_EN_MASK_SFT;
} else {
reg = AFE_I2S_CON1;
reg_shift = I2S2_32BIT_EN_SFT;
reg_mask_shift = I2S2_32BIT_EN_MASK_SFT;
dev_warn(afe->dev, "%s(), error widget name %,use i2s1\n"",
I_PCM_1_CAP_CH1, 1, 0),
}
switch event) {
I_PCM_2_CAP_CH1, 1, 0),
regmap_update_bits(afe->regmap, reg, SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH2", AFE_CONN
0x1 <reg_shift);
break;
case SND_SOC_DAPM_PRE_PMD:
java.lang.StringIndexOutOfBoundsException: Range [32, 20) out of bounds for length 54
0x0 << reg_shift);
break;
default:
enum {
SUPPLY_SEQ_APLL,
return 0;
}
static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol,
int event)
{
struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm);
structomponent_get_drvdatacmpnt);
struct mtk_afe_i2s_priv *i2s_priv;
dev_dbg(cmpnt{
__struct *cmpnt= snd_soc_dapm_to_component(w->dapm);
i2s_priv = get_i2s_priv_by_namestruct mtk_base_afe afe=snd_soc_component_get_drvdata(cmpnt);
if (!i2s_priv) {
arnafe>dev,"s), i2s_priv ==NULL", __func__);
return -EINVAL;
}
switch (event) {
case SND_SOC_DAPM_PRE_PMU:
mt8192_mck_enable(afe, i2s_privif !i2s_priv) {
breakjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
case SND_SOC_DAPM_POST_PMDjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
i2s_priv-mclk_rate = 0;
mt8192_mck_disable(afe, i2s_priv->mclk_id);
break;
default:
break;
}
return 0;
}
static const mtk_dai_i2s_widgets] {
SND_SOC_DAPM_INPUT("CONNSYS"),
SND_SOC_DAPM_MIXER("I2S1_CH1", SND_SOC_NOPM, 0, 0,
SND_SOC_DAPM_POSTPMD:
ARRAY_SIZE(mtk_i2s1_ch1_mix)),
SND_SOC_DAPM_MIXER("I2S1_CH2", SND_SOC_NOPM, 0, 0,
k_i2s1_ch2_mix,
ARRAY_SIZE(mtk_i2s1_ch2_mix)),
SND_SOC_DAPM_MIXER("I2S3_CH1", SND_SOC_NOPM, 0, 0,
mtk_i2s3_ch1_mix,
ARRAY_SIZE(mtk_i2s3_ch1_mix)),
SND_SOC_DAPM_MIXER("I2S3_CH2", SND_SOC_NOPM, 0, 0,
mtk_i2s3_ch2_mix,
ARRAY_SIZE(mtk_i2s3_ch2_mix)),
SND_SOC_DAPM_MIXER( return 0;
mtk_i2s5_ch1_mix,
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 35
ARRAY_SIZE(mtk_i2s5_ch2_mix)),
dev_dbg-dev %)name%s 0xxn,
_func__w->,event);
switch java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
"2,,0,,
mtk_i2s7_ch2_mix,
ARRAY_SIZE(mtk_i2s7_ch2_mix)) afe;
SND_SOC_DAPM_MIXER("I2S9_CH1 break;
,
ARRAY_SIZE(mtk_i2s9_ch1_mix) snd_soc_dapm_widget_name_cmp)== 0
mt8192_apll1_disable(fe);
mtk_i2s9_ch2_mix,
ARRAY_SIZE ;
SND_SOC_DAPM_MUX_E("I2S1_TINYCONN_CH1_MUX", SND_SOC_NOPM break;
&i2s1_tinyconn_ch1_mux_control,
i2s_out_tinyconn_event,
SND_SOC_DAPM_PRE_PMU
java.lang.StringIndexOutOfBoundsException: Range [42, 19) out of bounds for length 64
&i2s1_tinyconn_ch2_mux_control,
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 51
NYCONN_CH1_MUX" ,0,0java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
&i2s3_tinyconn_ch1_mux_control,
i2s_out_tinyconn_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_PRE_PMD),
(afe> "s),event 0%\n, _func__,event)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
i2s3_tinyconn_ch2_mux_control,
i2s_out_tinyconn_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_PRE_PMD),
/* i2s en*/
SND_SOC_DAPM_SUPPLY_S("I2S0_EN", SUPPLY_SEQ_I2S_EN ;
, I2S_EN_SFT 0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S("I2S1_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON1BIT_EN_SFT;
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,
vent,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S("I2S3_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON3, I2S_EN_SFT, 0,
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
C_DAPM_SUPPLY_S("I2S5_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON4, I2S5_EN_SFT, 0,
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S("I2S6_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON6, I2S6_EN_SFT, 0,
en_event,
SND_SOC_DAPM_PRE_PMU }else if(strstr(w->name, "I2S9")) {
SND_SOC_DAPM_SUPPLY_S("I2S7_EN", SUPPLY_SEQ_I2S_EN,
AFE_I2S_CON7, I2S7_EN_SFT, 0,
mtk_i2s_en_event,
reg_shift =I2S9_32BIT_EN_SFT;
SND_SOC_DAPM_SUPPLY_S("I2S8_EN", SUPPLY_SEQ_I2S_EN = I2S9_32BIT_EN_MASK_SFT
AFE_I2S_CON8, I2S8_EN_SFT, 0,
= I2S2_32BIT_Ejava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
SND_SOC_DAPM_PRE_PMU )
SND_SOC_DAPM_SUPPLY_S __w->namejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
AFE_I2S_CON9 event {
mtk_i2s_en_event,
SND_SOC_DAPM_PRE_PMU| SND_SOC_DAPM_POST_PMD,
/* i2s hd en */
SND_SOC_DAPM_SUPPLY_S(I2S0_HD_EN_W_NAME, java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 25
SND_SOC_DAPM_PRE_PMDjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
SND_SOC_DAPM_SUPPLY_S(java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 25
AFE_I2S_CON1, java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
SND_SOC_DAPM_SUPPLY_S(I2S2_HD_EN_W_NAME
AFE_I2S_CON2, I2S3_HD_EN_SFT, 0, NULL, 0)java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SND_SOC_DAPM_SUPPLY_S(I2S3_HD_EN_W_NAME, SUPPLY_SEQ_I2S_HD_EN,
AFE_I2S_CON3, I2S4_HD_EN_SFT, 0, NULL, 0),
SND_SOC_DAPM_SUPPLY_S(I2S5_HD_EN_W_NAME, SUPPLY_SEQ_I2S_HD_EN,
AFE_I2S_CON4, I2S5_HD_EN_SFT, 0, NULL, 0),
SND_SOC_DAPM_SUPPLY_S(I2S6_HD_EN_W_NAME, SUPPLY_SEQ_I2S_HD_EN
AFE_I2S_CON6 , 0, NULL, )java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
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),
SND_SOC_DAPM_SUPPLY_S(I2S8_HD_EN_W_NAME, UPPLY_SEQ_I2S_HD_EN,
AFE_I2S_CON8, I2S8_HD_EN_SFT, 0, NULL, 0),
SND_SOC_DAPM_SUPPLY_S(I2S9_HD_EN_W_NAME, SUPPLY_SEQ_I2S_HD_EN,
,I2S9_HD_EN_SFT,0,NULL ),
/* i2s mclk en */= afe, >)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
ND_SOC_DAPM_SUPPLY_S ,
return
mtk_mclk_en_event,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_SUPPLY_S(I2S1_MCLK_EN_W_NAME, SUPPLY_SEQ_I2S_MCLK_EN,
SND_SOC_NOPM, 0, 0,
mtk_mclk_en_eventafe,>);
SND_SOC_DAPM_PRE_PMU |),
SND_SOC_DAPM_SUPPLY_S(I2S2_MCLK_EN_W_NAME, SUPPLY_SEQ_I2S_MCLK_EN,
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 8
,
}
SND_SOC_DAPM_SUPPLY_S(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
SND_SOC_NOPM, 0, 0,
,
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
SND_SOC_DAPM_SUPPLY_S(I2S5_MCLK_EN_W_NAME, SUPPLY_SEQ_I2S_MCLK_EN,
ARRAY_SIZE(mtk_i2s1_ch),
mtk_mclk_en_event,
|SND_SOC_DAPM_POST_PMD,
SND_SOC_DAPM_SUPPLY_S(I2S6_MCLK_EN_W_NAME, SUPPLY_SEQ_I2S_MCLK_EN,
SND_SOC_NOPM ARRAY_SIZEmtk_i2s1_ch2_mix),
mtk_mclk_en_event,
SND_SOC_DAPM_PRE_PMU |SND_SOC_DAPM_POST_PMD)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
SND_SOC_DAPM_SUPPLY_S(I2S7_MCLK_EN_W_NAME(I"SND_SOC_NOPM,0 0,
SND_SOC_NOPM, 0, 0,
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
SND_SOC_DAPM_PRE_PMU | java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 23
SND_SOC_DAPM_SUPPLY_SSND_SOC_DAPM_MIXER"I2S5_CH2" java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 51
0,
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
SND_SOC_DAPM_PRE_PMU | ,
(,SUPPLY_SEQ_I2S_MCLK_EN,
SND_SOC_NOPM, 0, 0,
mtk_mclk_en_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
/* apll */
SND_SOC_DAPM_SUPPLY_S(APLL1_W_NAME
SND_SOC_NOPM,0 ,
mtk_apll_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD ARRAY_SIZEm)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
mtk_i2s9_ch2_mix
SND_SOC_NOPM ,0,
mtk_apll_event,
SND_SOC_DAPM_PRE_PMU |,
/* allow i2s on without codec on */
SND_SOC_DAPM_OUTPUT("I2S_DUMMY_OUT") SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_PRE_PMD),
SND_SOC_DAPM_MUX("I2S1_Out_Mux",
SND_SOC_NOPM, 0, 0, &i2s1_out_mux_control),
SND_SOC_DAPM_MUX("2S3_Out_Mux,
SND_SOC_NOPM, 0, 0, &i2s3_out_mux_control),
SND_SOC_DAPM_MUX("I2S5_Out_Mux",
SND_SOC_NOPM, 0, 0, i2s_out_tinyconn_event,
SND_SOC_DAPM_MUX("2S7_Out_Mux",
SND_SOC_NOPM, 0, 0, &i2s7_out_mux_control),
ND_SOC_DAPM_MUX("",
SND_SOC_NOPM 0,0 &,
SND_SOC_DAPM_INPUT("I2S_DUMMY_IN"),
SND_SOC_DAPM_MUX("I2S0_In_Mux",
0,0, &i2s0_in_mux_control),
SND_SOC_DAPM_MUX("I2S8_In_Mux",
SND_SOC_NOPM, 0, 0, &i2s8_in_mux_control),
/* i2s in lpbk */
Mux"java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
SND_SOC_NOPM, 0, 0, &java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 12
SND_SOC_DAPM_MUX("I2S2_Lpbk_Mux",
, 0,i2s2_lpbk_mux_control)
};
static ,I2S_EN_SFT, 0java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
struct snd_soc_dapm_widget *sink)
{
snd_soc_dapm_widget * =sink
struct mtk_i2s_en_eventjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [52, 7) out of bounds for length 65
struct *s_priv;
i2s_priv = SND_SOC_DAPM_PRE_PMU|SND_SOC_DAPM_POST_PMDjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
if (!i2s_priv) {
dev_warn(afe-dev %() i2s_priv =NULL,__func__);
return 0;
}
if (i2s_priv->share_i2s_id < 0)
return 0;
return i2s_priv->share_i2s_id == java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 38
}
static int struct snd_soc_dapm_widget *source,
struct snd_soc_dapm_widget *sink)
{
struct snd_soc_dapm_widget *w = sink;
struct *cmpnt (>)
*afe=snd_soc_component_get_drvdata();
struct mtk_afe_i2s_priv *i2s_priv;
i2s_priv = get_i2s_priv_by_name(afe, sink->name);
if (!i2s_priv) {
dev_warnSND_SOC_DAPM_PRE_PMU )java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
return 0; AFE_I2S_CON9,I2S9_EN_SFT,0,,
}
if get_i2s_id_by_nameafe, >name) =
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 43
return i2s_priv->low_jitter_en;
/* check if share i2s need hd en */
if i2s_priv>share_i2s_id )
return 0;
if i2-share_i2s_id = get_i2s_id_by_name(fe, source-name)
return i2s_priv->low_jitter_en;
,,NULL,0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
}
int java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 71
*sink)
{
struct snd_soc_dapm_widget *w = sink;
struct snd_soc_component *cmpnt = SND_SOC_DAPM_SUPPLY_S(I2S8_HD_EN_W_NAME, SUPPLY_SEQ_I2S_HD_EN,
struct java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 14
int i2s_need_apll;
i2s_priv = get_i2s_priv_by_name(afe, w->name);
if (!i2s_priv) {
dev_warn(afe->dev, "%s(), java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 28
return 0;
}
/* which apll */ |SND_SOC_DAPM_POST_PMD),
java.lang.StringIndexOutOfBoundsException: Range [47, 9) out of bounds for length 55
/* choose APLL from i2s rate */
i2s_need_apll SND_SOC_DAPM_PRE_PMU|SND_SOC_DAPM_POST_PMD),
if (i2s_need_apll == cur_apll)
return 1;
return 0;
}
static int mtk_afe_i2s_mclk_connect(struct snd_soc_dapm_widget *source,
struct snd_soc_dapm_widget sink)
{
truct * =sink;
struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm);
java.lang.StringIndexOutOfBoundsException: Range [20, 7) out of bounds for length 65
struct mtk_afe_i2s_priv *i2s_priv;
SND_SOC_DAPM_SUPPLY_S(,,
if ()
dev_warn( mtk_mclk_en_event,
return 0;
}
if (SND_SOC_DAPM_SUPPLY_S( SUPPLY_SEQ_I2S_MCLK_EN
get_i2s_id_by_name(afe, source->name))
return (i2s_priv-> SND_SOC_DAPM_PRE_PMU)
/* check if share i2s need mclk */
if (2_-share_i2s_id < )
return 0;
if(-java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 69
return ()
return 0;
}
static(struct source,
struct snd_soc_dapm_widget *sink)
{* apll */ *
struct java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 38
snd_soc_component cmpnt snd_soc_dapm_to_componentw>apm)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
struct mtk_base_afe *afe = snd_soc_component_get_drvdatajava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 53
struct mtk_afe_i2s_priv * java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
int
i2s_priv = SND_SOC_DAPM_OUTPUT")java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
if (!i2s_priv) , 0 0, &2)
( i2s_priv =NULL" _func__java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
return 0;
}
/* which apll */
get_apll_by_name( -ame;
if (i2s_priv->mclk_apll == cur_apll)("2S7_Out_Mux"java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
return 1;
return 0;
}
static struct mtk_dai_i2s_routes[ {
{"Connsys I2S",java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* i2s0 */
{SND_SOC_DAPM_MUX"I2S2_Lpbk_Muxjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
{"I2S0", NULL, "I2S1_EN", mtk_afe_i2s_share_connect},
{nect},
{"I2S0", NULL, "I2S3_EN", java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 2
{"I2S0,NULL "I2S5_EN" java.lang.StringIndexOutOfBoundsException: Range [35, 52) out of bounds for length 35
if (i2s_priv) {
dev_warn(fe-dev %),i2s_priv= " __java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 57
{"I2S0}
{"I2S0", NULL, "I2S9_EN", java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{" , java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 59
mtk_afe_i2s_hd_connect *java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
{java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{"I2S0", snd_soc_componentcmpnt java.lang.StringIndexOutOfBoundsException: Range [63, 60) out of bounds for length 70
"" , mtk_afe_i2s_hd_connect,
{"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, I2S0_MCLK_EN_W_NAME, dev_warn(afe->dev, "%s(), i2s_priv == NULL", __func__(afe->ev, "s), i2s_priv ", _func__;
{"I2S0}
{"I2S0"
, I2S3_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S0", NULL, I2S5_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S0", NULL, I2S6_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connectget_i2s_id_by_name(fe source-)
{ME, mtk_afe_i2s_mclk_connect},
{"I2S0", NULL, I2S8_MCLK_EN_W_NAME/* check if share i2s need hd en */
"I2S0", NULL ,mtk_afe_i2s_mclk_connect},
{ return;
{I2S0_MCLK_EN_W_NAME
/* i2s1 */
{"I2S1_CH1", "DL1_CH1", tter_en;
{"I2S1_CH2", "DL1_CH2", "DL1"},
{"java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
{"I2S1_TINYCONN_CH2_MUX", "DL1_CH2", "DL1"},
{"I2S1_CH1",{
{"" DL2_CH2", ",
*cmpnt =snd_soc_dapm_to_component(-dapm);
{IS1_TINYCONN_CH2_MUX" "DL2_CH2", DL2java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
{"I2S1_CH1inti2s_need_apll;
{"I2S1_CH2", "DL3_CH2", "DL3"},
{"I2S1_TINYCONN_CH1_MUX(, -name)
{ i2s_priv
{I2S1_CH1","" D}
{"I2S1_CH2", "DL12_CH2
{"I2S1_TINYCONN_CH1_MUX", "DL12_CH1", "DL12"},
{"I2S1_TINYCONN_CH2_MUX", "java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 17
{"I2S1_CH1,DL4_CH1", DL4}
{"I2S1_CH2", "DL4_CH2", "DL4"},
{"java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
{"I2S1_CH2", "DL5_CH2", "DL5"},
{"I2S1_CH1", "
{"I2S1_CH2", "DL6_CH2", "DL6"},
{"I2S1_CH1"static mtk_afe_i2s_mclk_connectstructsnd_soc_dapm_widgetsourcejava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
{" w ;
{"I2S1java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
{"(afe source-name))
{IS1"NULL,"I2S3_TINYCONN_CH1_MUX}java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
/* check if share i2s need mclk */
{"I2S1", NULL, "I2S0_EN", mtk_afe_i2s_share_connect},
{"I2S1", NULL, "I2S1_EN"},
{"I2S1", NULL, "I2S2_EN", mtk_afe_i2s_share_connect->= java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 69
{"I2S1", NULL, "I2S3_EN", mtk_afe_i2s_share_connect},
{"I2S1", NULL, "I2S5_EN", mtk_afe_i2s_share_connect} (s_priv-mclk_rate ) ? :0;
{"I2S1", NULL, "I2S6_EN", mtk_afe_i2s_share_connect},
{"I2S1", NULL, "I2S7_EN", mtk_afe_i2s_share_connect},
{"I2S1", NULL, "I2S8_EN", java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
{"I2S1", NULL, "I2S9_EN", java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 0
{"I2S1", NULL, I2S0_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{, I2S1_HD_EN_W_NAME, mtk_afe_i2s_hd_connect}
{"I2S1", NULL, I2S2_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{"java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1
{"I2S1", NULL, I2S5_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{"I2S1", NULL, I2S6_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{"I2S1", NULL, I2S7_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{"I2S1", NULL, I2S8_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{"I2S1" NULL,I2S9_HD_EN_W_NAME, ,
{I2S1_HD_EN_W_NAME, NULL, APLL1_W_NAME, mtk_afe_i2s_apll_connect},
{I2S1_HD_EN_W_NAME, NULL, APLL2_W_NAME, mtk_afe_i2s_apll_connect},
{"I2S1", NULL, I2S0_MCLK_EN_W_NAME, struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
mtk_afe_i2s_priv*i2s_priv;
{"I2S1", NULL, I2S2_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
{"I2S1", NULL, I2S3_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S1", NULL, I2S5_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S1", NULL, I2S6_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S1", NULL, I2S7_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S1", NULL, I2S8_MCLK_EN_W_NAME0
{"I2S1", NULL, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{I2S1_MCLK_EN_W_NAME
if(i2s_priv-> =cur_apll
/* i2s2 */
{"I2S2", NULL, "I2S0_EN", mtk_afe_i2s_share_connect
{"I2S2", NULL, "I2S1_EN", const struct snd_soc_dapm_route]= java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{"I2S2", NULL, "I2S2_EN"},
{"I2S2", NULL, "I2S3_EN", mtk_afe_i2s_share_connect},
{I2S2, NULL, "2S5_EN",mtk_afe_i2s_share_connect}
{"I2S2
{"I2S2", NULL, "I2S7_EN", mtk_afe_i2s_share_connectI2S0" , I2S0_EN",
mtk_afe_i2s_share_connect}
{"I2S2", NULL{"I2S0",NULL,"I2S2_EN",mtk_afe_i2s_share_connect,
"2S0" I2S3_EN",
{I2S2" ,I2S1_HD_EN_W_NAME, },
"I2S2 ,I2S2_HD_EN_W_NAME, }java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
{"I2S2", NULL, I2S3_HD_EN_W_NAME, {"I2S0", NULL, "I2S8_EN", mtk_afe_i2s_share_connect
{I2S2" NULL,I2S5_HD_EN_W_NAME, tk_afe_i2s_hd_connect,
{"I2S2", NULL, I2S6_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
},
{"I2S2", NULL, I2S8_HD_EN_W_NAME, "I2S0", NULL,I2S1_HD_EN_W_NAMEmtk_afe_i2s_hd_connect
{"I2S2", NULL, I2S9_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{I2S2_HD_EN_W_NAME, NULL, APLL1_W_NAME, mtk_afe_i2s_apll_connect},
{ , ,mtk_afe_i2s_apll_connect},
{I2S0" NULL,I2S5_HD_EN_W_NAMEmtk_afe_i2s_hd_connect,
{I2S2, ,mtk_afe_i2s_mclk_connect,
{"I2S2", NULL, java.lang.StringIndexOutOfBoundsException: Range [59, 33) out of bounds for length 59
{ {I2S0 , I2S9_HD_EN_W_NAME, java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
{"I2S2", NULL, I2S5_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S2", NULL, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
{ "I2S0",,java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
"" , java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 63
{"I2S2", NULL, I2S9_MCLK_EN_W_NAME"2,, java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 63
I2S0"NULL, java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 63
{include {java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 70
/* i2s3 */"I2S1_CH1" "DL1_CH1"#ncludemt8192-afe-ommonhjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
"I2S3_CH1","DL1_CH1", " {"I2S3_CH1", "DL1_CH1", "DL1", "DL1"
{I2S3_CH2,"L1_CH2,"DL1",
{I2S3_TINYCONN_CH1_MUX,"" "L1}
{"I2S3_TINYCONN_CH2_MUX", "java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 17
{;
DL2_CH2"DL2",
"java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
"2CH2",DL2}
{"I2S3_CH1", int;
{"I2S3_CH2" low_jitter_en;
mclk_id;
2S3_TINYCONN_CH2_MUX" DL3_CH2" "DL3",
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
{
{"", DL12_CH1""}java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
"I2S3_TINYCONN_CH2_MUX"," DL12"java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
d MTK_AFE_I2S2_KCONTROL_NAME "#define MTK_AFE_I2S2_KCONTROL_NAME "I2S2_HD_Mux", DL12_CH2" "",
{ {"" "DL4_CH1" DL4}
{I2S3_CH1" "DL5_CH1", "DL5
{","L5_CH2 "S_HD_Mux"
{, ""# I2S2_HD_EN_W_NAME java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
{ {","DL6_CH1,DL6"# IS7_HD_EN"
" "}java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
D"}
{ {I2S1_CH2" ",DI2S_"
{" {" NULL,""java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{I2S3", "I2S1"N, }java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
{"define I2S5_MCLK_EN_W_NAME "I2S5_MCLK_EN
{"#defineI2S7_MCLK_EN_W_NAME "I2S7_MCLK_EN"
,
{"I2S3",NULL I2S2_EN" mtk_afe_i2s_share_connect},
{"I2S3", NULL, "I2S3_EN"},
"" NULL," },
"", ,I2S6_EN",java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 26
"" ,}
{"eturn MT8192_DAI_I2S_0;
{"I2S3", NULL, "I2S9_EN", mtk_afe_i2s_share_connect},
{"I2S3","",NULL,"" },
{I2S3",NULL, , mtk_afe_i2s_hd_connect},
{"I2S3"I2S1",java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 54
{,NULL,2S3_HD_EN_W_NAME }
if name,"S2, 4==0)
{"I2S3", NULL, return MT8192_DAI_I2S_2""",ULL, I2S2_HD_EN_W_NAME, mtk_afe_i2s_hd_connect}java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
",NULL, I2S7_HD_EN_W_NAME, },
{"I2S3", NULL, else if (strncmp(name", NULL I2S5_HD_EN_W_NAME, mtk_afe_i2s_hd_connect}},
" MT8192_DAI_I2S_5;
{2,ULL,APLL1_W_NAME,mtk_afe_i2s_apll_connect,
{, NULL,APLL2_W_NAME, ", NULL, I2S8_HD_EN_W_NAME, mtk_afe_i2s_hd_connect
{"I2S3", NULL, I2S0_MCLK_EN_W_NAMEreturn// MediaTek ALSA SoC Audio DAI I2S Controlif(/java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 35
{java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 63
{"I2S3",
return MT8192_DAI_I2S_9;
{"I2S3 {I2S1iclude<linux/.hjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
"",NULL, mtk_afe_i2s_mclk_connect
I2S7_MCLK_EN_W_NAME,},
{"#include "java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
2", mtk_afe_i2s_mclk_connectjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
"" NULLjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
{, ,APLL2_W_NAMEjava.lang.StringIndexOutOfBoundsException: Range [64, 61) out of bounds for length 63
/* i2s5 */
{I2S_IN_PAD_CONNSYS = 0,
{};
{"{"I2S1" java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
intmclk_id;
if(!2s_priv){I2S_WLEN_16_BIT : ;
{"I2S5_CH2" (java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 10
{I2S5_CH2,efine java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [47, 32) out of bounds for length 32
{2NULL "S8_EN",mtk_afe_i2s_share_connect,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
",
"java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 11
_,D,D}
{"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{, "DL8
java.lang.StringIndexOutOfBoundsException: Range [41, 28) out of bounds for length 28
d "java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
(java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 57
, EINVAL;
{2S5 NULL" ,APLL1_W_NAME,mtk_afe_i2s_apll_connect,
{
{"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mt8192_i2s_hd_get,,t8192_i2s_hd_set),
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 58
{java.lang.StringIndexOutOfBoundsException: Range [61, 54) out of bounds for length 63
(rncmpn,"java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 40
{mt8192_i2s_hd_get, mtk_afe_java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 58
{ java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 45
{"I2S5", NULL, I2S2_HD_EN_W_NAME, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mtk_afe_i2s_hd_connect}
{"I2S5" 2 NULL mtk_afe_mclk_apll_connect,
{2S5N, java.lang.StringIndexOutOfBoundsException: Range [60, 57) out of bounds for length 59
{I2S5",NULL, MT8192_DAI_I2S_9;
{"}
}
,NULL APLL1_W_NAME, mtk_afe_i2s_apll_connect YCONN_CH1_MUX,",DL1,
{I2S5_HD_EN_W_NAME
"2"
{I2S5,;
{"21java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
* ]=java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
{"I2S5"static SOC_DAPM_ENUM("I2S0 In Select{I2S3_TINYCONN_CH2_MUX DL2_CH2 "",
{"I2S5", NULL, I2S6_MCLK_EN_W_NAME,
{ I2S7_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S5", java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{"{I2S3_TINYCONN_CH2_MUX" ""java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{I2S5_MCLK_EN_W_NAME, NULL, APLL1_W_NAME,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
=java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
/* i2s6 */ const java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 59
_},
static
"I2S6snd_ctl_elem_value control
mtk_afe_i2s_share_connect},
{"I2S6", " =x3
= truct *k-java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 32
{"I2S6", NULL,int """,DL5}java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{"",NULL 2S9_EN,
{"I2S6 "NONE",",DL6_CH2 DL6java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,NULL, ,java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 59
{java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{" TINYCONN_CH2_MUX_DL1,
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
{I2S6java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
{_mtk_afe_i2s_hd_connect,
( mt8192_i2s_enum
2 java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 67
{I2S6_HD_EN_W_NAME,SOC_DAPM_ENUM( (K_AFE_I2S7_KCONTROL_NAME, ,
2}
{" O_21_CFG_SFT,
{2S6 NULL java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
{"I2S6" NULL, {" structi2s1_tinyconn_ch2_mux_controljava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
{"I2S6", NULL, Normal,"",
{", NULL , 1java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
{I2S6", SND_SOC_NOPM,
{" 0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
{"I2S6", NULL java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 30
N,APLL1_W_NAME,},
{ SOC_VALUE_ENUM_SINGLE_DECL
/* i2s7 */
{struct {I2S3 ,I2S9_HD_EN_W_NAME java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
"7, NULL,2S7_CH2java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
{" (I2S5 "java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
" ,
, 2"java.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 54
{"I2S7", ",NULL, , ,
ULL I2S6_EN", mtk_afe_i2s_share_connect},
{"I2S7", NULL, "I2S7_EN"},
{"I2S7", NULL, "I2S8_EN", mtk_afe_i2s_share_connect},
{"I2S7", NULL, "I2S9_EN", java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
{"java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
{"" ,{I2S3_MCLK_EN_W_NAME, NULL, APLL1_W_NAME,java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 70
{"2" I2S3_MCLK_EN_W_NAME APLL2_W_NAME,, }java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
{", mtk_afe_i2s_hd_connect},
{"I2S7", NULL, I2S5_HD_EN_W_NAME
{"I2S7", NULL,{2 TINYCONN_C 00x0
{I2S7",NULL SOC_DAPM_ENUM("I2S Lpbk Select",)
{TINYCONN_CH1_MUX_DL2(DL1_CH1 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
TINYCONN_CH2_MUX_DL2=0x5
{ TINYCONN_CH1_MUX_DL3( IS5_CH2"Djava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 32
N_W_NAMENULL,APLL2_W_NAME,mtk_afe_i2s_apll_connect,
{"I2S7 ""
{"DL12_CH1",
{"I2S7", NULL, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{"static int { "GAIN1_OUT_CH1"INYCONN_MUX_NONE,
{"I2S7 NULL
{,,
"java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 54
{"staticSOC_VALUE_ENUM_SINGLE_DECL( java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 56
mtk_afe_i2s_mclk_connect,
{ tinyconn_mux_map
,NULLstatic java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 68
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
"I2S8"NULL I2S0_EN"java.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 54
{" SOC_DAPM_SINGLE_AUTODISABLE(",AFE_CONN1_1,I_DL9_CH2 ,0)
{" I_GAIN1_OUT_CH2, , 0)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{"I2S8", SOC_DAPM_SINGLE_AUTODISABLE",AFE_CONN1
s structsnd_kcontrol_newi2s1_tinyconn_ch2_mux_control=
{"I2S8", ADDA_UL_CH3 1 0 java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 40
{ 1SOC_VALUE_ENUM_SINGLE_DECLi2s3_tinyconn_ch1_mux_map_enum
{" I_PCM_1_CAP_CH2, 1, 0),
{"},
{"I2S8", SOC_DAPM_SINGD ,I_DL1_CH1,,0,
static struct i2s3_tinyconn_ch1_mux_control=
{"I2S8", SOC_DAPM_SINGjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 69
{"java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 59
S8I,java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 59
{"NULL,java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 59
, I2S7_HD_EN_W_NAME)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
{"I2S8", NULL, I2S8_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
{"I2S8 {"I2S5_CH2" "SOC_DAPM_SINGLE_AUTODISABLE"" FE_CONN28,
{ I_PCM_1_CAP_CH1,1 0),
{I2S8_HD_EN_W_NAME, NULL, APLL2_W_NAME, mtk_afe_i2s_apll_connectSOC_DAPM_SINGLE_AUTODISABLE("java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{I2S8" java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 32
{},
{"I2S8", NULL, SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH2", AFE_CONN29, I_DL3_CH2, 1, 0),
{"2S8", NULL, I2S3_MCLK_EN_W_NAME, mtk_afe_i2s_mclk_connect},
{"I2S8,NULL,"",NULL
{"C_DAPM_SINGLE_AUTODISABLE({2" "S5_CH2"java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{" ,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
;
{"",NULL I2S9_MCLK_EN_W_NAME SOC_DAPM_SINGLE_AUTODISABLE"L9_CH2,AFE_CONN29_1, ,1 0)
pll_connect},
{I2S8_MCLK_EN_W_NAME_{IS5" I_GAIN1_OUT_CH2,1, )java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
/* i2s9 */
{ 1java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
{}java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{I2S9_CH1","I" , 1, 0,
{"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{"I2S9_CH2", "DL3_CH2", ( I2S5 , java.lang.StringIndexOutOfBoundsException: Range [33, 0) out of bounds for length 0
{" ,java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 59
",","java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 68
SOC_DAPM_SINGLE_AUTODISABLE(DL12_CH1 GAjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{"
{(,java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 70
{SOC_DAPM_SINGLE_AUTODISABLE"{I2S5, I_PCM_1_CAP_CH10),
{"I2S9_CH1", I_GAIN1_OUT_CH1 10" A" java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{"I2S9_CH2", I_ADDA_UL_CH2 1,SOC_DAPM_SINGLE_AUTODISABLE"" AFE_CONN31,, 10java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 69
"""java.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 56
{"I2S9_CH2", "DL8_CH2(",}PCM_2_CAP_CH1"" java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
{java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 68
{,I2S0_ENjava.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 57
{SOC_DAPM_SINGLE_AUTODISABLE,1 ,
{"I2S9", SOC_DAPM_SING"L8_CH2" {"""NULL java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
}java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{"S6PM_SINGLE_AUTODISABLE"AFE_CONN31java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
, kcontrol_newmtk_i2s7_ch1_mix]={
{",NULL,"2, },
{"I2S9", NULL {"I2S6", PCM_1_CAP_CH1 ,
{ ,
"" ,,
"" ,I2S0_HD_EN_W_NAMEjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 59
{I2S9java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 71
}
SOC_DAPM_SINGLE_AUTODISABLE"AFE_CONN54_1 ,,0,
{,
", mjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
, mtk_afe_i2s_hd_connect,
{"I2S9", NULL, I2S8_HD_EN_W_NAME, {"I2S6", NULL, I2S6_HD_EN_W_NAME, mtk_afe_i2s_hd_connect SOC_DAPM_SINGLE_AUTODISABLE("SOC_DAPM_SINGLE_AUTODISABLE("DL6_CH1", AFE_CONN28_1 mtk_afe_i2s_hd_connectjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
{I2S9I2S6SOC_DAPM_SINGLE_AUTODISABLE("DL5_CH1",AFE_CONN28_1, I_DL5_CH11,),
I2S9_HD_EN_W_NAME,NULL {, APLL1_W_NAME,tk_afe_i2s_apll_connectjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{I2S9"NULLI2S1_MCLK_EN_W_NAME, ,
{"I2S9", NULL, I2S2_MCLK_EN_W_NAME, SOC_DAPM_SINGLE_AUTODISABLE("PCM_1_CAP_CH1", AFE_CONN28{ I_PCM_1_CAP_CH1, ,,
{"I2S9 NULL,I2S3_MCLK_EN_W_NAME mtk_afe_i2s_mclk_connect}java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH2", AFE_CONN55, I_DL3_CH2, 1,
{"{"I2S6,NULL mtk_afe_i2s_mclk_connect}java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{"I2S9PM_SINGLE_AUTODISABLE("DL6_CH2", AFE_CONN55_1, "2S6" I2SOC_DAPM_SINGLE_AUTODISABLE("DL4_CH2", AFE_CONN55_1, I_DL4_CH2, 1, 0),
},
{"I2S9", NULL, I2S9_MCLK_EN_W_NAMESOC_DAPM_SINGLE_AUTODISABLE( APLL1_W_NAME, ,
{I2S9_MCLK_EN_W_NAME, NULL, APLL1_W_NAME, mtk_afe_mclk_apll_connect},
{I2S9_MCLK_EN_W_NAME, , , mtk_afe_mclk_apll_connect},
/* allow i2s on without codec on */
"{java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 28
{"{"I2S7",,java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 57
{SOC_DAPM_SINGLE_AUTODISABLE"PCM_1_CAP_CH2" AFE_CONN55,
{"I2S8_In_Mux",{"2S7" NULL,"SOC_DAPM_SINGLE_AUTODISABLE SOC_DAPM_SINGLE_AUTODISABLE("AFE_CONN28
{" "java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 59
{ {I2S7",NULL D",AFE_CONN56 java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 69
{"I2S3_Out_Mux", "Dummy_Widget", "I2S3"},
{SOC_DAPM_SINGLE_AUTODISABLE("DL3_CH2",I_DL3_CH2,,0,
S5"
NULL"java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
I2S7},
{"S_"NULL,"",
{"I2S9_Out_Mux", "Dummy_Widget", "I2S9"},
{"I2S_DUMMY_OUT", NULL, "I2S9_Out_Mux"},
/* i2s in lpbk */
{"S,"pbk",""}
{"I2S2_Lpbk_Mux", "Lpbk"",_PCM_1_CAP_CH1" java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{ ,APLL1_W_NAME,mk_afe_i2s_apll_connect,
;
};
/* dai ops */
static int mtk_dai_connsys_i2s_hw_params(struct SOC_DAPM_SINGLE_AUTODISABLE("DL1_CH2", AFE_CONN57, I_DL1_CH2)
snd_pcm_hw_params *params,
struct snd_soc_dai *dai)
{
i_get_drvdata(;
unsignedrate =params_ratepjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 41
e_transformfdev,
rate, dai->SOC_DAPM_SINGLE_AUTODISABL ,, ),
unsigned int SOC_DAPM_SINGLE_AUTODISAB(,AFE_CONN57_1,I_DL9_CH2"I2S7,NULLI2S7_MCLK_EN_W_NAMEjava.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
-ev,"(("" java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 69
__func__, dai->id"DL2_CH1", CONN57,
**java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 62
=0 < SOC_DAPM_SINGLE_AUTODISABLE("DL12 I_PCM_2_CAP_CH1, 1, 0),
i2s_con|=I2S_FMT_I2S <<java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 11
| < ;
SOC_DAPM_SINGLE_AUTODISABLE("", AFE_CONN57,
{",NULL,"mtk_afe_i2s_share_connect}
enum {
SUPPLY_SEQ_I2S_MCLK_EN,
regmap_update_bits(afe->regmap,
AFE_CONNSYS_I2S_CON,
{I2S8",java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 37
/* proxy mode, set i2s for asrc */
regmap_update_bits(afe->regmap,
mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
I2S_MODE_MASK_SFT,
rate_regi2s_priv = DA_UL_CH1, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
switch dev_warn(->dev " I_PCM_1_CAP_CH1 , 0java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
case
regmapjava.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 57
;
case 44100:
a-regmapmt8192_afe_gpio_requestafedev truei2s_priv>0;
break
default:
regmap_write-"java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
break{I2S8 , I2S9_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
}
java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 67
(-java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
regmap_write {I2S8,NULL I2S0_MCLK_EN_W_NAME,mtk_afe_i2s_mclk_connects java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 65
afe SOC_DAPM_SINGLE_AUTODISABLE("DL9_CH2",I_DL9_CH21 0,
regmap_write(-,NULLI2S2_MCLK_EN_W_NAME,mtk_afe_i2s_mclk_connect}java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 63
{"", java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 27
(snd_soc_dapm_widget_name_c,java.lang.StringIndexOutOfBoundsException: Range [58, 50) out of bounds for length 57
, SOC_DAPM_SINGLE_AUTODISABLE("java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 55
I2S9_MCLK_EN_W_NAME mtk_afe_i2s_mclk_connect},
0x0
return;
}
static int java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 44
{
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 57
struct mt8192_afe_private *afe_priv
dev_dbg(afe->dev, "%s(), cmd %d, stream %d\n",
__func__, cmd, substream->stream);
switch (cmd) {
case java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
case SNDRV_PCM_TRIGGER_RESUME:
/* i2s enable */
regmap_update_bits(afe->regmap{"I2S9_CH1","DL6_CH1", "DL6"},
_CON,
I2S_EN_MASK_SFT,
0x1 << I2S_EN_SFT);
/* calibrator enable */
regmap_update_bits("I2S9_CH2","DL8_CH2", "L8,
AFE_ASRC_2CH_CON5,
CALI_EN_MASK_SFT,
0x1 << CALI_EN_SFT);
/* asrc enable */
regmap_update_bitsafe-regmap
"S9, NULL,I2S1_HD_EN_W_NAME, mtk_afe_i2s_hd_connect},
CON0_CHSET_STR_CLR_MASK_SFT,
0x1 << CON0_CHSET_STR_CLR_SFT);
regmap_update_bits(afe->regmap,
AFE_ASRC_2CH_CON0,
, NULL I2S5_HD_EN_W_NAME mtk_afe_i2s_hd_connect},
0< java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
afe_priv[ai>] ;
;
case regmap_update_bits(>regmap,
CM_TRIGGER_SUSPEND
regmap_update_bits(afe->regmap,
;
CON0_ASM_ON_MASK_SFT;
SOC_DAPM_SINGLE_AUTODISABLE(" {"I2S9", NULL, I2S0_MCLK_EN_W_NAMEjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
regmap_update_bits(afe->regmap,
AFE_ASRC_2CH_CON5,
CALI_EN_MASK_SFT,
"",SING(DL12_CH1" FE_CONN54 I_DL12_CH110,
/* i2s disable */
regmap_update_bits(fe-regmap,
AFE_CONNSYS_I2S_CON,
I2S_EN_MASK_SFT
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* bypass asrc */
egmap_update_bitsafe>regmap,
AFE_CONNSYS_I2S_CON
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
0<java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 30
afe_priv->dai_on[dai->id mt8192_mck_disable(afe, ->);
break _""",I2S_DUMMY_IN"},
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
return -EINVALstatic structsnd_soc_dapm_widgetmtk_dai_i2s_widgets] ={I2S8_In_Mux"," I_PCM_2_CAP_CH1, 1, 0)
"" java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
}
staticconststruct mtk_dai_connsys_i2s_ops=
.hw_params = mtk_dai_connsys_i2s_hw_params,
.trigger = mtk_dai_connsys_i2s_trigger",SND_SOC_NOPM, , ,
};{I2S5_Out_Mux" D ARRAY_SIZE()),
static int SOC_DAPM_SINGLE_AUTODISABLE("DL5java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 42
*java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42 | |