Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/soundwire/amd_manager.c, line 801
- drivers/soundwire/intel.c, line 779
- drivers/soundwire/intel_ace2x.c
- drivers/soundwire/qcom.c, line 1299
- drivers/soundwire/stream.c, line 2089
Smatch caller information:
drivers/soundwire/intel.c intel_hw_params() -> sdw_stream_add_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config | 8125631263266508800 |
| PARAM_VALUE | 1 | stream_config->bps | 3-5,8,16,18,20,24,32,64,4294967274 |
| PARAM_VALUE | 1 | stream_config->direction | 0-1 |
| PARAM_VALUE | 2 | port_config | 4096-ptr_max |
| PARAM_VALUE | 3 | num_ports | 1 |
| BUF_SIZE | 2 | port_config | 8 |
| DATA_SOURCE | 2 | port_config | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soundwire/qcom.c qcom_swrm_stream_alloc_ports() -> sdw_stream_add_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config | 3407247448322334720 |
| PARAM_VALUE | 1 | stream_config->bps | 1 |
| PARAM_VALUE | 1 | stream_config->ch_count | 1 |
| PARAM_VALUE | 1 | stream_config->direction | 0-1 |
| PARAM_VALUE | 2 | port_config | 16,4096-ptr_max |
| PARAM_VALUE | 3 | num_ports | 0-s32max |
| PARAM_VALUE | 4 | stream | 4096-ptr_max |
| BUF_SIZE | 2 | port_config | 0-u64max |
| CAPPED_DATA | 4 | &stream->master_list | 1 |
| DATA_SOURCE | 2 | port_config | r _kzalloc_noprof |
| DATA_SOURCE | 4 | stream | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/soundwire/intel_ace2x.c intel_ace2x_bpt_open_stream() -> sdw_stream_add_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->bpt_stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config | 1064826450494091264 |
| PARAM_VALUE | 1 | stream_config->bps | 32 |
| PARAM_VALUE | 1 | stream_config->ch_count | 1 |
| PARAM_VALUE | 1 | stream_config->direction | 0 |
| PARAM_VALUE | 1 | stream_config->frame_rate | 16000 |
| PARAM_VALUE | 1 | stream_config->type | 2 |
| PARAM_VALUE | 2 | port_config | 4096-ptr_max |
| PARAM_VALUE | 3 | num_ports | 2 |
| PARAM_VALUE | 4 | stream | 4096-ptr_max |
| PARAM_VALUE | 4 | stream->m_rt_count | 0 |
| PARAM_VALUE | 4 | stream->master_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 4 | stream->master_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 4 | stream->master_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 4 | stream->name | 7649429940107837440 |
| PARAM_VALUE | 4 | stream->params.bps | 0-1,3-5,8,16,18,20,24,32,64,4294967274 |
| PARAM_VALUE | 4 | stream->state | 0-1 |
| BUF_SIZE | 2 | port_config | 16 |
| BUF_SIZE | 2 | port_config | 16 |
| BUF_SIZE | 4 | stream | 48 |
| BUF_SIZE | 4 | stream->name | 4 |
| DATA_SOURCE | 2 | port_config | r _kzalloc_noprof |
| DATA_SOURCE | 4 | stream | r sdw_alloc_stream |
| STR_LEN | 4 | stream->name | 3 |
| TERMINATED | 4 | stream->name | 1 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex |
drivers/soundwire/intel_ace2x.c intel_hw_params() -> sdw_stream_add_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config | 8802618714228350976 |
| PARAM_VALUE | 1 | stream_config->bps | 3-5,8,16,18,20,24,32,64,4294967274 |
| PARAM_VALUE | 1 | stream_config->direction | 0-1 |
| PARAM_VALUE | 2 | port_config | 4096-ptr_max |
| PARAM_VALUE | 3 | num_ports | 1 |
| BUF_SIZE | 2 | port_config | 8 |
| DATA_SOURCE | 2 | port_config | r _kzalloc_noprof |
| BIT_INFO | 2 | port_config->num | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soundwire/amd_manager.c amd_sdw_hw_params() -> sdw_stream_add_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config | 6647812027195097088 |
| PARAM_VALUE | 1 | stream_config->bps | 3-5,8,16,18,20,24,32,64,4294967274 |
| PARAM_VALUE | 1 | stream_config->direction | 0-1 |
| PARAM_VALUE | 2 | port_config | 4096-ptr_max |
| PARAM_VALUE | 3 | num_ports | 1 |
| BUF_SIZE | 2 | port_config | 8 |
| DATA_SOURCE | 2 | port_config | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |