Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/soundwire/cadence_master.c, line 1947
- drivers/soundwire/intel.c
- drivers/soundwire/intel_ace2x.c
Smatch caller information:
drivers/soundwire/intel.c intel_hw_params() -> sdw_cdns_config_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dai_runtime_array | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 0-1 |
| PARAM_VALUE | 3 | pdi | 4096-ptr_max |
| PARAM_VALUE | 3 | pdi->dir | 0-1 |
| PARAM_VALUE | 3 | pdi->h_ch_num | s32min-2147483646 |
| PARAM_VALUE | 3 | pdi->l_ch_num | 0 |
| BUF_SIZE | 0 | cdns | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ch | r params_channels |
| DATA_SOURCE | 3 | pdi | r sdw_cdns_alloc_pdi |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | cdns | unit_byte |
drivers/soundwire/intel.c intel_prepare() -> sdw_cdns_config_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dai_runtime_array | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 0-1 |
| PARAM_VALUE | 3 | pdi | 4096-ptr_max |
| BUF_SIZE | 0 | cdns | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ch | r params_channels |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | cdns | unit_byte |
drivers/soundwire/intel_ace2x.c intel_ace2x_bpt_open_stream() -> sdw_cdns_config_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->m_rt_count | 0 |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->master_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->master_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->name | 7649429940107837440 |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->state | 0 |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->type | 2 |
| PARAM_VALUE | 1 | ch | 1 |
| PARAM_VALUE | 2 | dir | 1 |
| PARAM_VALUE | 3 | pdi | 4096-ptr_max |
| PARAM_VALUE | 3 | pdi->ch_count | 1 |
| PARAM_VALUE | 3 | pdi->dir | 1 |
| PARAM_VALUE | 3 | pdi->h_ch_num | 0 |
| PARAM_VALUE | 3 | pdi->l_ch_num | 0 |
| BUF_SIZE | 0 | cdns | 1904 |
| BUF_SIZE | 0 | cdns->bus.bpt_stream | 48 |
| DATA_SOURCE | 3 | pdi | r sdw_cdns_alloc_pdi |
| STR_LEN | 0 | cdns->bus.bpt_stream->name | 3 |
| TERMINATED | 0 | cdns->bus.bpt_stream->name | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &attr->mutex |
drivers/soundwire/intel_ace2x.c intel_ace2x_bpt_open_stream() -> sdw_cdns_config_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->m_rt_count | 0 |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->master_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->master_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->name | 7649429940107837440 |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->state | 0 |
| PARAM_VALUE | 0 | cdns->bus.bpt_stream->type | 2 |
| PARAM_VALUE | 1 | ch | 1 |
| PARAM_VALUE | 2 | dir | 0 |
| PARAM_VALUE | 3 | pdi | 4096-ptr_max |
| PARAM_VALUE | 3 | pdi->ch_count | 1 |
| PARAM_VALUE | 3 | pdi->dir | 0 |
| PARAM_VALUE | 3 | pdi->h_ch_num | 0 |
| PARAM_VALUE | 3 | pdi->l_ch_num | 0 |
| BUF_SIZE | 0 | cdns | 1904 |
| BUF_SIZE | 0 | cdns->bus.bpt_stream | 48 |
| DATA_SOURCE | 3 | pdi | r sdw_cdns_alloc_pdi |
| STR_LEN | 0 | cdns->bus.bpt_stream->name | 3 |
| TERMINATED | 0 | cdns->bus.bpt_stream->name | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &attr->mutex |
drivers/soundwire/intel_ace2x.c intel_hw_params() -> sdw_cdns_config_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dai_runtime_array | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 0-1 |
| PARAM_VALUE | 3 | pdi | 4096-ptr_max |
| PARAM_VALUE | 3 | pdi->dir | 0-1 |
| PARAM_VALUE | 3 | pdi->h_ch_num | s32min-2147483646 |
| PARAM_VALUE | 3 | pdi->l_ch_num | 0 |
| BUF_SIZE | 0 | cdns | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ch | r params_channels |
| DATA_SOURCE | 3 | pdi | r sdw_cdns_alloc_pdi |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | cdns | unit_byte |
drivers/soundwire/intel_ace2x.c intel_prepare() -> sdw_cdns_config_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dai_runtime_array | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 0-1 |
| BUF_SIZE | 0 | cdns | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ch | r params_channels |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | cdns | unit_byte |