Defined in 2 files as a function:
- drivers/soundwire/intel.c, line 677 (as a function)
- drivers/soundwire/intel_ace2x.c, line 675 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/soundwire/intel.c intel_hw_params() -> intel_params_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdw | 4096-ptr_max |
| PARAM_VALUE | 0 | sdw->link_res | 4096-ptr_max |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | dai | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver->ops | 4096-ptr_max |
| PARAM_VALUE | 3 | hw_params | 4096-ptr_max |
| BUF_SIZE | 1 | substream->runtime | (-1),1344 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 3 | hw_params | (-1),608 |
| BUF_SIZE | 3 | hw_params | (-1),608 |
| CAPPED_DATA | 2 | dai->id | 1 |
| DATA_SOURCE | 1 | substream | $0 |
| DATA_SOURCE | 2 | dai | $2 |
| DATA_SOURCE | 3 | hw_params | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->trigger_master->f_flags | 0-u32max |
| USER_DATA | 1 | *substream->runtime->oss.buffer | 0-255 |
| USER_DATA | 3 | hw_params->cmask | 0-u32max |
| USER_DATA | 3 | hw_params->flags | 0-u32max |
| USER_DATA | 3 | hw_params->msbits | 0-u32max |
| USER_DATA | 3 | hw_params->rate_den | 0-u32max |
| USER_DATA | 3 | hw_params->rate_num | 0-u32max |
| UNITS | 0 | sdw | unit_byte |
| USER_PTR | 1 | substream->runtime->oss.buffer | |
| USER_PTR | 3 | hw_params->intervals | |
| USER_PTR | 3 | hw_params->ires | |
| USER_PTR | 3 | hw_params->masks | |
| USER_PTR | 3 | hw_params->mres | |
| USER_PTR | 3 | hw_params->reserved | |
| USER_PTR | 3 | hw_params->sync |
drivers/soundwire/intel.c intel_prepare() -> intel_params_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdw | 4096-ptr_max |
| PARAM_VALUE | 0 | sdw->link_res | 4096-ptr_max |
| 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->pstr->stream | 0-1 |
| PARAM_VALUE | 1 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 2 | dai | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver->ops | 4096-ptr_max |
| PARAM_VALUE | 3 | hw_params | 4096-ptr_max |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 3 | hw_params | 608 |
| DATA_SOURCE | 1 | substream | $0 |
| DATA_SOURCE | 2 | dai | $1 |
| 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 | sdw | 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 |
drivers/soundwire/intel_ace2x.c intel_hw_params() -> intel_params_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdw | 4096-ptr_max |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | dai | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver->ops | 4096-ptr_max |
| PARAM_VALUE | 3 | hw_params | 4096-ptr_max |
| BUF_SIZE | 1 | substream->runtime | (-1),1344 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 3 | hw_params | (-1),608 |
| BUF_SIZE | 3 | hw_params | (-1),608 |
| CAPPED_DATA | 2 | dai->id | 1 |
| DATA_SOURCE | 1 | substream | $0 |
| DATA_SOURCE | 2 | dai | $2 |
| DATA_SOURCE | 3 | hw_params | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->trigger_master->f_flags | 0-u32max |
| USER_DATA | 1 | *substream->runtime->oss.buffer | 0-255 |
| USER_DATA | 3 | hw_params->cmask | 0-u32max |
| USER_DATA | 3 | hw_params->flags | 0-u32max |
| USER_DATA | 3 | hw_params->msbits | 0-u32max |
| USER_DATA | 3 | hw_params->rate_den | 0-u32max |
| USER_DATA | 3 | hw_params->rate_num | 0-u32max |
| UNITS | 0 | sdw | unit_byte |
| USER_PTR | 1 | substream->runtime->oss.buffer | |
| USER_PTR | 3 | hw_params->intervals | |
| USER_PTR | 3 | hw_params->ires | |
| USER_PTR | 3 | hw_params->masks | |
| USER_PTR | 3 | hw_params->mres | |
| USER_PTR | 3 | hw_params->reserved | |
| USER_PTR | 3 | hw_params->sync |
drivers/soundwire/intel_ace2x.c intel_prepare() -> intel_params_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdw | 4096-ptr_max |
| 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->pstr->stream | 0-1 |
| PARAM_VALUE | 1 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 2 | dai | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | dai->driver->ops | 4096-ptr_max |
| PARAM_VALUE | 3 | hw_params | 4096-ptr_max |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 2 | dai | (-1),48,152 |
| BUF_SIZE | 3 | hw_params | 608 |
| DATA_SOURCE | 1 | substream | $0 |
| DATA_SOURCE | 2 | dai | $1 |
| 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 | sdw | 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 |