Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/soc/sof/intel/hda-dai-ops.c hda_release_hext_stream() -> hda_get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| DATA_SOURCE | 0 | sdev | $0 |
| DATA_SOURCE | 1 | cpu_dai | $1 |
| DATA_SOURCE | 2 | substream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 2 | substream->runtime->oss.buffer |
sound/soc/sof/intel/hda-dai.c hda_dai_hw_free() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_dai->driver->ops->hw_free | 0,4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 2 | substream | (-1),48,152 |
| BUF_SIZE | 2 | substream | (-1),48,152 |
| DATA_SOURCE | 0 | sdev | r dai_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $1 |
| DATA_SOURCE | 2 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 2 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 2 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 2 | substream->runtime->oss.buffer |
sound/soc/sof/intel/hda-dai.c hda_dai_hw_params_data() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 2 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 2 | substream->runtime->fasync->on | s32min-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream->runtime | (-1),1344 |
| DATA_SOURCE | 0 | sdev | r widget_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $2 |
| DATA_SOURCE | 2 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 2 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 2 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 2 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 2 | &substream->self_group.lock | |
| HALF_LOCKED2 | 2 | &substream->self_group.mutex |
sound/soc/sof/intel/hda-dai.c hda_dai_hw_params_data() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 2 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 2 | substream->runtime->fasync->on | s32min-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream->runtime | (-1),1344 |
| DATA_SOURCE | 0 | sdev | r widget_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $2 |
| DATA_SOURCE | 2 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 2 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 2 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 2 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 2 | &substream->self_group.lock | |
| HALF_LOCKED2 | 2 | &substream->self_group.mutex |
sound/soc/sof/intel/hda-dai.c hda_dai_trigger() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_dai->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_dai->driver->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_dai->driver->ops->trigger | 1-u64max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | substream | 1 |
| DATA_SOURCE | 0 | sdev | r dai_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $2 |
| DATA_SOURCE | 2 | substream | $0 |
sound/soc/sof/intel/hda-dai.c hda_link_dma_hw_params() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 2 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 2 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream->runtime | (-1),1344 |
| DATA_SOURCE | 0 | sdev | r dai_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $2 |
| DATA_SOURCE | 2 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 2 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 2 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 2 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 2 | &substream->self_group.lock | |
| HALF_LOCKED2 | 2 | &substream->self_group.mutex |
sound/soc/sof/intel/hda-dai.c non_hda_dai_hw_params_data() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 2 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 2 | substream->runtime->fasync->on | s32min-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream->runtime | (-1),1344 |
| DATA_SOURCE | 0 | sdev | r widget_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $2 |
| DATA_SOURCE | 2 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 2 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 2 | &substream->self_group.lock | |
| HALF_LOCKED2 | 2 | &substream->self_group.mutex |
sound/soc/sof/intel/hda-dai.c non_hda_dai_hw_params_data() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->dspless_mode_selected | 0 |
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 2 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 2 | substream->runtime->fasync->on | s32min-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 1 | cpu_dai | (-1),48,152 |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream->runtime | (-1),1344 |
| DATA_SOURCE | 0 | sdev | r widget_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $2 |
| DATA_SOURCE | 2 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 2 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 2 | &substream->self_group.lock | |
| HALF_LOCKED2 | 2 | &substream->self_group.mutex |
sound/soc/sof/intel/hda-dai.c sdw_hda_dai_hw_params() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sdev | r widget_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $2 |
| DATA_SOURCE | 2 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai.c sdw_hda_dai_hw_params() -> (struct hda_dai_widget_dma_ops)->get_hext_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_dai | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | cpu_dai | 1 |
| DATA_SOURCE | 0 | sdev | r widget_to_sdev |
| DATA_SOURCE | 1 | cpu_dai | $2 |
| DATA_SOURCE | 2 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |