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_component_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 |
| PARAM_VALUE | 1 | params | 4096-ptr_max |
| PARAM_VALUE | 1 | params->buffer.fragment_size | 1-u32max |
| PARAM_VALUE | 1 | params->buffer.fragments | 1-u32max |
| PARAM_VALUE | 1 | params->codec.ch_in | 1-u32max |
| PARAM_VALUE | 1 | params->codec.ch_out | 1-u32max |
| PARAM_VALUE | 1 | params->codec.id | 1-17 |
| BUF_SIZE | 0 | cstream | 288 |
| BUF_SIZE | 1 | params | 132 |
| CAPPED_DATA | 0 | cstream->runtime->buffer_size | 1 |
| CAPPED_DATA | 1 | params->buffer.fragments | 1 |
| DATA_SOURCE | 0 | cstream | $0 |
| DATA_SOURCE | 1 | params | $1 |
| NOSPEC | 0 | cstream->runtime->buffer_size | |
| NOSPEC | 1 | params->buffer.fragments | |
| HARD_MAX | 1 | params->codec.id | 17 |
| 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] |
| USER_DATA | 1 | params->buffer.fragment_size | 1-u32max |
| USER_DATA | 1 | params->buffer.fragments | 1-u32max[c] |
| USER_DATA | 1 | params->codec.align | 0-u32max |
| USER_DATA | 1 | params->codec.bit_rate | 0-u32max |
| USER_DATA | 1 | params->codec.ch_in | 1-u32max |
| USER_DATA | 1 | params->codec.ch_mode | 0-u32max |
| USER_DATA | 1 | params->codec.ch_out | 1-u32max |
| USER_DATA | 1 | params->codec.format | 0-u32max |
| USER_DATA | 1 | params->codec.id | 1-17 |
| USER_DATA | 1 | params->codec.level | 0-u32max |
| USER_DATA | 1 | params->codec.options.alac_d.compatible_version | 0-255 |
| USER_DATA | 1 | params->codec.options.alac_d.frame_length | 0-u32max |
| USER_DATA | 1 | params->codec.options.alac_d.kb | 0-255 |
| USER_DATA | 1 | params->codec.options.alac_d.max_frame_bytes | 0-u32max |
| USER_DATA | 1 | params->codec.options.alac_d.max_run | 0-u32max |
| USER_DATA | 1 | params->codec.options.alac_d.mb | 0-255 |
| USER_DATA | 1 | params->codec.options.alac_d.pb | 0-255 |
| USER_DATA | 1 | params->codec.options.ape_d.blocks_per_frame | 0-u32max |
| USER_DATA | 1 | params->codec.options.ape_d.compatible_version | 0-u16max |
| USER_DATA | 1 | params->codec.options.ape_d.compression_level | 0-u16max |
| USER_DATA | 1 | params->codec.options.ape_d.final_frame_blocks | 0-u32max |
| USER_DATA | 1 | params->codec.options.ape_d.format_flags | 0-u32max |
| USER_DATA | 1 | params->codec.options.ape_d.seek_table_present | 0-u32max |
| USER_DATA | 1 | params->codec.options.ape_d.total_frames | 0-u32max |
| USER_DATA | 1 | params->codec.options.flac.gain | 0-u32max |
| USER_DATA | 1 | params->codec.options.flac.num | 0-u32max |
| USER_DATA | 1 | params->codec.options.flac_d.max_blk_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.max_frame_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.min_blk_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.min_frame_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.reserved | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.sample_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.opus_d.mapping_family | 0-255 |
| USER_DATA | 1 | params->codec.options.opus_d.num_channels | 0-255 |
| USER_DATA | 1 | params->codec.options.opus_d.output_gain | 0-u16max |
| USER_DATA | 1 | params->codec.options.opus_d.pre_skip | 0-u16max |
| USER_DATA | 1 | params->codec.options.opus_d.sample_rate | 0-u32max |
| USER_DATA | 1 | params->codec.options.opus_d.version | 0-255 |
| USER_DATA | 1 | params->codec.options.real.num_regions | 0-u32max |
| USER_DATA | 1 | params->codec.options.real.quant_bits | 0-u32max |
| USER_DATA | 1 | params->codec.options.real.start_region | 0-u32max |
| USER_DATA | 1 | params->codec.options.src_d.out_sample_rate | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.downmix | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.managed | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.max_bit_rate | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.min_bit_rate | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.quality | s32min-s32max |
| USER_DATA | 1 | params->codec.options.wma.super_block_align | 0-u32max |
| USER_DATA | 1 | params->codec.options.wma_d.adv_encoder_option | 0-u32max |
| USER_DATA | 1 | params->codec.options.wma_d.adv_encoder_option2 | 0-u32max |
| USER_DATA | 1 | params->codec.options.wma_d.encoder_option | 0-u32max |
| USER_DATA | 1 | params->codec.options.wma_d.reserved | 0-u32max |
| USER_DATA | 1 | params->codec.pcm_format | 0-u32max |
| USER_DATA | 1 | params->codec.profile | 0-u32max |
| USER_DATA | 1 | params->codec.rate_control | 0-u32max |
| USER_DATA | 1 | params->codec.sample_rate | 0-u32max |
| USER_DATA | 1 | params->no_wake_mode | 0-255 |
| USER_PTR | 1 | params | |
| LOCK2 | _T->lock |
sound/soc/soc-compress.c soc_compr_set_params_fe() -> snd_soc_component_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 |
| PARAM_VALUE | 1 | params | 4096-ptr_max |
| PARAM_VALUE | 1 | params->buffer.fragment_size | 1-u32max |
| PARAM_VALUE | 1 | params->buffer.fragments | 1-u32max |
| PARAM_VALUE | 1 | params->codec.ch_in | 1-u32max |
| PARAM_VALUE | 1 | params->codec.ch_out | 1-u32max |
| PARAM_VALUE | 1 | params->codec.id | 1-17 |
| BUF_SIZE | 0 | cstream | 288 |
| BUF_SIZE | 1 | params | 132 |
| CAPPED_DATA | 0 | cstream->runtime->buffer_size | 1 |
| CAPPED_DATA | 1 | params->buffer.fragments | 1 |
| DATA_SOURCE | 0 | cstream | $0 |
| DATA_SOURCE | 1 | params | $1 |
| NOSPEC | 0 | cstream->runtime->buffer_size | |
| NOSPEC | 1 | params->buffer.fragments | |
| HARD_MAX | 1 | params->codec.id | 17 |
| 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] |
| USER_DATA | 1 | params->buffer.fragment_size | 1-u32max |
| USER_DATA | 1 | params->buffer.fragments | 1-u32max[c] |
| USER_DATA | 1 | params->codec.align | 0-u32max |
| USER_DATA | 1 | params->codec.bit_rate | 0-u32max |
| USER_DATA | 1 | params->codec.ch_in | 1-u32max |
| USER_DATA | 1 | params->codec.ch_mode | 0-u32max |
| USER_DATA | 1 | params->codec.ch_out | 1-u32max |
| USER_DATA | 1 | params->codec.format | 0-u32max |
| USER_DATA | 1 | params->codec.id | 1-17 |
| USER_DATA | 1 | params->codec.level | 0-u32max |
| USER_DATA | 1 | params->codec.options.alac_d.compatible_version | 0-255 |
| USER_DATA | 1 | params->codec.options.alac_d.frame_length | 0-u32max |
| USER_DATA | 1 | params->codec.options.alac_d.kb | 0-255 |
| USER_DATA | 1 | params->codec.options.alac_d.max_frame_bytes | 0-u32max |
| USER_DATA | 1 | params->codec.options.alac_d.max_run | 0-u32max |
| USER_DATA | 1 | params->codec.options.alac_d.mb | 0-255 |
| USER_DATA | 1 | params->codec.options.alac_d.pb | 0-255 |
| USER_DATA | 1 | params->codec.options.ape_d.blocks_per_frame | 0-u32max |
| USER_DATA | 1 | params->codec.options.ape_d.compatible_version | 0-u16max |
| USER_DATA | 1 | params->codec.options.ape_d.compression_level | 0-u16max |
| USER_DATA | 1 | params->codec.options.ape_d.final_frame_blocks | 0-u32max |
| USER_DATA | 1 | params->codec.options.ape_d.format_flags | 0-u32max |
| USER_DATA | 1 | params->codec.options.ape_d.seek_table_present | 0-u32max |
| USER_DATA | 1 | params->codec.options.ape_d.total_frames | 0-u32max |
| USER_DATA | 1 | params->codec.options.flac.gain | 0-u32max |
| USER_DATA | 1 | params->codec.options.flac.num | 0-u32max |
| USER_DATA | 1 | params->codec.options.flac_d.max_blk_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.max_frame_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.min_blk_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.min_frame_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.reserved | 0-u16max |
| USER_DATA | 1 | params->codec.options.flac_d.sample_size | 0-u16max |
| USER_DATA | 1 | params->codec.options.opus_d.mapping_family | 0-255 |
| USER_DATA | 1 | params->codec.options.opus_d.num_channels | 0-255 |
| USER_DATA | 1 | params->codec.options.opus_d.output_gain | 0-u16max |
| USER_DATA | 1 | params->codec.options.opus_d.pre_skip | 0-u16max |
| USER_DATA | 1 | params->codec.options.opus_d.sample_rate | 0-u32max |
| USER_DATA | 1 | params->codec.options.opus_d.version | 0-255 |
| USER_DATA | 1 | params->codec.options.real.num_regions | 0-u32max |
| USER_DATA | 1 | params->codec.options.real.quant_bits | 0-u32max |
| USER_DATA | 1 | params->codec.options.real.start_region | 0-u32max |
| USER_DATA | 1 | params->codec.options.src_d.out_sample_rate | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.downmix | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.managed | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.max_bit_rate | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.min_bit_rate | 0-u32max |
| USER_DATA | 1 | params->codec.options.vorbis.quality | s32min-s32max |
| USER_DATA | 1 | params->codec.options.wma.super_block_align | 0-u32max |
| USER_DATA | 1 | params->codec.options.wma_d.adv_encoder_option | 0-u32max |
| USER_DATA | 1 | params->codec.options.wma_d.adv_encoder_option2 | 0-u32max |
| USER_DATA | 1 | params->codec.options.wma_d.encoder_option | 0-u32max |
| USER_DATA | 1 | params->codec.options.wma_d.reserved | 0-u32max |
| USER_DATA | 1 | params->codec.pcm_format | 0-u32max |
| USER_DATA | 1 | params->codec.profile | 0-u32max |
| USER_DATA | 1 | params->codec.rate_control | 0-u32max |
| USER_DATA | 1 | params->codec.sample_rate | 0-u32max |
| USER_DATA | 1 | params->no_wake_mode | 0-255 |
| USER_PTR | 1 | params | |
| LOCK2 | &fe->card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |