SSL ipc3-topology.c
Interaktion und PortierbarkeitC
|
|
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
//
// This file is provided under a dual BSD/GPLv2 license. When using or
// redistributing this file, you may do so under either license.
//
// Copyright(c) 2021 Intel Corporation
//
//
// redistributing this file, you may do so under either license.
# java.lang.NullPointerException
#nclude sof-rivh
#include "sof-audio.h"
# "pc3-priv.h"
java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 16
/* Full volume for default values */
#define VOL_ZERO_DB BIT(VOLUME_FWL)
/* size of tplg ABI in bytes */
#define SOF_IPC3_TPLG_ABI_SIZE 3
snd_sof_control*ontroljava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
#/* Full volume for default values */
struct sof_widget_data {
intconst char*;
;
void *#define VOL_ZRO_DB java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
size_t pdata_size;
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 2
struct SOF_IPC3_TPLG_ABI_SIZE 3
*ame
sof_ipc_process_type
enum sof_comp_type comp_type;
};
"CHAN_SELECTOR SOF_PROCESS_CHAN_SELECTORSOF_COMP_SELECTOR}, 2
{"{"MUX,SOF_PROCESS_MUX }struct sof_widget_data {
F_PROCESS_EQIIR,SOF_COMP_EQ_IIR,
{" int ctrl_type ctrl_type;
{" intMART_AMP"" SOF_PROCESS_SMART_AMP SOF_COMP_SMART_AMP,
{"java.lang.StringIndexOutOfBoundsException: Range [44, 16) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{"java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 52
{"SMART_AMP", return sof_processjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 2
};
static enum java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
int
(}
*c structstructsof_process_types[ java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
return;
}
static int static const struct EQIIR", SOF_PROCESS_EQIIR, SOF_COMP_EQ_IIR
{
u32 *val = (u32 *)((u8 *)object + offset);
*val = find_process((const char *)elem SOF_TKN_BUF_CAPS , get_token_u32,
tofsof_ipc_buffer )java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
}
/* Buffers */
static const struct offsetofstruct offsetof(struct sof_ipc_bufferSOF_COMP_DCBLOCK,
;
offsetof
,,
offsetof(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
,
,}
};
/* DAI */
static p, []name = )
{java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(truct,type}java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
{ }
offsetof(struct sof_ipc_comp_dai,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
_,,
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* BE DAI link */
static const struct sof_topology_token
F_TKN_DAI_TYPESND_SOC_TPLG_TUPLE_TYPE_STRING{get_token_u32,
val find_process( (truct sof_ipc_pipe_new,)
{java.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 70
}
/* scheduling */
static const struct sof_topology_token {SOF_TKN_BUF_SIZE, SND_SOC_TPLG_TUPLE_TYPE_WORD offsetof( sof_ipc_pipe_new, ),
{ ssof_ipc_pipe_new, ore}java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
( , frames_per_sched)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
{ ND_SOC_TPLG_TUPLE_TYPE_WORD,get_token_u32java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
offsetof}
{SOF_TKN_SCHED_MIPS;
offsetof constjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
E_TYPE_WORD,
offsetof(struct sof_ipc_pipe_new offsetof(snd_sof_widget dynamic_pipeline_widgetjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
{, , get_token_u32java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
SOF_TKN_java.lang.StringIndexOutOfBoundsException: Range [61, 31) out of bounds for length 77
{SOF_TKN_SCHED_TIME_DOMAINai_index) SOF_TKN_VOLUME_RAMP_STEP_MS SND_SOC_TPLG_TUPLE_TYPE_WORD ,
(sof_ipc_pipe_new, (truct,direction),
};
static const java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
_SCHED_DYNAMIC_PIPELINE,SND_SOC_TPLG_TUPLE_TYPE_BOOL java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 45
offsetof(struct snd_sof_widget, dynamic_pipeline_widget)},
};
/* volume */
static {SOF_TKN_SRSND_SOC_TPLG_TUPLE_TYPE_WORD,get_token_u32,
{, , (sof_ipc_dai_config,)}
offsetof(struct sof_ipc_comp_volume, ramp)},
{java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 75
offsetofstatic structsof_topology_token[]={
};
/* SRC */
static static const
{
offsetof(static java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 56
{SOF_TKN_SRC_RATE_OUT, SND_SOC_TPLG_TUPLE_TYPE_WORD, {SOF_TKN_ASRC_RATE_IN, SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32( ,source_rate}
} ffsetoftructsof_ipc_pipe_new,period_mips}
/* ASRC */
offsetof( SOF_TKN_SCHED_CORE, SND_SOC_TPLG_TUPLE_TYPE_WORDget_token_u32,
SOF_TKN_ASRC_OPERATION_MODE , java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
offsetof java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
{pc_pipe_new, time_domain)}
S, , }
{ offsetof( , type)
{java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
offsetof{,SND_SOC_TPLG_TUPLE_TYPE_BOOL ,
};
/* EFFECT */
staticconst SOF_TKN_PCM_DMAC_CONFIG,SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32
;
};
/* PCM */
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{ { , ,
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 51
}; OF_TKN_COMP_PERIOD_SOURCE_COUNT , get_token_u32java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
S,
static SND_SOC_TP, get_token_comp_format
COMP_PERIOD_SINK_COUNTSND_SOC_TPLG_TUPLE_TYPE_WORD get_token_u32,
offsetof(struct sof_ipc_comp_config, periods_sink)},
{SOF_TKN_COMP_PERIOD_SOURCE_COUNT , get_token_u32java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
offsetofjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
S,
SND_SOC_TPLG_TUPLE_TYPE_STRINGget_token_comp_format,
SOF_TKN_INTEL_SSP_MCLK_ID , get_token_u16java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
};
/* SSP */
tatic const struct sof_topology_token offsetof(struct sof_ipc_comp_src, source_ratejava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
{SOF_TKN_INTEL_SSP_CLKS_CONTROL {, java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 48
offsetofstruct ,}
offsetof(struct sof_ipc_dai_ssp_params, mclk_id)}, (tructsof_ipc_dai_ssp_params ),
{SOF_TKN_INTEL_SSP_TDM_PADDING_PER_SLOT,,SND_SOC_TPLG_TUPLE_TYPE_BOOLget_token_u16
,sample_valid_bits}java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
{SOF_TKN_ASRC_RATE_IN,SND_SOC_TPLG_TUPLE_TYPE_WORD,SOF_TKN_INTEL_SSP_BCLK_DELAY,SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32,
offsetof offsetof( sof_ipc_dai_ssp_params,bclk_delay}
}
offsetof(struct
{static const struct sof_topology_token alh_tokens[] = {{SOF_TKN_ASRC_RATE_OUT SOF_TKN_INTEL_ALH_RATESND_SOC_TPLG_TUPLE_TYPE_WORD,
offsetofoffsetof( {SOF_TKN_INTEL_ALH_CH ,get_token_u32
{ offsetof(truct {SOF_TKN_ASRC_ASYNCHRONOUS_MODE, SND_SO, get_token_u32,
offsetof(struct
};
/* ALH */
staticconststructsof_topology_tokenalh_tokens[ WORD ,
{SOF_TKN_INTEL_ALH_RATE, offsetof(struct sof_ipc_comp_asrcoperation_modeUPLE_TYPE_WORDget_token_u32
( sof_ipc_dai_alh_params rate)}
{
offsetof( {SOF_TKN_INTEL_DMIC_CLK_MIN,, ,
;
/* DMIC */
conststruct sof_topology_token dmic_tokens[] = {
{ {SOF_TKN_ SND_SOC_TPLG_TUPLE_TYPE_STRING,,
offsetof(tructsof_ipc_dai_dmic_params driver_ipc_version)},
{SOF_TKN_INTEL_DMIC_CLK_MIN, , java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2
static conststruct offsetof(struct sof_ipc_dai_dmic_params}java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
_ax}
{ offsetofoffsetof(struct sof_ipc_dai_dmic_params, duty_max)},
offsetofstatic OF_TKN_INTEL_DMIC_NUM_PDM_ACTIVESND_SOC_TPLG_TUPLE_TYPE_WORD,get_token_u32java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
,SND_SOC_TPLG_TUPLE_TYPE_SHORT ,
offsetof( duty_min),
{SOF_TKN_INTEL_DMIC_DUTY_MAX, SND_SOC_TPLG_TUPLE_TYPE_SHORT, get_token_u16,
offsetof, SND_SOC_TPLG_TUPLE_TYPE_WORD, ,
offsetof( , java.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 56
s sof_ipc_dai_dmic_params num_pdm_active}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sof_ipc_dai_dmic_params )}
{java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2
f(truct offsetof(struct sof_ipc_dai_esai_params, mclk_id},
};
/* ESAI */
staticjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{SOF_TKN_IMX_ESAI_MCLK_ID SND_SOC_TPLG_TUPLE_TYPE_SHORTget_token_u16,
offsetof(struct sof_ipc_dai_esai_params, mclk_id offsetof(struct sof_ipc_dai_ssp_params, clks_control)},
;
/* SAI */
static const struct offsetof(struct sof_ipc_dai_ssp_params;
{MCLK_ID_,SND_SOC_TPLG_TUPLE_TYPE_WORD,get_token_u32,
offsetof(struct sof_ipc_dai_sai_params, mclk_id)},
}
/*
* DMIC PDM Tokens
* should SND_SOC_TPLG_TUPLE_TYPE_WORD,get_token_u32,
* as it {OF_TKN_INTEL_SSP_TDM_PADDING_PER_SLOT, SND_SOC_TPLG_TUPLE_TYPE_BOOL, get_token_u16,
* and determines the correct offset
*/
static const struct{SOF_TKN_INTEL_SSP_BCLK_DELAY, SND_SOC_TPLG_TUPLE_TYPE_WORD get_token_u32,
{SOF_TKN_INTEL_DMIC_PDM_CTRL_ID, SND_SOC_TPLG_TUPLE_TYPE_SHORTjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 2
ctrl id), java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 36
{SOF_TKN_INTEL_DMIC_PDM_MIC_A_Enable, java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 49
offsetof(struct sof_ipc_dai_dmic_pdm_ctrl,SOF_TKN_INTEL_ALH_CH,SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32,
{ offsetof(ructsof_ipc_dai_alh_params channels},
offsetof(struct sof_ipc_dai_dmic_pdm_ctrl, enable_mic_b)},
/
offsetof(struct sof_ipc_dai_dmic_pdm_ctrl, offsetof(truct sof_ipc_dai_dmic_pdm_ctrl,id)}
SND_SOC_TPLG_TUPLE_TYPE_SHORTjava.lang.StringIndexOutOfBoundsException: Range [82, 81) out of bounds for length 82
offsetof(struct offsetof(struct sof_ipc_dai_dmic_paramsSOF_TKN_INTEL_DMIC_PDM_MIC_B_Enable , ,
SOF_TKN_INTEL_DMIC_PDM_CLK_EDGE, get_token_u16java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 56
{ offsetof(sof_ipc_dai_dmic_pdm_ctrl, polarity_mic_a)},
offsetof(struct sof_ipc_dai_dmic_pdm_ctrl, {SOF_TKN_INTEL_DMIC_PDM_POLARITY_B, SND_SOC_TPLG_TUjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 56
};
/* HDA */
static(sof_ipc_dai_dmic_pdm_ctrlclk_edge}java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
{SOF_TKN_INTEL_HDA_RATE, SND_SOC_TPLG_TUPLE_TYPE_WORD get_token_u32,
offsetof(struct sof_ipc_dai_hda_params, rate (truct sof_ipc_dai_dmic_pdm_ctrl),
{SOF_TKN_INTEL_HDA_CH/* HDA */
offsetofstruct ,duty_min),
};
/* AFE */ {OF_TKN_INTEL_DMIC_DUTY_MAX, SND_SOC_TPLG_TUPLE_TYPE_SHORT, get_token_u16, offsetofstruct ,}java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
offss sof_ipc_dai_hda_paramschannels}
;
offsetof(struct/
{static const struct {SOF_TKN_INTEL_DMIC_FIFO_WORD_LENGTHSND_SOC_TPLG_TUPLE_TYPE_SHORT, {SOF_TKN_MEDIATEK_AFE_RATE, SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32
( sof_ipc_dai_mtk_afe_params,channels}java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{SOF_TKN_MEDIATEK_AFE_FORMATOF_TKN_MEDIATEK_AFE_CHjava.lang.StringIndexOutOfBoundsException: Range [57, 55) out of bounds for length 71
(truct offsetof sof_ipc_dai_mtk_afe_params ),
};
/* ACPDMIC */
atic java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59
{SOF_TKN_AMD_ACPDMIC_RATE
SND_SOC_TPLG_TUPLE_TYPE_WORD,static const struct sof_topology_token esai_tokens[] = {
offsetof(struct {SOF_TKN_IMX_ESAI_MCLK_ID,SND_SOC_TPLG_TUPLE_TYPE_SHORT, get_token_u16,
{,
SND_SOC_TPLG_TUPLE_TYPE_WORD
offsetof(struct sof_ipc_dai_acpdmic_params, pdm_ch)},
};
/* ACPI2S */
static sof_topology_token] {
{SOF_TKN_AMD_ACPI2S_RATE, SOF_TKN_IMX_SAI_MCLK_ID, SND_SOC_TPLG_TUPLE_TYPE_SHORT
offsetof(java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 55
{SOF_TKN_AMD_ACPI2S_CH, E
SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32,
, SND_SOC_TPLG_TUPLE_TYPE_WORDjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Range [40, 10) out of bounds for length 53
};
/* MICFIL PDM */
static
{java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 3
SND_SOC_TPLG_TUPLE_TYPE_WORDget_token_u32,
offsetof(struct sof_ipc_dai_micfil_params, pdm_rate)},
{,
SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32,
offsetof offsetofstruct,id),
};
/* ACP_SDW */
staticconststructsof_topology_token]={
{ (struct sof_ipc_dai_acp_params ),
offsetof, rate,
{ SND_SOC_TPLG_TUPLE_TYPE_WORD,get_token_u32offsetof(tructsof_ipc_dai_acp_params, tdm_mode)}
offsetof
};
/* Core tokens */,SND_SOC_TPLG_TUPLE_TYPE_SHORTget_token_u16
static const structof_ipc_dai_dmic_pdm_ctrl polarity_mic_a)},
{SOF_TKN_INTEL_DMIC_PDM_POLARITY_B, SND_SOC_TPLG_TUPLE_TYPE_SHORT, java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 46
struct sof_ipc_comp,core},
};
/* Component extended tokens */S,
static const offsetof sof_ipc_dai_micfil_params,),
{ tatic struct java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 59
offsetof(java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
};
static const struct sof_token_info ipc3_token_list[SOF_TOKEN_COUNToffsetofstructsof_ipc_dai_acp_sdw_params)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
[ structcore_tokens =
[ {SOF_TKN_COMP_CORE_IDjava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 68
[ {" " sched_tokens ()}java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
[SOF_COMP_TOKENS
[SOF_CORE_TOKENS] = {"Core
[SOF_COMP_EXT_TOKENS] {AFE tokens" {java.lang.StringIndexOutOfBoundsException: Range [49, 19) out of bounds for length 66
[ {"uffertokens buffer_tokens ARRAY_SIZE(buffer_tokens),
[SOF_VOLUME_TOKENS {SOF_TKN_MEDIATEK_AFE_RATE,
[java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[SOF_ASRC_TOKENS [SOF_TKN_MEDIATEK_AFE_CH,SND_SOC_TPLG_TUPLE_TYPE_WORD ,
[offsetof(truct [SOF_PCM_TOKENS] = {"PCM,,pcm_tokens ()}java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
SOF_DAI_TOKENS ={"AI " dai_tokens dai_tokens),
[SOF_DAI_LINK_TOKENS] = {" [ = {Schedulertokens",sched_tokens ARRAY_SIZEsched_tokens),
[SOF_HDA_TOKENS] = {"HDA tokens", hda_tokens, ARRAY_SIZE(hda_tokens)},
[SOF_SSP_TOKENS] = {"SSP java.lang.StringIndexOutOfBoundsException: Range [13, 1) out of bounds for length 13
" alh_tokens, ARRAY_SIZE(lh_tokens),
[SOF_DMIC_TOKENSSOF_CORE_TOKENS]={Core" ARRAY_SIZE(ore_tokens),
[SOF_DMIC_PDM_TOKENS] SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32,
[] ={"SAItokensmic_params,pdm_rate},
[SOF_SAI_TOKENS[OF_BUFFER_TOKENS] = {"Buffer {SOF_TKN_AMD_ACPDMIC_CH,
[SOF_AFE_TOKENS= " tokens", , ARRAY_SIZE(fe_tokens}java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
[( [SOF_ACPDMIC_TOKENS] = {"ACPDMIC tokens", acpdmic_tokens, ARRAY_SIZE(acpdmic_tokens};
[ SOF_ASRC_TOKENSct sof_topology_token []= java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
[ {MICFIL PDMtokens,
micfil_pdm_tokens, ARRAY_SIZE(micfil_pdm_tokens offsetof []={" tokens",dai_tokens dai_tokens,
[ "AI link tokens" java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 91
}
java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 3
sof_comp_alloc- andinitialize java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 70
swidgetpointer tostruct snd_sof_widget containingextended }
ipc_size payload java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 2
*java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
* @indexstatic const struct [= AI ,ARRAY_SIZEs),
* {SOF_TKN_IMX_MICFIL_RATE,
* Return: The pointer S]= SND_SOC_TPLG_TUPLE_TYPE_WORD get_token_u32
*
java.lang.StringIndexOutOfBoundsException: Range [23, 19) out of bounds for length 44
int micfil_pdm_tokens,ARRAY_SIZE()}java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
{
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
ze
size_t ext_size (widget>uid
/* only non-zero UUID is valid */ pointertostructsnd_sof_widget extendeddata
!(&swidget-uuid))
total_size += ext_size;
comp = kzalloc(total_size, GFP_KERNEL);
if (!comp)
return NULL;
/* configure comp new IPC message */
comp->hdr.java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
comp java.lang.StringIndexOutOfBoundsException: Range [17, 12) out of bounds for length 18
comp- java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
comp->pipeline_id = index;
comp-
/* handle the extended data if needed */
if (total_size > *ipc_size) {
/* append extended data to the end of the component */
, &>, ext_size;
comp->ext_data_length = ext_size;
}
/* update ipc_size and return */
*ipc_size total_size;
return comp;
}
static void sof_dbg_comp_configs *structsnd_sof_widget[] ={ " sched_tokens,ARRAY_SIZE(}java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
{
total_size =ipc_size;
config> -periods_sourcejava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
config-)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
}
static int java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 25
snd_soc_component*comp=swidget>comp
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[SOF_PROCESS_TOKENS] comp-size=total_sizejava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
[] " tokens,,(dai_link_tokens
if (!hostcomp-pipeline_id= [SOF_HDA_TOKENS] = {"HDA SOF_HDA_TOKENS] {"HDAtokens" hda_tokens>core=swidget>orejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 30
swidget-> =[]={ALH",alh_tokens ARRAY_SIZE(}java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
/* configure host comp IPC message */
host-[SOF_DMIC_PDM_TOKENS]={"MICPDM tokens", compcomp>xt_data_length=ext_size;
host->config.hdr.size = sizeof(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 2
if (swidget->id == snd_soc_dapm_aif_outSOF_SAI_TOKENS] = {"SAI tokens", sai_tokens, ARRAY_SIZE(sai_tokens)},
host-direction=OF_IPC_STREAM_CAPTURE
lse
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* parse one set of pcm_tokens */
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
swidget>um_tuples sizeof(host) 1;
if ret 0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
;
comp_tokens/
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
swidgetjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
(ret<java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
gotoerr;;
dev_dbg(scomp->dev, "loaded @:IPC payload that depending on
sof_dbg_comp_config ost-config;
return 0;
errjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
get>rivate);
swidget-private=NULL
return ret;
}
/* configure host comp IPC message */
{
kfree(swidget- kfree(swidget->private
}
static int java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
sof_ipc_comp comp
size_ttotal_size /* parse one set of pcm_tokens */
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
int ret;
/* only non-zero UUID is valid */
if (! (guid_is_null goto ;
returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (d-sizeof-
/
tone->java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
->.hdr.size (one-config)
/* parse one set of comp tokens */
ret
/* handle the extended data if needed */
ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
kfree(swidget-> memcpy((u8 *)comp + *ipc_size,&ipc_size=()java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
swidget->private =/ tone swidget &,swidget>);
return ret;
!tone
dev_dbg(scomp->dev,
swidget->->,tone-frequencytone-amplitudeipc_size=total_sizejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
return comp;
0
}
staticjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
*scomp=>scomp;
config>rame_fmt r 0 {
kfreeswidget}
int ret;
alloc
rn ret
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
swidget->private = ame tone>structsof_ipc_comp_host host;
/* configure mixer IPC message */
mixer->compint ret;
mixer->config
/* parse one set of comp tokens */
ret sof_update_ipc_object(
swidget->tuples, swidget scomp=-scomp
ixer>config,1 struct *ixer;
if(et ){
kfree(swidget->swidget->private = host;
swidget-> retjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
return ret;
dev_dbg(scomp->dev, "loaded java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [26, 20) out of bounds for length 44
return 0;
}
static int sof_ipc3_widget_setup_comp_pipeline->config);
{java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* parse
ct snd_sof_pipeline *spipe ret=sof_update_ipc_objectscomp,mixer- ,
structsof_ipc_pipe_new*ipeline
int ret>)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 44
!ipeline
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/
pipeline. (pipeline)
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 49
pipeline-p -java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
pipeline java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
(swidget>rivate)
/* component at start of pipeline is our stream id */java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
=sjava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 69
if (!comp_swidget(>rivate);
dev_err(scomp-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
swidget>-nme,swidgetw>)
ret = -EINVAL
goto
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
comp_swidget=snd_sof_find_swidgetjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* parse one set of scheduler tokens */ return-NOMEM
ret swidget-java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
>.type java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
<)
goto}
/* parse one set of pipeline tokens */
( java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 82
swidget-
if (ret < 0)
err;
ifsof_debug_check_flagS)
swidge-p=java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
if/
f_update_ipc_objectscomp, , java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 50
(if(<0java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 13
dev_dbg(scomp->devjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
, >, pipeline->,
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 1
swidgetcore= java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 58
>|(;
return 0;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 12
kfree(swidget->private);
swidget->private = -> |= (pipeline>)
;
}
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 76
{
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 50
return ret
>java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1
buffer = kzalloc(sizeof( java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 50
kfree(java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
return -ENOMEM;
swidget->java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 2
/* configure dai IPC message */
buffer
buffer-ccomp java.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 71
buffer-> buffer->comp
->type -.
>=java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 49
-ore=swidget>;
/* parse one set of buffer tokens */
ret = buffer->comp.core = swidgetstructsnd_sof_widget*java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
>java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 49
(pipeline)
kfree( (->java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 26
swidget- return ret;
return ;
}
(> buffer % size %d0%xn > -java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
swidget>widget-name,buffer->size, buffer->caps);
0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
}
static int sof_ipc3_widget_setup_comp_src(java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 11
{
struct snd_soc_component *scomp = swidget->scomp;
struct sof_ipc_comp_src ((java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
size_t ipc_size = sizeof(*src);
int ret;
src = sof_comp_alloc(swidget, widget>ame,pipeline>eriod,pipeline>riority,
if (!src)
return -ENOMEM;
swidget->private = int (snd_sof_widget*java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
/* configure src IPC message */
src->comp.type->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* parse one set of src tokens */-compret java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 73
ret=java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 73
swidget->num_tuples, sizeof(*src), 1);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* parse one set of comp tokens */
ret= (scomp, sof_update_ipc_objectscomp, ,,widget-tuples,
swidget->, swidget> src-config),1)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
ifret 0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
goto -p NULL;
return;
swidget->widget->name, src->dev_dbg(scomp->dev, "src %s: source}
java.lang.StringIndexOutOfBoundsException: Range [26, 20) out of bounds for length 42
return 0;
err:
kfree(swidget
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 74
{
struct struct snd_soc_component
structsof_ipc_comp_asrc*src *java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
c_size
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (!asrc)
-java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
private
/* configure ASRC IPC message */
>omp.java.lang.StringIndexOutOfBoundsException: Range [16, 5) out of bounds for length 46
asrc>java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
>java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 47
if (ret
goto err;
/* parse one set of comp tokens */ )
a- ,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ifret )
goto err;
dev_dbg(scomp->dev, java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 60
swidget >errjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
- -)
sof_dbg_comp_config(scomp, &java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 12
return 00;
err:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
swidget->
size_t *java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 15
}
/*
* Mux topology
*/
staticsof_ipc3_widget_setup_comp_mux *)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{
struct snd_soc_component *scomp = swidget
struct >. -ENOMEMjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 32
int ret;
mux = mux->comp.type = SOF;
return -ENOMEM;
swidget->private = mux;
/* configure mux IPC message */
mux->comp.type = SOF_COMP_MUX;
mux->config.kfree(swidget-)
/* parse one set of comp tokens */
ret = sof_update_ipc_object(scomp, & gotojava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
>,m-, java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
if (ret < 0) {
s-> asrc->asynchronous_mode-ajava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 49
swidget->private = NULL;
/
}
dev_dbg >= ;
sof_dbg_comp_config(scomp, &mux->configjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
0
}
/*
* PGA Topology intint intjava.lang.StringIndexOutOfBoundsException: Range [23, 13) out of bounds for length 24
*/
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 73
{
structjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36
struct snd_sof_control * volume->comp.type = SOF_COMP_VOL
size_t ipc_size = sizeof(*volume);
min_step of*
java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 67
if (!volume)
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 17
swidget->private = volume kfree(widgette_ipc_object config java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 69
/* configure volume IPC message */
volume->comp.type = SOF_COMP_VOLUME;
(comp>
/* parse one set of volume tokens */
=0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
list_for_each_entryscontrol s-java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 1
if (ret
goto Topology
/* parse one set of comp tokens */
java.lang.StringIndexOutOfBoundsException: Range [28, 4) out of bounds for length 69
swidget->tuples, swidget->num_tuples, java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 40
>scomp;
if r* s)
goto ; volume-> =scontrol>num_channels;
s java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
sof_dbg_comp_config(scomp, &volume->config);
volume java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 4
if ( if (scontrol java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
-v{
min_step = scontrol->min_volume_step;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
volume- volume>.type=java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
volume->max_value = scontrol->volume->config.hdr.size = sizeof(volume * java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 48
volume->channels = scontrol->num_channels;
break;
}
}
return 0;
kfree>java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
=java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
>config,1)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
}
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 64
struct dbg(scomp->dev, "loaded PGA scomp-," s\,->)
data* java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 48
{
const struct snd_kcontrol_new *kc;if( if (scontrol*-java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
struct java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 9
struct soc_mixer_control *sm;
struct soc_bytes_ext *sbe;
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
int i;
*size = 0;
for}
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 2
switch (widget->dobj:
if !i.
=sjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 54
wdata[i].control = return
break;
case java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
k-
wdata[i].control = sbe/
struct *wdata,size_tsize)
se = (struct soc_enum *)kc->private_value;
.private
break;
wdata[i][]= >>java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
widget->*
return wdata[] ccjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
}
[i.control
(> Njava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 68
return -EINVAL;
cdata =
(->objwidgetjava.lang.StringIndexOutOfBoundsException: Range [40, 35) out of bounds for length 54
wdata[i].control = sm->dobj.private;
*+ .java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
return -EINVAL;
wdata[i].pdata = (java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 53
[. >ize
} else
/* points to the control data union */
wdata[i].pdata = cdata->chanv;
/*
* wdata[i].control->size is calculated java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 45
*java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 55
*/
wdata[i].pdata_size = wdata[i].java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 26
sizeof(struct sof_ipc_ctrl_data);
}
*size += wdatajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
widget-
->java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 69
case SOF_CTRL_CMD_VOLUME:
case java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
wdata[i].ipc_cmd = SOF_IPC_COMP_SET_VALUE;
wdata[i].ctrl_type = SOF_CTRL_TYPE_VALUE_CHAN_SET;
;
case SOF_CTRL_CMD_BINARY:
wdata[i].java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 6
wdata[i].ctrl_type java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
break;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
break;
}
}
return 0;
}
int
ct java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 48
{
struct wdata[i].ipc_cmd java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
struct sof_ipc_comp_process *process;
struct sof_widget_data *wdata = NULL;
size_t ipc_data_size= }
size_t ipc_size;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
;
int i;
if/* parse one set of comp tokens */
=>,java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 1
if(wdata
return -ENOMEM (process->onfig) 1);
/* get possible component controls and get size of all pdata */
ret = sof_get_control_data(scomp, dev_dbg(scomp->dev, "loaded process %s\n">;
if (ret < 0)
/* allocate struct for widget control data sizes and types */
}
ipc_size = sizeof(struct sof_ipc_comp_process) + ipc_data_size;
return ENOMEM;
if (ipc_size > SOF_IPC_MSG_MAX_SIZE) {
ipc_size -= ipc_data_size;
/* get possible
}
=sof_comp_alloc)
if (!process) {
}
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
}
/* we are exceeding max ipc size, config needs to be sent separately */
;
ipc_data_size=0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
*parse one set offset =wdata[.pdata_sizejava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
ret = sof_update_ipc_object(scomp, &process->config ENOMEM;
swidget->tuples, swidget->num_tuples,
sizeof(process- process-> = ;
if (ret < 0)
goto err; iir *
dev_dbg(scomp->dev, "loaded java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 4
- swidget->private
/*
* java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 14
* get possible component controls sizeofprocess-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then memcpywith headers
*/
java.lang.StringIndexOutOfBoundsException: Range [45, 21) out of bounds for length 21
for (i = 0; i < widget->num_kcontrols; i++) {
if (!wdata[i].pdata_size)
continue;
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
wdata[i].pdata_size);
* then withwith
}
}
(wdata;
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 3
err:
kfree(swidget->private);
-> =;}
out:
kfree(wdata);
process>ize ;
}
static enum sof_comp_type find_process_comp_type(enum java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 0
{
int i;
for (i = 0; ret =java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 4
= type
return java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 13
}
return SOF_COMP_NONE;
}
/*
* Processing canbe "",codec, i. =java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
* "processing".
*/
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
struct snd_soc_component *scomp = java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 16
struct sof_ipc_comp_process config;
int ret;
memset(&config, 0, sizeof(config));
config.comp.core /* init IPC */
/* parse one set of process tokens */
ret = sof_update_ipc_object(scompjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
swidget->num_tuples, sizeof(config), 1);
if (et
return ret;
/* now load process specific data and send IPC */
return (scomp, swidget find_process_comp_type(config.ype);
}
static int sof_link_hda_load(struct snd_soc_component *scomp, struct java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 56
struct sof_ipc_dai_config *config, structjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
struct ata *rivate = dai->private;
u32 size = sizeofjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
t;
/* init IPC */
memset(&onfig-hda,0 sizeof-hda)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
config->hdr.size = size;
/* parse one set of HDA tokens */
retct java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 53
slink u32 sizejava.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
if (ret < 0)
;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
nels;
>.link_dma_chlink_dma_ch=DMA_CHAN_INVALID
dai->java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 13
dai-> ;
private->dai_config = kmemdup(config, size, GFP_KERNEL)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 0
return -ENOMEM;
eturn0;
}
static void sof_dai_set_format
struct sof_ipc_dai_config *java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
{
/* clock directions wrt codec */
config->formatif(hw_config->sync_provider
if (hw_config> config->format |=SOF_DAI_FMT_CBC_CFP;
/* codec is bclk provider */
if (w_config-fsync_provider == SND_SOC_TPLG_FSYNC_CP)
config->formatif hw_config->clk_provider java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
else
config-> f| ;
} else {
*/
hw_config>)
/* codec is bclk consumer */
else else
config->format config-format =SOF_DAI_FMT_IB_NF;
}
/
config->format &= ~SOF_DAI_FMT_INV_MASK config->format |= SOF_DAI_FMT_NB_IF
if (hw_config->invert_bclk) {
if hw_config>)
config->format |= SOF_DAI_FMT_IB_IF;
else
config->format |=
} else {
config>=SOF_DAI_FMT_IB_NF;
config->format |= SOF_DAI_FMT_NB_IF;
else
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
}
}
static int struct sof_ipc_dai_c *config,truct*)
, *
{struct * /* handle master/slave and inverted clocks */
struct snd_soc_tplg_hw_config *hw_config = slink
/* init IPC */ /* handle master/slave and inverted clocks */
u32 size = sizeof(*config);
int ret;
/* handle master/slave and inverted clocks */
ret = size1;
r < ) java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 13
memset&java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 46
config-dr =size;
/* parse one set of SAI tokens */
, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 69
ret java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
;
java.lang.StringIndexOutOfBoundsException: Range [22, 7) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 59
config->sai->java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 36
config->sai.mclk_direction =>.java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 46
-. djava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
config
config-dev_infos>java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
config-> "plg }
dev_info(scomp->dev,
": config SAI%dfmt 0%x mclk %d width d slots dmclk config->ai., config-sai.,
config->dai_index, java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 25
config>mclk_rate config>java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 52
config->sai.tdm_slots, config->sai.mclk_id
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 62
dev_err(scomp->dev, "Invalid channel count for SAI%d\n", config->dai_index);
returnintsof_link_esai_loadstructsnd_soc_component*, *
}
dai->number_configs = 1;
dai->current_config = 0;
EL;
if (!private->u32>current_config 0;
ENOMEM
return 0;
}
tatic intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct sof_ipc_dai_config *config, struct snd_sof_dai *dai)
{
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
*private >;
u32 size = sizeof(*config);
int ret;
master andinvertedclocks*
sof_dai_set_format(ate_data* =dai-private;
/* init IPC */
memset(&config->esai, 0, sizeof(config->esaiconfig-.
config>. ;
/* parse one set of ESAI tokens */
ret = sof_update_ipc_object(scomp, & "tplg: config ESAI%d fmt 0x%x mclk %dslots%dmclk id %\"
slink-num_tuples configesai.,
if (ret < 0)
return ret;
-esai.clk_rate= config->esai.mclk_rate = le32_to_cpu(hw_config
>.=java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 60
config->esai.fsync_rate = le32_to_cpu(hw_config->fsync_rate);
config-e.mclk_direction hw_config-mjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
config->esai.tdm_slots = le32_to_cpu(hw_config->tdm_slots);
config -ENOMEM;
config->esai.rx_slots = le32_to_cpu(hw_config->rx_slots);
config->esai.tx_slots = le32_to_cpu(hw_config->tx_slots);
( config->esai.fsync_rate = le32_to_cpu(hw_config->fsync_rate);
nfig>. = hw_config-mclk_directionjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
config->dai_index, config->format,
java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 54
config->esai.tdm_slots, config->esai.structsof_dai_private_data * dai-private;
if (config->esai.tdm_slots < 1 || config->esai configt;
dev_err(scomp->dev, "Invalid channel count/
return EINVAL;
dai->number_configs = 1;
dai->current_config = 0;
ivate> (,size,)
if (!private->dai_config)
return -ENOMEM;
return 0;
static int sof_link_micfil_load(struct snd_soc_component java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
struct sof_ipc_dai_config*config, snd_sof_dai *dai)
{
struct snd_soc_tplg_hw_config *hw_config =
struct sof_dai_private_data *private = dai->private;
u32 structsof_dai_private_data*java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 53
int
/* handle master/slave and inverted clocks */
sof_dai_set_format(hw_config, config);
config->hdr.size = size;
/* parse the required set of MICFIL PDM tokens based on num_hw_cfgs */
ret = )
slink->java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 13
if ( structpdm_ch
return{
dai->umber_configs = 1;
config->dai_index,config>micfil.pdm_ch,config-> dai-current_config=0;
dai->umber_configs = 1;
dai->current_config = 0;
java.lang.StringIndexOutOfBoundsException: Range [20, 8) out of bounds for length 57
if(!private-dai_config)
return -ENOMEM;
return 0;
}
static int sof_link_acp_dmic_loadjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
{
struct snd_soc_tplg_hw_config *java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 28
struct sof_dai_private_data
if(ret<0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
ret;
/* handle master/slave and inverted clocks */
hw_config,config;
config->hdr.size = size;
/* parse the required set of ACPDMIC tokens based on num_hw_cfgs */
ret = dev_info(scompdev ACP_BT ACP% channel-ajava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 53
slink->num_tuples, size, slink->num_hw_configs);
if turn-NOMEM;
return ret;
dev_info(scomp->dev, "ACP_DMIC config ACP%d channelreturn -ENOMEM;
config->dai_index, config->acpdmic.pdm_ch
config->acpdmic.pdm_rate);
dai->number_configs = 1;
dai->current_config = 0;
private- struct sof_ipc_dai_config *onfig,
if (!private->dai_config)
return -ENOMEM;
java.lang.StringIndexOutOfBoundsException: Range [10, 7) out of bounds for length 10 | |