Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/soc/sof/intel/hda-dai.c hda_dai_hw_params() -> hda_dai_hw_params_data()
| 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->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 1 | params | 4096-ptr_max |
| PARAM_VALUE | 2 | dai | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver->ops | 4096-ptr_max |
| PARAM_VALUE | 3 | data | 1952502986684215296 |
| PARAM_VALUE | 3 | data->dai_data | 0 |
| PARAM_VALUE | 3 | data->dai_index | 0 |
| PARAM_VALUE | 4 | flags | 1 |
| BUF_SIZE | 0 | substream->runtime | (-1),1344 |
| BUF_SIZE | 1 | params | (-1),608 |
| BUF_SIZE | 1 | params | (-1),608 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 1 | params | $1 |
| DATA_SOURCE | 2 | dai | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 0 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| 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 |
| USER_DATA | 1 | params->cmask | 0-u32max |
| USER_DATA | 1 | params->flags | 0-u32max |
| USER_DATA | 1 | params->msbits | 0-u32max |
| USER_DATA | 1 | params->rate_den | 0-u32max |
| USER_DATA | 1 | params->rate_num | 0-u32max |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| USER_PTR | 1 | params->intervals | |
| USER_PTR | 1 | params->ires | |
| USER_PTR | 1 | params->masks | |
| USER_PTR | 1 | params->mres | |
| USER_PTR | 1 | params->reserved | |
| USER_PTR | 1 | params->sync | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/sof/intel/hda-dai.c non_hda_dai_hw_params_data() -> hda_dai_hw_params_data()
| 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->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 1 | params | 4096-ptr_max |
| PARAM_VALUE | 2 | dai | 4096-ptr_max |
| PARAM_VALUE | 3 | data | 4929979352490336256,7473335091348250624 |
| PARAM_VALUE | 3 | data->dai_data | 0 |
| PARAM_VALUE | 4 | flags | 1 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream->runtime | (-1),1344 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 1 | params | $1 |
| DATA_SOURCE | 2 | dai | $2 |
| DATA_SOURCE | 3 | data | $3 |
| DATA_SOURCE | 4 | flags | $4 |
| 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 |
| USER_DATA | 1 | params->cmask | 0-u32max |
| USER_DATA | 1 | params->flags | 0-u32max |
| USER_DATA | 1 | params->msbits | 0-u32max |
| USER_DATA | 1 | params->rate_den | 0-1 |
| USER_DATA | 1 | params->rate_num | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| USER_PTR | 1 | params->intervals | |
| USER_PTR | 1 | params->ires | |
| USER_PTR | 1 | params->masks | |
| USER_PTR | 1 | params->mres | |
| USER_PTR | 1 | params->reserved | |
| USER_PTR | 1 | params->sync | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |