Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/soc/sof/pcm.c sof_pcm_free_all_streams() -> sof_pcm_stream_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->msg.rx_data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops->pcm | 2727965018001317888,7051671994805637120 |
| PARAM_VALUE | 0 | sdev->ipc->ops->pm | 5208328608293543936,7865405478994923520 |
| PARAM_VALUE | 0 | sdev->ipc->ops->tplg | 4353795724968787968,5924458453840941056 |
| PARAM_VALUE | 0 | sdev->ipc->sdev->msg->rx_data | 0,784178113353506816,6806950553865195520,8362215616277610496 |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->runtime | 1-u64max |
| PARAM_VALUE | 2 | spcm | 4096-ptr_max |
| PARAM_VALUE | 2 | spcm->stream | 4096-ptr_max |
| PARAM_VALUE | 3 | dir | 0-1 |
| PARAM_VALUE | 4 | free_widget_list | 1 |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &sdev->pcm_list | 1 |
| CAPPED_DATA | 2 | &spcm->list | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| FUZZY_MAX | 3 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/pcm.c sof_pcm_hw_free() -> sof_pcm_stream_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 1 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 1 | substream->runtime->oss.buffer | 0 |
| PARAM_VALUE | 1 | substream->runtime->oss.buffer_bytes | 0 |
| PARAM_VALUE | 1 | substream->runtime->oss.channels | 0-128 |
| PARAM_VALUE | 1 | substream->runtime->oss.fragshift | 0-24 |
| PARAM_VALUE | 1 | substream->runtime->oss.maxfrags | 0-u16max |
| PARAM_VALUE | 1 | substream->runtime->oss.period_bytes | 0,16-1048576 |
| PARAM_VALUE | 1 | substream->runtime->oss.period_frames | 0-1 |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->plug | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->transfer | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->transfer | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.rate | 0,1000-192000 |
| PARAM_VALUE | 1 | substream->runtime->oss.subdivision | 0-2,4,8,16 |
| PARAM_VALUE | 1 | substream->runtime->oss.sync_trigger | 0 |
| PARAM_VALUE | 2 | spcm | 4096-ptr_max |
| PARAM_VALUE | 4 | free_widget_list | 1 |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | substream | 1 |
| CAPPED_DATA | 2 | spcm->pcm.dai_id | 1 |
| DATA_SOURCE | 1 | substream | $1 |
| DATA_SOURCE | 2 | spcm | r snd_sof_find_spcm_dai |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | substream->f_flags | 0-u32max |
| USER_DATA | 1 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 1 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 1 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 1 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 1 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 1 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 1 | *substream->runtime->oss.buffer | 0-255 |
| UNITS | 0 | sdev | unit_byte |
| USER_PTR | 1 | substream->runtime->oss.buffer |
sound/soc/sof/pcm.c sof_pcm_prepare() -> sof_pcm_stream_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops | 0,33499521977491456,1807000495050428416 |
| PARAM_VALUE | 0 | sdev->ipc->ops->pcm | 2727965018001317888,7051671994805637120 |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 1 | substream->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->private_data->dai_link->num_codecs | 0-4294967295 |
| PARAM_VALUE | 1 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 1 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 1 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 1 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 1 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| PARAM_VALUE | 2 | spcm | 4096-ptr_max |
| PARAM_VALUE | 2 | spcm->pending_stop | 4096-ptr_max |
| PARAM_VALUE | 2 | spcm->prepared | 4096-ptr_max |
| PARAM_VALUE | 4 | free_widget_list | 1 |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | spcm->pcm.dai_id | 1 |
| DATA_SOURCE | 1 | substream | $1 |
| DATA_SOURCE | 2 | spcm | r snd_sof_find_spcm_dai |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | substream->f_flags | 0-u32max |
| USER_DATA | 1 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 1 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 1 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 1 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 1 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | substream->runtime->dma_buffer_p->addr | |
| UNITS | 0 | sdev | unit_byte |
| USER_PTR | 1 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 1 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 1 | &substream->self_group.lock | |
| HALF_LOCKED2 | 1 | &substream->self_group.mutex |
sound/soc/sof/pcm.c sof_pcm_trigger() -> sof_pcm_stream_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->dspless_mode_selected | 1 |
| PARAM_VALUE | 0 | sdev->ipc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops | 0,33499521977491456,1807000495050428416 |
| PARAM_VALUE | 0 | sdev->ipc->ops->pcm | 2727965018001317888,7051671994805637120 |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | spcm | 4096-ptr_max |
| PARAM_VALUE | 2 | spcm->pending_stop | 4096-ptr_max |
| PARAM_VALUE | 2 | spcm->stream | 4096-ptr_max |
| PARAM_VALUE | 4 | free_widget_list | 0 |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | substream | 1 |
| CAPPED_DATA | 2 | spcm->pcm.dai_id | 1 |
| DATA_SOURCE | 1 | substream | $1 |
| DATA_SOURCE | 2 | spcm | r snd_sof_find_spcm_dai |
| UNITS | 0 | sdev | unit_byte |