Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- sound/soc/qcom/sc7280.c, line 223
- sound/soc/qcom/sc8280xp.c, line 350
- sound/soc/qcom/sdm845.c, line 475
- sound/soc/qcom/sdw.c, line 166
- sound/soc/qcom/sm8250.c, line 144
- sound/soc/qcom/x1e80100.c, line 148
Smatch caller information:
sound/soc/qcom/sm8250.c sm8250_snd_prepare() -> qcom_snd_sdw_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/qcom/sdm845.c sdm845_snd_prepare() -> qcom_snd_sdw_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/qcom/sc8280xp.c sc8280xp_snd_prepare() -> qcom_snd_sdw_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/qcom/sc7280.c sc7280_snd_swr_prepare() -> qcom_snd_sdw_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/qcom/x1e80100.c x1e80100_snd_prepare() -> qcom_snd_sdw_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| PARAM_VALUE | 1 | stream_prepared | 4096-ptr_max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |