Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/soundwire/stream.c, line 2138 (as a function)
- include/linux/soundwire/sdw.h, line 1125 (as a function)
Referenced in 35 files:
- drivers/soundwire/intel_ace2x.c, line 40
- drivers/soundwire/stream.c, line 2239
- sound/soc/codecs/cs35l56.c, line 673
- sound/soc/codecs/cs42l42-sdw.c, line 85
- sound/soc/codecs/cs42l43-sdw.c, line 37
- sound/soc/codecs/es9356.c, line 547
- sound/soc/codecs/max98363.c, line 237
- sound/soc/codecs/max98373-sdw.c, line 547
- sound/soc/codecs/pm4125-sdw.c, line 75
- sound/soc/codecs/rt1017-sdca-sdw.c, line 617
- sound/soc/codecs/rt1308-sdw.c, line 561
- sound/soc/codecs/rt1316-sdw.c, line 535
- sound/soc/codecs/rt1318-sdw.c, line 604
- sound/soc/codecs/rt1320-sdw.c
- sound/soc/codecs/rt5682-sdw.c, line 133
- sound/soc/codecs/rt700.c, line 930
- sound/soc/codecs/rt711-sdca.c, line 1360
- sound/soc/codecs/rt711.c, line 1011
- sound/soc/codecs/rt712-sdca-dmic.c, line 659
- sound/soc/codecs/rt712-sdca.c, line 1500
- sound/soc/codecs/rt715-sdca.c, line 830
- sound/soc/codecs/rt715.c, line 854
- sound/soc/codecs/rt721-sdca.c, line 1319
- sound/soc/codecs/rt722-sdca.c, line 1493
- sound/soc/codecs/rt766-sdca.c, line 978
- sound/soc/codecs/sdw-mockup.c, line 79
- sound/soc/codecs/tac5xx2-sdw.c, line 720
- sound/soc/codecs/tas2783-sdw.c, line 959
- sound/soc/codecs/wcd937x-sdw.c, line 109
- sound/soc/codecs/wcd938x-sdw.c, line 117
- sound/soc/codecs/wcd939x-sdw.c, line 163
- sound/soc/codecs/wsa881x.c, line 990
- sound/soc/codecs/wsa883x.c, line 1355
- sound/soc/codecs/wsa884x.c, line 1787
- sound/soc/sdca/sdca_class_function.c, line 155
Smatch caller information:
sound/soc/codecs/es9356.c es9356_sdw_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 3421609853073010688 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 6942757526715113472 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt700.c rt700_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 869388498213130240 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 3734786714858147840 |
| PARAM_VALUE | 2 | port_config->num | 1-4 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/max98373-sdw.c max98373_sdw_dai_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 8777520253264662528 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 7570059186469994496 |
| PARAM_VALUE | 2 | port_config->num | 1,3 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt1316-sdw.c rt1316_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 6216462886436057088 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 8373363116056477696 |
| PARAM_VALUE | 2 | port_config->num | 1-2 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/cs42l42-sdw.c cs42l42_sdw_dai_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 3028255984372899840 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 5499678954468409344 |
| PARAM_VALUE | 2 | port_config->num | 1-2 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/max98363.c max98363_sdw_dai_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 8800358958426570752 |
| PARAM_VALUE | 1 | stream_config->bps | 3-5,8,16,18,20,24,32,64,4294967274 |
| PARAM_VALUE | 1 | stream_config->ch_count | 0-1 |
| PARAM_VALUE | 1 | stream_config->direction | 0 |
| PARAM_VALUE | 2 | port_config | 341285319535403008 |
| PARAM_VALUE | 2 | port_config->num | 1 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/wsa883x.c wsa883x_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 4096-ptr_max |
| PARAM_VALUE | 3 | num_ports | 0-s32max |
| BUF_SIZE | 2 | port_config | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/wsa884x.c wsa884x_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 4096-ptr_max |
| PARAM_VALUE | 3 | num_ports | 0-s32max |
| BUF_SIZE | 2 | port_config | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt1017-sdca-sdw.c rt1017_sdca_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 3664220902123352064 |
| 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 | 5622236303563952128 |
| PARAM_VALUE | 2 | port_config->num | 1-2 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt5682-sdw.c rt5682_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 5590203017096507392 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 2211262505972883456 |
| PARAM_VALUE | 2 | port_config->num | 1-2 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/pm4125-sdw.c pm4125_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config->bps | 1 |
| PARAM_VALUE | 1 | stream_config->ch_count | 1-u32max |
| PARAM_VALUE | 1 | stream_config->direction | 0-1 |
| PARAM_VALUE | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 1489685645084848128 |
| PARAM_VALUE | 3 | num_ports | 0-s32max |
| BUF_SIZE | 2 | port_config | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt711.c rt711_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 8920024241424277504 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 7207806671056441344 |
| PARAM_VALUE | 2 | port_config->num | 2-4 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt1308-sdw.c rt1308_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 1031364108027031552 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 3670995565937774592 |
| PARAM_VALUE | 2 | port_config->num | 1 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/wcd938x-sdw.c wcd938x_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config->bps | 1 |
| PARAM_VALUE | 1 | stream_config->ch_count | 1-u32max |
| PARAM_VALUE | 1 | stream_config->direction | 0-1 |
| PARAM_VALUE | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 3247296976222683136 |
| PARAM_VALUE | 3 | num_ports | 0-s32max |
| BUF_SIZE | 2 | port_config | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/wcd937x-sdw.c wcd937x_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config->bps | 1 |
| PARAM_VALUE | 1 | stream_config->ch_count | 1-u32max |
| PARAM_VALUE | 1 | stream_config->direction | 0-1 |
| PARAM_VALUE | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 4062317200218611712 |
| PARAM_VALUE | 3 | num_ports | 0-s32max |
| BUF_SIZE | 2 | port_config | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/cs35l56.c cs35l56_sdw_dai_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 7287673270773129216 |
| 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 | 7512527843830816768 |
| PARAM_VALUE | 2 | port_config->num | 1,3 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| MEM_ZERO | 1 | stream_config | |
| MEM_ZERO | 2 | port_config | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soundwire/intel_ace2x.c sdw_slave_bpt_stream_add() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 0 | slave->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | slave->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | slave->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | slave->dev_num | 1-11 |
| PARAM_VALUE | 1 | stream_config | 8299703447373602816 |
| 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 | 4181309180115501056 |
| PARAM_VALUE | 2 | port_config->ch_mask | 1 |
| PARAM_VALUE | 2 | port_config->num | 0 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 4096-ptr_max |
| PARAM_VALUE | 4 | stream->m_rt_count | 0 |
| PARAM_VALUE | 4 | stream->master_list.next | 4096-ptr_max |
| PARAM_VALUE | 4 | stream->master_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 4 | stream->master_list.prev | 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->state | 0 |
| PARAM_VALUE | 4 | stream->type | 2 |
| BUF_SIZE | 0 | slave | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | stream | 48 |
| BUF_SIZE | 4 | stream->name | 4 |
| DATA_SOURCE | 0 | slave | $0 |
| DATA_SOURCE | 4 | stream | $1 |
| FUZZY_MAX | 0 | slave->dev_num | 11 |
| STR_LEN | 4 | stream->name | 3 |
| TERMINATED | 4 | stream->name | 1 |
| HARD_MAX | 0 | slave->dev_num | 11 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex |
sound/soc/sdca/sdca_class_function.c class_function_sdw_add_peripheral() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config | 9062301019053928448 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 6025218662658031616 |
| PARAM_VALUE | 2 | port_config->num | 0-254,256-s32max |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | slave | unit_byte |
sound/soc/codecs/rt766-sdca.c rt766_sdca_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 1489336089448030208 |
| 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 | 2055618710664744960 |
| PARAM_VALUE | 2 | port_config->num | 1,3,8,12 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/tac5xx2-sdw.c tac_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 5599192950317039616 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 63211679153659904 |
| PARAM_VALUE | 2 | port_config->num | 1-4,7 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/wsa881x.c wsa881x_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 4096-ptr_max |
| PARAM_VALUE | 3 | num_ports | 0-s32max |
| BUF_SIZE | 2 | port_config | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt715-sdca.c rt715_sdca_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 2008674577810272256 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 3186758460863782912 |
| PARAM_VALUE | 2 | port_config->num | 4,6 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt1318-sdw.c rt1318_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 7901974899796582400 |
| 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 | 6614535489600593920 |
| PARAM_VALUE | 2 | port_config->num | 1-2 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/tas2783-sdw.c tas_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 88411675620954112 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 4670460739394162688 |
| PARAM_VALUE | 2 | port_config->num | 1-2 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| LOCK2 | _T->lock |
sound/soc/codecs/rt722-sdca.c rt722_sdca_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 7155355874745843712 |
| 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 | 8890658964517781504 |
| PARAM_VALUE | 2 | port_config->num | 1-3,6 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt721-sdca.c rt721_sdca_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 7213456033664057344 |
| 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 | 6170860682631888896 |
| PARAM_VALUE | 2 | port_config->num | 1-3,6 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt711-sdca.c rt711_sdca_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 2625888982756847616 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 4254605081460641792 |
| PARAM_VALUE | 2 | port_config->num | 2-4 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt712-sdca.c rt712_sdca_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 7878641171804975104 |
| 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 | 3891923731795427328 |
| PARAM_VALUE | 2 | port_config->num | 1,3-4,8 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/cs42l43-sdw.c cs42l43_sdw_add_peripheral() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config | 6492312272058937344 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 7199317518717382656 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | slave | unit_byte |
sound/soc/codecs/wcd939x-sdw.c wcd939x_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream_config | 4096-ptr_max |
| PARAM_VALUE | 1 | stream_config->bps | 1 |
| PARAM_VALUE | 1 | stream_config->ch_count | 1-u32max |
| PARAM_VALUE | 1 | stream_config->direction | 0-1 |
| PARAM_VALUE | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 6683773610364289024 |
| PARAM_VALUE | 3 | num_ports | 0-s32max |
| BUF_SIZE | 2 | port_config | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt1320-sdw.c rt1320_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 4266415412182216704 |
| 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 | 2291106020814036992 |
| PARAM_VALUE | 2 | port_config->num | 1,4 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt1320-sdw.c rt1320_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 4266415412182216704 |
| 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 | 2 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 2 | port_config | 16 |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt1320-sdw.c rt1320_sdw_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 4266415412182216704 |
| 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 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 2 | port_config | 16 |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt715.c rt715_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 4225495826237140992 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 5601282054895517696 |
| PARAM_VALUE | 2 | port_config->num | 4,6 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/rt712-sdca-dmic.c rt712_sdca_dmic_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 2251747218804809728 |
| PARAM_VALUE | 1 | stream_config->bps | 3-5,8,16,18,20,24,32,64,4294967274 |
| PARAM_VALUE | 1 | stream_config->direction | 1 |
| PARAM_VALUE | 2 | port_config | 6989928979981205504 |
| PARAM_VALUE | 2 | port_config->num | 2 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/sdw-mockup.c sdw_mockup_pcm_hw_params() -> sdw_stream_add_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| PARAM_VALUE | 1 | stream_config | 1956914988715347968 |
| 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 | 1 | stream_config->type | 0 |
| PARAM_VALUE | 2 | port_config | 2212831105899618304 |
| PARAM_VALUE | 2 | port_config->num | 1,8 |
| PARAM_VALUE | 3 | num_ports | 1 |
| PARAM_VALUE | 4 | stream | 1-u64max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | stream | s32min-(-2),1-s32max |
| DATA_SOURCE | 4 | stream | r snd_soc_dai_dma_data_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |