Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- sound/soc/sof/amd/acp-ipc.c, line 206
- sound/soc/sof/intel/cnl.c
- sound/soc/sof/intel/hda-ipc.c
- sound/soc/sof/intel/mtl.c, line 625
- sound/soc/sof/ipc.c, line 143
- sound/soc/sof/sof-priv.h, line 767
Smatch caller information:
sound/soc/sof/imx/imx-common.c snd_sof_ipc_process_reply() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 1 | msg_id | 0 |
| DATA_SOURCE | 0 | sdev | $0 |
| DATA_SOURCE | 1 | msg_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &thread->chan->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/hda-ipc.c hda_dsp_ipc4_irq_thread() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->fw_state | 7 |
| PARAM_VALUE | 0 | sdev->ipc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->msg.reply_data | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_id | 0-s32max |
| DATA_SOURCE | 0 | sdev | $1 |
| BIT_INFO | 1 | msg_id | 0x20000000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| HOST_DATA | 1 | msg_id | 0-s32max |
| UNITS | 1 | msg_id | unit_array_size |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/hda-ipc.c hda_dsp_ipc_irq_thread() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->fw_state | 7 |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_id | 0-s32max |
| DATA_SOURCE | 0 | sdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| HOST_DATA | 1 | msg_id | 0-s32max |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/cnl.c cnl_ipc4_irq_thread() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->fw_state | 7 |
| PARAM_VALUE | 0 | sdev->ipc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->msg.reply_data | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_id | 0-s32max |
| DATA_SOURCE | 0 | sdev | $1 |
| BIT_INFO | 1 | msg_id | 0x20000000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| HOST_DATA | 1 | msg_id | 0-s32max |
| UNITS | 1 | msg_id | unit_array_size |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/cnl.c cnl_ipc_irq_thread() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->fw_state | 7 |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_id | 0-s32max |
| DATA_SOURCE | 0 | sdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| HOST_DATA | 1 | msg_id | 0-s32max |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/mtl.c mtl_ipc_irq_thread() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->fw_state | 7 |
| PARAM_VALUE | 0 | sdev->ipc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->msg.reply_data | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_id | 0-s32max |
| DATA_SOURCE | 0 | sdev | $1 |
| BIT_INFO | 1 | msg_id | 0x20000000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| HOST_DATA | 1 | msg_id | 0-s32max |
| UNITS | 1 | msg_id | unit_array_size |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/atom.c snd_sof_ipc_process_reply() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | $0 |
| DATA_SOURCE | 1 | msg_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| HOST_DATA | 1 | msg_id | 0-u32max |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/mediatek/mtk-adsp-common.c snd_sof_ipc_process_reply() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 1 | msg_id | 0 |
| DATA_SOURCE | 0 | sdev | $0 |
| DATA_SOURCE | 1 | msg_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &thread->chan->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/bdw.c snd_sof_ipc_process_reply() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->reply_size | 0-u32max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | $0 |
| DATA_SOURCE | 1 | msg_id | $1 |
| BIT_INFO | 1 | msg_id | 0x40000000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| HOST_DATA | 0 | *sdev->msg->reply_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| HOST_DATA | 1 | msg_id | 0-u32max |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/amd/acp-ipc.c acp_sof_ipc_irq_thread() -> snd_sof_ipc_reply()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sdev->debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sdev->fw_state | 7 |
| PARAM_VALUE | 0 | sdev->ipc->max_payload_size | 0,384,4096 |
| PARAM_VALUE | 0 | sdev->ipc->msg.rx_data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops->pm | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops->rx_msg | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops->tplg | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->ipc->ops->tx_msg | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->msg->reply_error | s32min-0 |
| PARAM_VALUE | 0 | sdev->msg->rx_data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->pdata->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_id | 0 |
| DATA_SOURCE | 0 | sdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->ipc->msg.rx_data->data_ptr | (-4611686018427387904)-4611686018427387903 |
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |