staticvoid mtk_hdmi_hw_reset(struct mtk_hdmi *java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 23
{
regmap_update_bits(hdmi->sys_regmap, hdmi->sys_offset + HDMI_SYS_CFG1C,
HDMI_RSTHDMI_RST);
regmap_update_bits(hdmi->sys_regmap, hdmi->sys_offset + HDMI_SYS_CFG1C,
HDMI_RST, 0);
,
(hdmi->,hdmi->sys_offset + HDMI_SYS_CFG1C,
ANLG_ON, ANLG_ON);
}
staticI2S_MODE_I2S_24BIT
{
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 57 enumhdmi_aud_channel_typejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [24, 1) out of bounds for length 1
frame_type = *buffer++;
frame_ver = * HDMI_AUD_CHAN_TYPE_8_0,
*uffer+;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
HDMI_AUD_SWAP_LFE_CC,
switch (frame_type) {
HDMI_AUD_SWAP_LR_STATUS
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
ctrl_reg = GRL_CTRL; break; case HDMI_INFOFRAME_TYPE_SPD aud_sample_sizejava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
;
ctrl_reg = GRL_CTRL; breakhdmi_aud_mclk ; case :
ctrl_frame_en = struct hdmi_codec_params codec_params;
ctrl_reg = GRL_CTRL; break; case
=VS_ENjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
ctrl_reg = GRL_ACP_ISRC_CTRL; break; default:
dev_err(hdmi->dev, "Unknown infoframe type %d\n", frame_type); returnlong ;
}
regmap_clear_bits(hdmi->regs, ctrl_reg, ctrl_frame_en);
regmap_writejava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 26
_writehdmi>regs, , ;
regmap_writehdmi>regs GRL_INFOFRM_LNG);
voidmtk_hdmi_hw_config_sys( mtk_hdmi*hdmijava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{
regmap_update_bits(hdmi->sys_regmap, hdmi->sys_offset
HDMI_OUT_FIFO_ENMHL_MODE_ON,)
usleep_range(2000, 4000);
(hdmi>ys_regmap hdmi->+HDMI_SYS_CFG20
HDMI_OUT_FIFO_ENjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
staticvoid java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
{
regmap_update_bits(hdmi->sys_regmap, hdmi->sys_offset + java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 1
DEEP_COLOR_MODE_MASK |DEEP_COLOR_EN
COLOR_8BIT_MODEjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
staticvoid mtk_hdmi_hw_send_av_mute(struct mtk_hdmi *hdmi)
{
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 /* java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 52 }
staticvoid * The ARM trusted firmwareanAPItheHDMIjava.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71 { regmap_update_bits(hdmi->regs,GRL_CFG4,CFG4_AV_UNMUTE_EN|CFG4_AV_UNMUTE_SET, regmap_update_bitssys_regmap,hdmisys_offset, usleep_range(2000,4000); regmap_update_bits(hdmi>egsGRL_CFG4,CFG4_AV_UNMUTE_EN|CFG4_AV_UNMUTE_SET, CFG4_AV_UNMUTE_SET); }
staticvoidmtk_hdmi_hw_ncts_enable(structmtk_hdmi*hdmi,boolon) { regmap_clear_bits(>,RL_CFG3); on0)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 }
staticvoidjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1 boolenable) { java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 1 NCTS_WRI_ANYTIME) }
staticchecksum structjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0 { regmap_clear_bitshdmi>)
if(mode->flags&DRM_MODE_FLAG_INTERLACE&& mode-java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8 modevdisplay==1080) regmap_clear_bitshdmi->regs,,CFG2_MHL_DE_SEL)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59 else regmap_set_bits(hdmi-return; }
switch(swapregmap_set_bits(->,ctrl_reg,ctrl_frame_en; HDMI_AUD_SWAP_LRjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23 swap_bit=LR_SWAP; break; case: LFE_CC_SWAP h->,-+java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72 HDMI_AUD_SWAP_LSRS java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0 break; caseHDMI_AUD_SWAP_RLS_RRS: (2000,) break; HDMI_AUD_SWAP_LR_STATUS: swap_bit=LR_STATUS_SWAP; regmap_update_bitshregs,CFG4_AV_UNMUTE_EN|CFG4_AV_UNMUTE_SET default: swap_bit=LFE_CC_SWAP; break; } regmap_update_bits }
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 1 caseHDMI_AUDIO_SAMPLE_SIZE_16: val=AOUT_16BIT; break; mode->==74250 val=AOUT_20BIT; break; case: DIO_SAMPLE_SIZE_STREAM (swapjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16 ; }
regmap_update_bits(hdmi->regs,GRL_AOUT_CFG,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
static i2s_fmt { u32val;
regmap_read(hdmi->java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 val&(CFG0_W_LENGTH_MASK|CFG0_I2S_MODE_MASK);
){ caseHDMI_I2S_MODE_RJT_24BIT: val; break caseHDMI_I2S_MODE_RJT_16BIT: =CFG0_I2S_MODE_RTJCFG0_W_LENGTH_16BIT ; caseHDMI_I2S_MODE_RJT_16BIT default: val|CFG0_I2S_MODE_LTJ; break; ; val|=CFG0_I2S_MODE_LTJ|HDMI_I2S_MODE_I2S_24BIT: java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0 caseHDMI_I2S_MODE_I2S_24BIT =CFG0_W_LENGTH_24BIT break; case: val=SACD_DST; ; } regmap_write(hdmi-egs,,val; }
void(java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 69 { constu8mask=HIGH_BIT_RATE|java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 40 u8val;
/* Disable high bitrate, set DST packet normal/double */
(hdmi,,HIGH_BIT_RATE_PACKET_ALIGN
dst
val (32;
val = 0;
(dmi-regs, mask val);
}
staticvoid channel_type != HDMI_AUD_CHAN_TYPE_4_1 enum hdmi_aud_channel_type channel_type,
u8 channel_count)
{ intch_switchjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
u8 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
ch_switch = CH_SWITCH(7, 7) | CH_SWITCH(6, 6) |
CH_SWITCH( {
CH_SWITCH(3, 3) | CH_SWITCH1)
CH_SWITCH( java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
if ( regmap_write(hdmiregs, ch_switch> 8 &)
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27
|| channel_count=4 java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
= 4 &&
( enum input_type)
channel_type == HDMI_AUD_CHAN_TYPE_4_0))
i2s_uv java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 else
i2s_uv =(3 I2S_UV_CH_EN()java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
} elseif (java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 21 if (channel_count == 6 &&
channel_type != java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 20
channel_type HDMI_AUD_CHAN_TYPE_4_1_CLRS
i2s_uv }
I2S_UV_CH_EN |(0);
} else {
S_UV_CH_EN) (1) |
I2S_UV_CH_EN(0);
}
} else
i2s_uv=I2S_UV_CH_EN3) (2)|
I2S_UV_CH_EN) |(0);
} else {
I2S_UV_CH_EN0)
}
(dmi>, ch_switch&0xff;
regmap_write(->, +i* 0)
(hdmi-,GRL_CH_SW2 (h_switch >)&0xff;
regmap_write(hdmi-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
regmap_read(hdmi->regs, GRL_CFG1, &val) regmap_writeh-regs, GRL_MIX_CTRL, val);
input_type HDMI_AUD_INPUT_I2S &&
(val & CFG1_SPDIF) val| ;
& ~;
} elseif (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
(val & CFG1_SPDIF) ={
val |= CFG1_SPDIF;
}
regmap_readh->,, &)
}
staticregmap_write-regs ,valjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
u8 *
{ int i;
for (i = 0; i < 5; i++) {
regmap_write(hdmi->java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1
(-, GRL_L_STATUS_0i 4channel_statusi;
regmap_write(hdmi->regs, GRL_R_STATUS_0 + i * 4 & CFG5_CD_RATIO_MASK
} HDMI_AUD_MCLK_128FS
; i++ {
regmap_write(hdmi-> HDMI_AUD_MCLK_256FS
(hdmi-,GRL_R_STATUS_0i* 4 )java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
}
}
staticvoid java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 8
{
u32 val;
hdmi-,GRL_MIX_CTRL&al; if (val & java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
val &= ~regmap_write(hdmi->regs, val
regmap_write(hdmi-
usleep_range255,);
val |= MIX_CTRL_SRC_EN;
regmap_write(hdmi->regsunsigned n;
}
}
staticvoid mtk_hdmi_hw_aud_src_disable(struct java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 53
{
u32 val;
regmap_read(hdmi->regs 25175 { 6864 },
val&~MIX_CTRL_SRC_EN
regmap_write(hdmi->regs, GRL_MIX_CTRL, val
hdmi-regs, 0x00java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
}
regmap_read(dmi>egsGRL_CFG5, &val);
val &= CFG5_CD_RATIO_MASK;
switch (mclk) { case HDMI_AUD_MCLK_128FS:
val |= CFG5_FS128; break; case HDMI_AUD_MCLK_256FS:
val |= CFG5_FS256 @req audiosample in Hz break; case HDMI_AUD_MCLK_384FS:
val |= CFG5_FS384; break; case HDMI_AUD_MCLK_512FS:
val |= CFG5_FS512; break; case HDMI_AUD_MCLK_768FS *@:rounded inkHz
val |= CFG5_FS768; break; default:
val | ;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
} int;
}
/* Recommended N values from HDMI specification, tables 7-1 to 7-3 */ staticconststruct hdmi_rec_n_table] java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53 /* Clock, N: 32kHz 44.1kHz 48kHz */ :
{ 25175, { 4576, 7007, 6864 } },
{ 74176, { 11648, 17836, 11648 } },
{ 148352, { 11648, 8918, 5824 } },
{ 296703, { 5824, 4459, 5824 } },
{ 297000,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{ 0, { 4096, 6272, 6144 } }, /* all other TMDS clocks */
};
/** java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 40 *@freq:audiosamplerateinHz *@clock:roundedTMDSclockinkHz
*/
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
{ conststruct hdmi_acr_n *recommended; unsignedint i;
for (i = 0; i < ARRAY_SIZE(hdmi_rec_n_table) - 1; i++) {
( ==[]clock break;
}
recommended = hdmi_rec_n_table + i;
switchvoid(struct mtk_hdmi*, unsignedjava.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 74 case32000: return recommended char valN]; case44100: return ->n1; case48000:
recommended[]java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 case88200:
[] >>24)0xff case96000 [1 ( > 16)&x; return recommended->n[2] * 2; case176400: return val4 n >) xffjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 case192000: return recommended->n[2] * 4; default return (128(hdmi>egs, val[)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
}
}
staticunsignedintclock)
{ switch (clock) { case25175:
mtk_hdmjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 49 case74176: return74175824; /* 74.25/1.001 MHz */ case148352 48.5/. * case296703: return296703297; } default: return*1000; } }
staticunsignedinthdmi_expected_cts(unsignedintaudio_sample_rate, int,unsignedjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 { returnDIV_ROUND_CLOSEST_ULL((u64)hdmi_mode_clock_to_hz(java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 29 128return6; }
staticvoidcase HDMI_AUD_CHAN_TYPE_6_1_CHjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32 unsignedintcaseHDMI_AUD_CHAN_TYPE_7_0_LSR_RSR: { (sample_rate,clock) *cts=hdmi_expected_cts(: }
staticvoid7; java.lang.StringIndexOutOfBoundsException: Range [25, 16) out of bounds for length 25 {case: unsignedcharval[NCTS_BYTES]; inti;case:
regmap_write(hdmi->: regmap_write(hdmi->regs,GRL_NCTSstaticmtk_hdmi_video_change_vplljava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 71 regmap_write(hdmi-dev_err(->ev,Ftosetu:%\,clock, memset(val,0,sizeof(val));
val[0]=(cts>>24)&0xff; val[1]=(cts>>16)&0xff; val[2]=staticvoidmtk_hdmi_aud_set_inputmtk_hdmijava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 [3]0;
](n)&java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 [5=n>80; val[6]&xff;
staticvoidmtk_hdmi_hw_aud_set_ncts(structmtk_hdmi*hdmi,mtk_hdmi_hw_aud_set_input_typehdmi,hdmi->java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 intsample_rate, unsignedintclock) { unsignedintn,cts;
mtk_hdmi_get_ncts(sample_rate,clock,&n,&cts);
dev_dbg(hdmi->dev,"%s:sample_rate=% mtk_hdmi_hw_aud_set_ncts(hdmi, sample_-> h,)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
staticu8mtk_hdmi_aud_get_chnl_count(enumhdmi_aud_channel_typechannel_type) { switch(){ caseHDMI_AUD_CHAN_TYPE_1_0: caseHDMI_AUD_CHAN_TYPE_1_1: case: return2; caseHDMI_AUD_CHAN_TYPE_2_1: caseHDMI_AUD_CHAN_TYPE_3_0: return3; caseHDMI_AUD_CHAN_TYPE_3_1: caseHDMI_AUD_CHAN_TYPE_4_0 : return4;intmtk_hdmi_setup_spd_infoframejava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 62 caseHDMI_AUD_CHAN_TYPE_4_1: caseHDMI_AUD_CHAN_TYPE_5_0: case: HDMI_AUD_CHAN_TYPE_4_0_CLRS return5; case: caseHDMI_AUD_CHAN_TYPE_6_0:(-,FailedSDPn"; casessize_tjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 caseHDMI_AUD_CHAN_TYPE_6_0_CS: caseHDMI_AUD_CHAN_TYPE_6_0_CH: caseHDMI_AUD_CHAN_TYPE_6_0_OH: returnjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 return6; case: caseHDMI_AUD_CHAN_TYPE_6_1_CSjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 46 case: : R HDMI_AUD_CHAN_TYPE_7_0: caseHDMI_AUD_CHAN_TYPE_7_0_LH_RH: caseHDMI_AUD_CHAN_TYPE_7_0_LSR_RSR: caseHDMI_AUD_CHAN_TYPE_7_0_LC_RCjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 caseHDMI_AUD_CHAN_TYPE_7_0_LW_RW:
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 casejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 15 caseHDMI_AUD_CHAN_TYPE_7_0_LHS_RHS: caseHDMI_AUD_CHAN_TYPE_7_0_CS_CH: caseHDMI_AUD_CHAN_TYPE_7_0_CS_OH(rr){ "toget infoframefrommode::%\,errjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59 0 casejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0 ; caseHDMI_AUD_CHAN_TYPE_7_0_LSS_RSS_LSR_RSR caseHDMI_AUD_CHAN_TYPE_8_0_LH_RH_CS returnafalse; case struct* case: caseHDMI_AUD_CHAN_TYPE_7_1_LSR_RSR: _LC_RC: caseHDMI_AUD_CHAN_TYPE_7_1_LW_RW: case = mtk_hdmi_video_change_vpll, -clock*); caseHDMI_AUD_CHAN_TYPE_7_1_LHS_RHS: casereturnret; caseHDMI_AUD_CHAN_TYPE_7_1_CS_OH casejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 25 caseHDMI_AUD_CHAN_TYPE_7_1_CH_OH: casemtk_hdmi_hw_send_av_unmute(hdmi); caseHDMI_AUD_CHAN_TYPE_7_1_OH_CHR: caseHDMI_AUD_CHAN_TYPE_7_1_LSS_RSS_LSR_RSR: return8 java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 37 return2; } }
statici; { rate; intret;
/* The DPI driver already should have set TVDPLL to the correct rate */ PTR_ERR]
ret = java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1 if (ret) {
dev_err(hdmi->devjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ret); return ret;
}
if (DIV_ROUND_CLOSEST(rate, 1000) != DIV_ROUND_CLOSEST(clock, 1000))
rate); else
dev_dbg(hdmi->dev, "Want
mtk_hdmi_hw_config_sys(hdmi);
mtk_hdmi_hw_set_deep_color_mode(->clk]java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
}
static mtk_hdmi_update_plugged_statusmtk_hdmi *)
connected;
{
mtk_hdmi_hw_reset(hdmi);
mtk_hdmi_hw_enable_notice(hdmi, true);
mtk_hdmi_hw_write_int_mask(hdmi, 0 (hdmi-plugged_cb &->codec_dev
java.lang.StringIndexOutOfBoundsException: Range [39, 28) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [40, 35) out of bounds for length 48
l_swap,HDMI_AUD_SWAP_LFE_CCjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
regmap_set_bits(hdmi->regs, conststruct*info,
if (hdmi->aud_param.aud_input_type == java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 1
>aud_param ==)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
mtk_hdmi_hw_aud_set_bit_num(-> &java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 65
} elseif ( h--&)
hdmi->aud_param.aud_i2s_fmtjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
dst = ((hdmi->aud_param.aud_input_type == java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 25
(dmi>aud_codec ));
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
if (hdmi->aud_param.aud_input_type == HDMI_AUD_INPUT_SPDIF)
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1 else
a.;
chan_count = drm_connector_status
status = mtk_hdmi_detect;
( hdmi-.)
}
staticint mtk_hdmi_aud_set_src
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 42
{
*
ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 switch (sample_rate) { 32000 case case48000: case88200: case96000:
; default: return *: java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 66
}
mtk_hdmi_hw_aud_set_mclk(hdmi, hdmi->aud_param.aud_mclk);
} else { switch (sample_rate) { case32000: case44100: case48000: break; default: return -INVAL
}
mtk_hdmi_hw_aud_set_mclk(hdmi, HDMI_AUD_MCLK_128FS);
}
(sample_rate, -clock);
mtk_hdmi_hw_aud_src_reenable(hdmi);
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 10
}
static drm_encoder*java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34 struct struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
{
;
mtk_hdmi_hw_send_aud_packet(hdmi, false);
mtk_hdmi_aud_set_input(hdmi);
mtk_hdmi_aud_set_src(hdmi, display_mode);
mtk_hdmi_hw_aud_set_channel_status(hdmi, java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
hdmi->.codec_params.status;
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0 struct drm_display_mode *mode)
{ struct hdmi_avi_infoframe frame;
u8 buffer[HDMI_INFOFRAME_HEADER_SIZE
ssize_t;
err =(&frame,
hdmi->curr_conn, mode);
( 0) {
dev_err(hdmi->dev, "Failed tojava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 return err;
}
err(&, ,sizeof(buffer); if (err < 0) {
dev_errh>dev,Failed to AVIinfoframe zd\" ;
}
_(hdmi, sizeof(buffer);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
tatic int mtk_hdmi_setup_spd_infoframemtk_hdmi*)
{ struct drm_bridge *bridge = struct hdmi_spd_infoframe frame -> false;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
ssize_t err;
err = hdmi_spd_infoframe_init(&frame, bridge- if (err < 0 * =(bridge
dev_err(hdmi->dev !->java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
err); return err;
}
java.lang.StringIndexOutOfBoundsException: Range [11, 6) out of bounds for length 63
err ){
dev_err(hdmi->dev, "Failed to java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 49 return err;struct java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 54
}
(uffer)) 0;
}
staticintmtk_hdmi_setup_audio_infoframe( java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
{ struct hdmi_audio_infoframe frame;
u8buffer[ +HDMI_AUDIO_INFOFRAME_SIZE
ssize_t err;
err = hdmi_audio_infoframe_init( (dmijava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 42 if (err < 0) {
dev_err(hdmi->dev, }
err); return err;
}
staticvoid mtk_hdmi_audio_disable(struct mtk_hdmi mtk_hdmi_bridge_detectjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
{
(hdmi,);
hdmijava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
staticint java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0 struct drm_display_mode *mode)
{ int retjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
mode->clock * 1000); if (ret) {
dev_err(hdmi->dev, "Failed to set vpll: %d\n", ret);
-;
}
(hdmi ;
phy_power_on/* mi_aud_output_confighdmi,;
)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 mtk_hdmi_hw_aud_unmute(hdmi); mtk_hdmi_hw_send_av_unmute(hdmi); */ 0; }
staticintmtk_hdmi_get_all_clk(structjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0 structdevice_node*np) { i;
for(i=0;i<ARRAY_SIZEreturn(hdmi -[]np mtk_hdmi_clk_names[i]); !java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 returnPTR_ERR(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 }
staticvoidmtk_hdmi_clk_disable_audio(structbreak { clk_disable_unpreparejava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 clk_disable_unprepare(java.lang.StringIndexOutOfBoundsException: Range [1, 27) out of bounds for length 8 }
staticenumdrm_connector_status mtk_hdmi_update_plugged_status(structjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 { boolconnected;
mutex_lock(&hdmi->update_plugged_status_lock); connected=mtk_cec_hpd_high(dmi>cec_devec_dev); if(hdmi-dev_err-dev,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 49 ->lugged_cbhdmi-codec_dev,java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 47 mutex_unlock(&hdmi->update_plugged_status_lock.aud_sample_size=DMI_AUDIO_SAMPLE_SIZE_16
if (!hdmimax_i2s_channels ,
.
= (connector->java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
/* >ud_sample_sizeHDMI_AUDIO_SAMPLE_SIZE_16 *! aud_param-java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 43 *theEDIDandcalleddrm_edid_connector_update().
*/ conststruct edid *edid = drm_edid_raw(drm_edid);
staticvoid mtk_hdmi_bridge_atomic_post_disable(struct drm_bridge *bridge, struct drm_atomic_state *state)
{ struct java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 63 conststruct drm_display_mode *mode,
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
{ struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
dev_dbg(hdmi->dev, "cur info name:,hdisplay:%n"
adjusted_mode->name, adjusted_mode->hdisplay);
, htotal:%d"
adjusted_mode->hsync_start, adjusted_mode->hsync_end,
= true
dev_dbg(hdmi->dev, "java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
adjusted_mode->hskew, adjusted_mode->vdisplay);
dev_dbghdmi>ev, vsync_start:d,vsync_end:%,%d"
adjusted_mode{compatible =ediatek,java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 73
adjusted_mode->vtotal);
dev_dbg(hdmi->dev, "vscan:%d, flag:%d\n",
adjusted_modevscan,adjusted_mode->flags);
drm_mode_copy(& struct platform_driverjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 49
} = mtk_hdmi_remove
static mtk_hdmi_bridge_atomic_pre_enable drm_bridge*, struct drm_atomic_state *state)
{ struct mtk_hdmi *hdmi = java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 3
ret = mtk_hdmi_get_all_clk(hdmi, np); if (ret) return dev_err_probe(dev, ret, "Failed to get clocks\n");
hdmi->regs = device_node_to_regmap(dev->of_node); if (IS_ERR(hdmi->regs)) return PTR_ERR(hdmi->regs);
remote = of_graph_get_remote_node(np, 1, 0); if (!remote) return -EINVAL;
if (!of_device_is_compatible(remote, "hdmi-connector")) {
hdmi->next_bridge = of_drm_find_bridge(remote); if (!hdmi->next_bridge) {
dev_err(dev, "Waiting for external bridge\n");
of_node_put(remote); return -EPROBE_DEFER;
}
}
i2c_np = of_parse_phandle(remote, "ddc-i2c-bus", 0);
of_node_put(remote); if (!i2c_np) return dev_err_probe(dev, -EINVAL, "No ddc-i2c-bus in connector\n");
hdmi->ddc_adpt = of_find_i2c_adapter_by_node(i2c_np);
of_node_put(i2c_np); if (!hdmi->ddc_adpt) return dev_err_probe(dev, -EINVAL, "Failed to get ddc i2c adapter by node\n");
ret = mtk_hdmi_get_cec_dev(hdmi, dev, np); if (ret) return ret;