Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- sound/soc/intel/atom/sst/sst.c, line 148
- sound/soc/intel/atom/sst/sst_drv_interface.c, line 270
- sound/soc/intel/atom/sst/sst_stream.c
Smatch caller information:
sound/soc/intel/atom/sst/sst_drv_interface.c sst_cdev_set_metadata() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->info.max_streams | 1-u32max |
| PARAM_VALUE | 1 | task_id | 0,3,255 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 18 |
| PARAM_VALUE | 4 | pipe_id | 0,14,143-144,156,255 |
| PARAM_VALUE | 5 | mbox_data_len | 36 |
| PARAM_VALUE | 6 | mbox_data | 2400551630440243200 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 1 |
| PARAM_VALUE | 11 | response | 0 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| DATA_SOURCE | 6 | mbox_data | $2 |
| UNITS | 0 | sst | unit_byte |
| UNITS | 5 | mbox_data_len | unit_byte |
| LOCK2 | _T->lock |
sound/soc/intel/atom/sst/sst_stream.c sst_drain_stream() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->info.max_streams | 1-u32max |
| PARAM_VALUE | 1 | task_id | 0,3,255 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 8 |
| PARAM_VALUE | 4 | pipe_id | 0,14,143-144,156,255 |
| PARAM_VALUE | 5 | mbox_data_len | 1 |
| PARAM_VALUE | 6 | *mbox_data | 0-1 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 0 |
| PARAM_VALUE | 11 | response | 0 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst | unit_byte |
| UNITS | 5 | mbox_data_len | unit_byte |
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/atom/sst/sst_stream.c sst_drop_stream() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->info.max_streams | 1-u32max |
| PARAM_VALUE | 1 | task_id | 0,3,255 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 7 |
| PARAM_VALUE | 4 | pipe_id | 0,14,143-144,156,255 |
| PARAM_VALUE | 5 | mbox_data_len | 0 |
| PARAM_VALUE | 6 | mbox_data | 0 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 1 |
| PARAM_VALUE | 11 | response | 0 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst | unit_byte |
sound/soc/intel/atom/sst/sst_stream.c sst_free_stream() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sst->info.max_streams | 1-u32max |
| PARAM_VALUE | 0 | sst->sst_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sst->sst_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sst->sst_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sst->sst_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sst->sst_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | sst->sst_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | sst->sst_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | sst->sst_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sst->sst_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sst->sst_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sst->sst_state | s32min-2,4-s32max |
| PARAM_VALUE | 1 | task_id | 0,3,255 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 3 |
| PARAM_VALUE | 4 | pipe_id | 0,14,143-144,156,255 |
| PARAM_VALUE | 5 | mbox_data_len | 0 |
| PARAM_VALUE | 6 | mbox_data | 0 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 0 |
| PARAM_VALUE | 11 | response | 1 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &sst->sst_lock | 1 |
| DATA_SOURCE | 0 | sst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst | unit_byte |
sound/soc/intel/atom/sst/sst_stream.c sst_pause_stream() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->info.max_streams | 1-u32max |
| PARAM_VALUE | 1 | task_id | 0,3,255 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 4 |
| PARAM_VALUE | 4 | pipe_id | 0,14,143-144,156,255 |
| PARAM_VALUE | 5 | mbox_data_len | 0 |
| PARAM_VALUE | 6 | mbox_data | 0 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 0 |
| PARAM_VALUE | 11 | response | 1 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst | unit_byte |
sound/soc/intel/atom/sst/sst_stream.c sst_realloc_stream() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sst->info.max_streams | 1-u32max |
| PARAM_VALUE | 0 | sst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->streams | 4096-ptr_max |
| PARAM_VALUE | 1 | task_id | 0,3,255 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 2 |
| PARAM_VALUE | 4 | pipe_id | 0,14,143-144,156,255 |
| PARAM_VALUE | 5 | mbox_data_len | 100 |
| PARAM_VALUE | 6 | mbox_data | 4096-ptr_max |
| PARAM_VALUE | 7 | data | 2814267647662239744 |
| PARAM_VALUE | 7 | *data | 0 |
| PARAM_VALUE | 7 | *(*data) | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 0 |
| PARAM_VALUE | 11 | response | 1 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | mbox_data | 100 |
| DATA_SOURCE | 0 | sst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst | unit_byte |
| UNITS | 5 | mbox_data_len | unit_byte |
sound/soc/intel/atom/sst/sst_stream.c sst_resume_stream() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->info.max_streams | 1-u32max |
| PARAM_VALUE | 1 | task_id | 0,3,255 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 5 |
| PARAM_VALUE | 4 | pipe_id | 0,14,143-144,156,255 |
| PARAM_VALUE | 5 | mbox_data_len | 0 |
| PARAM_VALUE | 6 | mbox_data | 0 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 0 |
| PARAM_VALUE | 11 | response | 1 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst | unit_byte |
sound/soc/intel/atom/sst/sst_stream.c sst_start_stream() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->info.max_streams | 1-u32max |
| PARAM_VALUE | 1 | task_id | 0,3,255 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 6 |
| PARAM_VALUE | 4 | pipe_id | 0,14,143-144,156,255 |
| PARAM_VALUE | 5 | mbox_data_len | 2 |
| PARAM_VALUE | 6 | mbox_data | 337527003005292544 |
| PARAM_VALUE | 6 | *mbox_data | 0 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 1 |
| PARAM_VALUE | 11 | response | 0 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | mbox_data | 2 |
| DATA_SOURCE | 0 | sst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst | unit_byte |
| UNITS | 5 | mbox_data_len | unit_byte |
sound/soc/intel/atom/sst/sst.c sst_save_dsp_context_v2() -> sst_prepare_and_post_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst | 4096-ptr_max |
| PARAM_VALUE | 0 | sst->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | task_id | 3 |
| PARAM_VALUE | 2 | ipc_msg | 1 |
| PARAM_VALUE | 3 | cmd_id | 16 |
| PARAM_VALUE | 4 | pipe_id | 255 |
| PARAM_VALUE | 5 | mbox_data_len | 0 |
| PARAM_VALUE | 6 | mbox_data | 0 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | large | 1 |
| PARAM_VALUE | 9 | fill_dsp | 1 |
| PARAM_VALUE | 10 | sync | 0 |
| PARAM_VALUE | 11 | response | 1 |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |