Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

sound/soc/generic/audio-graph-card.c _graph_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret s32min-0
PARAM_VALUE 2 fmt 6716722283862540288
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 2 fmt 9
BUF_SIZE 3 $ 16-18,20-23
BUF_SIZE 3 $ 16-18,20-23
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
FUZZY_MAX 1 ret 0
STR_LEN 0 dev 8
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

sound/soc/soc-dai.c _soc_dai_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 0 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 fmt 8195684248661860352
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 2 fmt 15
BUF_SIZE 3 $ 16,20,22-23,25-29,31
BUF_SIZE 3 $ 16,20,22-23,25-29,31
BUF_SIZE 4 $ 24
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 14
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-component.c _soc_component_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 0 dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 fmt 8195684248661860352
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 2 fmt 15
BUF_SIZE 3 $ 22-24,26-35,37,39
BUF_SIZE 3 $ 22-24,26-35,37,39
BUF_SIZE 4 $ s32min,(-10),1-s32max
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 14
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-component.c _soc_component_ret_reg_rw() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 2 fmt 7469390110194667520
PARAM_VALUE 3 $ 88480578603487232,744632182267678720,7227293583652192256,8961118122837188608,9157716746224189440
BUF_SIZE 2 fmt 38
BUF_SIZE 3 $ 27-28,30,36-37
BUF_SIZE 3 $ 27-28,30,36-37
BUF_SIZE 4 $ s32min,(-10),1-s32max
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
DATA_SOURCE 5 $ $3
STR_LEN 0 dev 37
TERMINATED 2 fmt 1
UNITS 0 dev unit_byte
HALF_LOCKED2 &component->io_mutex

sound/soc/soc-card.c _soc_card_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 2 fmt 8195684248661860352
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 2 fmt 15
BUF_SIZE 3 $ 19-20,22,24-28,33
BUF_SIZE 3 $ 19-20,22,24-28,33
BUF_SIZE 4 $ (-1),11
BUF_SIZE 4 $ (-1),11
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 14
STR_LEN 1 ret (-1),10
STR_LEN 4 $ (-1),10
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c _soc_pcm_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret s32min-0
PARAM_VALUE 2 fmt 8195684248661860352
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 2 fmt 15
BUF_SIZE 3 $ 15,20,22,24-25
BUF_SIZE 3 $ 15,20,22,24-25
BUF_SIZE 4 $ 1-s32max
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 14
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/soc-pcm.c dpcm_be_connect() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 8621982494888480768
BUF_SIZE 2 fmt 61
BUF_SIZE 3 $ 16
BUF_SIZE 4 $ 1-s32max
BUF_SIZE 5 $ 1-s32max
STR_LEN 0 dev 60
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_dai_trigger_fe_be() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret s32min-0
PARAM_VALUE 2 fmt 6424118309571117056
PARAM_VALUE 3 $ 0-6
BUF_SIZE 2 fmt 27
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 26
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex

sound/soc/soc-pcm.c dpcm_path_get() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 3596202102075973632
BUF_SIZE 2 fmt 34
BUF_SIZE 3 $ 14
STR_LEN 0 dev 33
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fe->card->mutex
HALF_LOCKED2 _T->lock

sound/soc/soc-pcm.c dpcm_state_read_file() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 3596202102075973632
BUF_SIZE 2 fmt 34
BUF_SIZE 3 $ 21
STR_LEN 0 dev 33
TERMINATED 2 fmt 1

sound/soc/soc-pcm.c snd_soc_dpcm_runtime_update() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret s32min-0
PARAM_VALUE 2 fmt 1968209421790162944
BUF_SIZE 2 fmt 13
BUF_SIZE 3 $ 28
STR_LEN 0 dev 12
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

sound/soc/soc-pcm.c soc_create_pcm() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-12),(-6)
PARAM_VALUE 2 fmt 6675937504623480832
PARAM_VALUE 3 $ 5777288500507324416
BUF_SIZE 2 fmt 36
BUF_SIZE 3 $ 64
BUF_SIZE 4 $ 1-s32max
STR_LEN 0 dev 35
STR_LEN 1 ret 63
STR_LEN 3 $ 63
BIT_INFO 1 ret 0x0,0x0
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/soc-pcm.c soc_dpcm_fe_runtime_update() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 3596202102075973632
BUF_SIZE 2 fmt 34
BUF_SIZE 3 $ 27
STR_LEN 0 dev 33
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING

sound/soc/soc-pcm.c soc_get_playback_capture() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 4488257987214520320
BUF_SIZE 2 fmt 51
STR_LEN 0 dev 50
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/soc-pcm.c soc_get_playback_capture() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 7593651673158541312
BUF_SIZE 2 fmt 42
BUF_SIZE 3 $ 1-s32max
STR_LEN 0 dev 41
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/soc-pcm.c soc_hw_sanity_check() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 1081864283879768064
PARAM_VALUE 5 $ 2004838747245596672,5383953001091522560,6055945015561170944
BUF_SIZE 2 fmt 26
BUF_SIZE 3 $ 11,24
BUF_SIZE 3 $ 11,24
BUF_SIZE 4 $ 9,24
BUF_SIZE 4 $ 9,24
BUF_SIZE 5 $ 6,8-9
BUF_SIZE 5 $ 6,8-9
DATA_SOURCE 3 $ r soc_codec_dai_name
DATA_SOURCE 4 $ r soc_cpu_dai_name
STR_LEN 0 dev 25
STR_LEN 1 ret 5,7-8
STR_LEN 5 $ 5,7-8
BIT_INFO 5 $ 0x20022a1000000,0x5fffbffff7f77000
BIT_INFO 5 $ 0x20022a1000000,0x5fffbffff7f77000
TERMINATED 2 fmt 1
TERMINATED 5 $ 1
RX_PATH
TASK_NOT_RUNNING

sound/soc/soc-pcm.c soc_pcm_apply_symmetry() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 5064790578663567360
PARAM_VALUE 3 $ 5558640161330319360
BUF_SIZE 2 fmt 31
BUF_SIZE 3 $ 5
DATA_SOURCE 1 ret r snd_pcm_hw_constraint_single
STR_LEN 0 dev 30
STR_LEN 1 ret 4
TERMINATED 2 fmt 1
TERMINATED 3 $ 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

sound/soc/soc-pcm.c soc_pcm_apply_symmetry() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 5064790578663567360
PARAM_VALUE 3 $ 5383953001091522560
BUF_SIZE 2 fmt 31
BUF_SIZE 3 $ 9
DATA_SOURCE 1 ret r snd_pcm_hw_constraint_single
STR_LEN 0 dev 30
STR_LEN 1 ret 8
TERMINATED 2 fmt 1
TERMINATED 3 $ 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

sound/soc/soc-pcm.c soc_pcm_apply_symmetry() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 5064790578663567360
PARAM_VALUE 3 $ 3271595481357414400
BUF_SIZE 2 fmt 31
BUF_SIZE 3 $ 12
DATA_SOURCE 1 ret r snd_pcm_hw_constraint_single
STR_LEN 0 dev 30
STR_LEN 1 ret 11
TERMINATED 2 fmt 1
TERMINATED 3 $ 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

sound/soc/soc-pcm.c soc_pcm_params_symmetry() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 7045608806486257664
PARAM_VALUE 3 $ 5558640161330319360
PARAM_VALUE 5 $ 1-u32max
PARAM_VALUE 6 $ 988998606517669888
BUF_SIZE 2 fmt 38
BUF_SIZE 3 $ 5
BUF_SIZE 4 $ 24
BUF_SIZE 6 $ 24
BUF_SIZE 6 $ 24
STR_LEN 0 dev 37
STR_LEN 1 ret 4
PARAM_COMPARE 5 $ != $7
PARAM_COMPARE 7 $ != $5
TERMINATED 2 fmt 1
TERMINATED 3 $ 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/soc-pcm.c soc_pcm_params_symmetry() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 7045608806486257664
PARAM_VALUE 3 $ 5383953001091522560
PARAM_VALUE 5 $ 1-u32max
PARAM_VALUE 6 $ 988998606517669888
BUF_SIZE 2 fmt 38
BUF_SIZE 3 $ 9
BUF_SIZE 4 $ 24
BUF_SIZE 6 $ 24
BUF_SIZE 6 $ 24
STR_LEN 0 dev 37
STR_LEN 1 ret 8
PARAM_COMPARE 5 $ != $7
PARAM_COMPARE 7 $ != $5
TERMINATED 2 fmt 1
TERMINATED 3 $ 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/soc-pcm.c soc_pcm_params_symmetry() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret (-22)
PARAM_VALUE 2 fmt 7045608806486257664
PARAM_VALUE 3 $ 3271595481357414400
PARAM_VALUE 5 $ 1-u32max
PARAM_VALUE 6 $ 988998606517669888
PARAM_VALUE 7 $ 3-5,8,16,24,32,64,4294967274
BUF_SIZE 2 fmt 38
BUF_SIZE 3 $ 12
BUF_SIZE 4 $ 24
BUF_SIZE 6 $ 24
BUF_SIZE 6 $ 24
CAPPED_DATA 7 $ 1
STR_LEN 0 dev 37
STR_LEN 1 ret 11
PARAM_COMPARE 5 $ != $7
PARAM_COMPARE 7 $ != $5
TERMINATED 2 fmt 1
TERMINATED 3 $ 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->buffer_mutex

sound/soc/generic/simple-card-utils.c _simple_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 2 fmt 6716722283862540288
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 2 fmt 9
BUF_SIZE 3 $ 15-16,20-22,27-29,32
BUF_SIZE 3 $ 15-16,20-22,27-29,32
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 8
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 ret
UNITS 0 dev unit_byte
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/generic/audio-graph-card2.c _graph_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret s32min-0
PARAM_VALUE 2 fmt 6716722283862540288
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 2 fmt 9
BUF_SIZE 3 $ 11-12,17,19-20,22-26
BUF_SIZE 3 $ 11-12,17,19-20,22-26
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 8
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

sound/soc/soc-link.c _soc_link_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 2 fmt 8195684248661860352
PARAM_VALUE 3 $ 518665202336182272,1039419429254815744,1344456509362827264,1786660296556179456,5305020492924551168,5341716245087268864,6085475686964236288,7584134213555040256
BUF_SIZE 2 fmt 15
BUF_SIZE 3 $ 17-18,21,23,27,30,32
BUF_SIZE 3 $ 17-18,21,23,27,30,32
BUF_SIZE 4 $ 1-s32max
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 14
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/generic/simple-card.c _simple_ret() -> snd_soc_ret()

Type Parameter Key Value
PARAM_VALUE 1 ret s32min-0
PARAM_VALUE 2 fmt 6716722283862540288
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 2 fmt 9
BUF_SIZE 3 $ 16-24
BUF_SIZE 3 $ 16-24
DATA_SOURCE 1 ret $2
DATA_SOURCE 3 $ $1
STR_LEN 0 dev 8
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock