Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/soc/soc-compress.c soc_compr_set_params() -> snd_soc_link_compr_set_params()

Type Parameter Key Value
PARAM_VALUE 0 cstream 4096-ptr_max
PARAM_VALUE 0 cstream->dma_buffer.dev.type 3
PARAM_VALUE 0 cstream->ops 4096-ptr_max
PARAM_VALUE 0 cstream->ops->copy 0,4096-ptr_max
PARAM_VALUE 0 cstream->private_data 4096-ptr_max
PARAM_VALUE 0 cstream->runtime 4096-ptr_max
PARAM_VALUE 0 cstream->runtime->buffer_size 0-u32max
PARAM_VALUE 0 cstream->runtime->dma_addr 0
PARAM_VALUE 0 cstream->runtime->dma_area 1-u64max
PARAM_VALUE 0 cstream->runtime->dma_buffer_p 4096-ptr_max
PARAM_VALUE 0 cstream->runtime->dma_buffer_p->area 1-u64max
PARAM_VALUE 0 cstream->runtime->dma_buffer_p->bytes 0,4096-u64max
PARAM_VALUE 0 cstream->runtime->dma_bytes 0-u32max
PARAM_VALUE 0 cstream->runtime->fragment_size 1-u32max
PARAM_VALUE 0 cstream->runtime->fragments 1-u32max
PARAM_VALUE 0 cstream->runtime->private_data->hstream->bdl.area 0-255
PARAM_VALUE 0 cstream->runtime->private_data->hstream.bdl.area->addr_h 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.bdl.area->addr_l 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.bdl.area->size 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.bufsize 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.delay_negative_threshold s32min-s32max
PARAM_VALUE 0 cstream->runtime->private_data->hstream.fifo_size 0-65536
PARAM_VALUE 0 cstream->runtime->private_data->hstream.format_val 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.frags 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.no_period_wakeup 0-1
PARAM_VALUE 0 cstream->runtime->private_data->hstream.period_bytes 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->num_pages 1-1048576
PARAM_VALUE 0 cstream->runtime->private_data->reg_offset 0,8388608,16777216,25165824,33554432,41943040,50331648,58720256
BUF_SIZE 0 cstream 288
CAPPED_DATA 0 cstream->private_data->num_components 1
CAPPED_DATA 0 cstream->runtime->buffer_size 1
DATA_SOURCE 0 cstream $0
NOSPEC 0 cstream->runtime->buffer_size
HOST_DATA 0 cstream->runtime->private_data->hstream.fifo_size 1-65536[c]
USER_DATA 0 cstream->runtime->buffer_size 0-u32max[c]
USER_DATA 0 cstream->runtime->dma_buffer_p->bytes 0,4096-4294967296[c]
USER_DATA 0 cstream->runtime->dma_bytes 1-u32max[c]
USER_DATA 0 cstream->runtime->fragment_size 1-u32max
USER_DATA 0 cstream->runtime->fragments 1-u32max[c]
USER_DATA 0 cstream->runtime->private_data->dmab->addr s64max[c]
USER_DATA 0 cstream->runtime->private_data->dmab->bytes 0,4096-4294967296[c]
USER_DATA 0 cstream->runtime->private_data->hstream.format_val 0-4294967295[c]
USER_DATA 0 cstream->runtime->private_data->num_pages 2-1048576[c]
LOCK2 _T->lock

sound/soc/soc-compress.c soc_compr_set_params_fe() -> snd_soc_link_compr_set_params()

Type Parameter Key Value
PARAM_VALUE 0 cstream 4096-ptr_max
PARAM_VALUE 0 cstream->dma_buffer.dev.type 3
PARAM_VALUE 0 cstream->ops 4096-ptr_max
PARAM_VALUE 0 cstream->ops->copy 0,4096-ptr_max
PARAM_VALUE 0 cstream->private_data 4096-ptr_max
PARAM_VALUE 0 cstream->runtime 4096-ptr_max
PARAM_VALUE 0 cstream->runtime->buffer_size 0-u32max
PARAM_VALUE 0 cstream->runtime->dma_addr 0
PARAM_VALUE 0 cstream->runtime->dma_area 1-u64max
PARAM_VALUE 0 cstream->runtime->dma_buffer_p 4096-ptr_max
PARAM_VALUE 0 cstream->runtime->dma_buffer_p->area 1-u64max
PARAM_VALUE 0 cstream->runtime->dma_buffer_p->bytes 0,4096-u64max
PARAM_VALUE 0 cstream->runtime->dma_bytes 0-u32max
PARAM_VALUE 0 cstream->runtime->fragment_size 1-u32max
PARAM_VALUE 0 cstream->runtime->fragments 1-u32max
PARAM_VALUE 0 cstream->runtime->private_data->hstream->bdl.area 0-255
PARAM_VALUE 0 cstream->runtime->private_data->hstream.bdl.area->addr_h 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.bdl.area->addr_l 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.bdl.area->size 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.bufsize 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.delay_negative_threshold s32min-s32max
PARAM_VALUE 0 cstream->runtime->private_data->hstream.fifo_size 0-65536
PARAM_VALUE 0 cstream->runtime->private_data->hstream.format_val 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.frags 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->hstream.no_period_wakeup 0-1
PARAM_VALUE 0 cstream->runtime->private_data->hstream.period_bytes 0-4294967295
PARAM_VALUE 0 cstream->runtime->private_data->num_pages 1-1048576
PARAM_VALUE 0 cstream->runtime->private_data->reg_offset 0,8388608,16777216,25165824,33554432,41943040,50331648,58720256
BUF_SIZE 0 cstream 288
CAPPED_DATA 0 cstream->private_data->num_components 1
CAPPED_DATA 0 cstream->runtime->buffer_size 1
DATA_SOURCE 0 cstream $0
NOSPEC 0 cstream->runtime->buffer_size
HOST_DATA 0 cstream->runtime->private_data->hstream.fifo_size 1-65536[c]
USER_DATA 0 cstream->runtime->buffer_size 0-u32max[c]
USER_DATA 0 cstream->runtime->dma_buffer_p->bytes 0,4096-4294967296[c]
USER_DATA 0 cstream->runtime->dma_bytes 1-u32max[c]
USER_DATA 0 cstream->runtime->fragment_size 1-u32max
USER_DATA 0 cstream->runtime->fragments 1-u32max[c]
USER_DATA 0 cstream->runtime->private_data->dmab->addr s64max[c]
USER_DATA 0 cstream->runtime->private_data->dmab->bytes 0,4096-4294967296[c]
USER_DATA 0 cstream->runtime->private_data->hstream.format_val 0-4294967295[c]
USER_DATA 0 cstream->runtime->private_data->num_pages 2-1048576[c]
LOCK2 &fe->card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex