Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- sound/core/pcm_dmaengine.c, line 474
- sound/soc/apple/mca.c, line 950
- sound/soc/fsl/fsl_asrc_dma.c, line 416
- sound/soc/soc-generic-dmaengine-pcm.c, line 141
Smatch caller information:
sound/soc/apple/mca.c mca_set_runtime_hwparams() -> snd_dmaengine_pcm_refine_runtime_hwparams()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_data | 714149924757876736 |
| PARAM_VALUE | 1 | dma_data->addr | 0 |
| PARAM_VALUE | 1 | dma_data->flags | 0 |
| PARAM_VALUE | 1 | dma_data->maxburst | 0 |
| PARAM_VALUE | 2 | hw | 2878899149415305216 |
| PARAM_VALUE | 2 | hw->buffer_bytes_max | u64max |
| PARAM_VALUE | 2 | hw->fifo_size | 16 |
| PARAM_VALUE | 2 | hw->info | 259 |
| PARAM_VALUE | 2 | hw->period_bytes_max | 1-u32max |
| PARAM_VALUE | 2 | hw->period_bytes_min | 256 |
| PARAM_VALUE | 2 | hw->periods_max | u32max |
| PARAM_VALUE | 2 | hw->periods_min | 2 |
| PARAM_VALUE | 3 | chan | 4096-ptr_max |
| PARAM_VALUE | 3 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 3 | chan->device->dev | 4096-ptr_max |
| DATA_SOURCE | 0 | substream | $1 |
| DATA_SOURCE | 3 | chan | $2 |
| MEM_ZERO | 2 | hw | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
sound/soc/fsl/fsl_asrc_dma.c fsl_asrc_dma_startup() -> snd_dmaengine_pcm_refine_runtime_hwparams()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->private_data | 4096-ptr_max |
| PARAM_VALUE | 2 | hw | 4882182093795057664 |
| PARAM_VALUE | 3 | chan | 4096-ptr_max |
| BUF_SIZE | 1 | dma_data | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dma_data | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 3 | chan->name | 1 |
| DATA_SOURCE | 0 | substream | $1 |
| DATA_SOURCE | 1 | dma_data | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_set_runtime_hwparams() -> snd_dmaengine_pcm_refine_runtime_hwparams()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_data | 4096-ptr_max |
| PARAM_VALUE | 2 | hw | 409924103877820416 |
| PARAM_VALUE | 2 | hw->buffer_bytes_max | u64max |
| PARAM_VALUE | 2 | hw->fifo_size | 0-u32max |
| PARAM_VALUE | 2 | hw->info | 259,275 |
| PARAM_VALUE | 2 | hw->period_bytes_max | 1-u32max |
| PARAM_VALUE | 2 | hw->period_bytes_min | 1-u32max |
| PARAM_VALUE | 2 | hw->periods_max | u32max |
| PARAM_VALUE | 2 | hw->periods_min | 2 |
| BUF_SIZE | 1 | dma_data | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dma_data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | substream | $1 |
| DATA_SOURCE | 1 | dma_data | r snd_soc_dai_dma_data_get |
| MEM_ZERO | 2 | hw | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |