Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- sound/core/pcm_dmaengine.c, line 272
- sound/soc/apple/mca.c, line 1041
- sound/soc/pxa/pxa2xx-pcm-lib.c, line 69
- sound/soc/renesas/rcar/dma.c, line 262
- sound/soc/renesas/rcar/msiof.c, line 445
- sound/soc/soc-generic-dmaengine-pcm.c, line 288
- sound/soc/tegra/tegra_pcm.c, line 190
Smatch caller information:
sound/soc/apple/mca.c mca_pointer() -> snd_dmaengine_pcm_pointer()
| 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| 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 | $1 |
| 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 | &atimer->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/tegra/tegra_pcm.c tegra_pcm_pointer() -> snd_dmaengine_pcm_pointer()
| 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| 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 | $1 |
| 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 | &atimer->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/renesas/rcar/msiof.c msiof_pointer() -> snd_dmaengine_pcm_pointer()
| 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| 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 | $1 |
| 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 | &atimer->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/pxa/pxa2xx-pcm-lib.c pxa2xx_pcm_pointer() -> snd_dmaengine_pcm_pointer()
| 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| 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->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 | &atimer->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_pointer() -> snd_dmaengine_pcm_pointer()
| 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| 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 | $1 |
| 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 | &atimer->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/renesas/rcar/dma.c rsnd_dmaen_pointer() -> snd_dmaengine_pcm_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |