Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- sound/soc/sof/imx/imx-common.c
- sound/soc/sof/intel/atom.c, line 183
- sound/soc/sof/intel/bdw.c
- sound/soc/sof/intel/byt.c
- sound/soc/sof/intel/cnl.c
- sound/soc/sof/intel/hda-common-ops.c, line 32
- sound/soc/sof/intel/hda-ipc.c
- sound/soc/sof/intel/mtl.c, line 113
- sound/soc/sof/intel/pci-tng.c, line 151
- sound/soc/sof/iomem-utils.c, line 61
- sound/soc/sof/ipc4-mtrace.c, line 257
- sound/soc/sof/mediatek/mt8186/mt8186.c, line 397
- sound/soc/sof/mediatek/mt8195/mt8195.c, line 421
- sound/soc/sof/mediatek/mtk-adsp-common.c, line 96
Smatch caller information:
sound/soc/sof/imx/imx-common.c imx_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 2 | message | 4096-ptr_max |
| BUF_SIZE | 0 | sdev->msg | 136 |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| CAPPED_DATA | 0 | sdev->msg->msg_size | 1 |
| CAPPED_DATA | 0 | sdev->msg->reply_size | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/hda-ipc.c hda_dsp_ipc4_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 3 | bytes | 1-u64max |
| BUF_SIZE | 0 | sdev->msg | (-1),136 |
| BUF_SIZE | 2 | message | 1-s32max |
| DATA_SOURCE | 0 | sdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | message | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &sdev->ipc_lock |
sound/soc/sof/intel/hda-ipc.c hda_dsp_ipc_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 2 | message | 4096-ptr_max |
| BUF_SIZE | 0 | sdev->msg | 136 |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| CAPPED_DATA | 0 | sdev->msg->msg_size | 1 |
| CAPPED_DATA | 0 | sdev->msg->reply_size | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/cnl.c cnl_ipc4_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 3 | bytes | 1-u64max |
| BUF_SIZE | 0 | sdev->msg | (-1),136 |
| BUF_SIZE | 2 | message | 1-s32max |
| DATA_SOURCE | 0 | sdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | message | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &sdev->ipc_lock |
sound/soc/sof/intel/cnl.c cnl_ipc_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 2 | message | 4096-ptr_max |
| BUF_SIZE | 0 | sdev->msg | 136 |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| CAPPED_DATA | 0 | sdev->msg->msg_size | 1 |
| CAPPED_DATA | 0 | sdev->msg->reply_size | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/mtl.c mtl_ipc_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 3 | bytes | 1-u64max |
| BUF_SIZE | 0 | sdev->msg | (-1),136 |
| BUF_SIZE | 2 | message | 1-s32max |
| DATA_SOURCE | 0 | sdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *sdev->msg->reply_data | (-4611686018427387904)-s32max |
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | message | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &sdev->ipc_lock |
sound/soc/sof/ipc4-mtrace.c sof_ipc4_mtrace_dfs_read() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-4294967294 |
| PARAM_VALUE | 2 | message | 5400961646269984768 |
| PARAM_VALUE | 3 | bytes | 4 |
| BUF_SIZE | 2 | message | 4 |
| NOCHECK_CALL | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 3 | bytes | unit_byte |
sound/soc/sof/intel/atom.c atom_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 2 | message | 4096-ptr_max |
| BUF_SIZE | 0 | sdev->msg | 136 |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| CAPPED_DATA | 0 | sdev->msg->msg_size | 1 |
| CAPPED_DATA | 0 | sdev->msg->reply_size | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/mediatek/mtk-adsp-common.c mtk_adsp_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 2 | message | 4096-ptr_max |
| BUF_SIZE | 0 | sdev->msg | 136 |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| CAPPED_DATA | 0 | sdev->msg->msg_size | 1 |
| CAPPED_DATA | 0 | sdev->msg->reply_size | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |
sound/soc/sof/intel/bdw.c bdw_send_msg() -> sof_mailbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 2 | message | 4096-ptr_max |
| BUF_SIZE | 0 | sdev->msg | 136 |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| BUF_SIZE | 2 | message | (-1),1-s32max |
| CAPPED_DATA | 0 | sdev->msg->msg_size | 1 |
| CAPPED_DATA | 0 | sdev->msg->reply_size | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| CAPPED_DATA | 3 | bytes | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | offset | unit_byte |
| UNITS | 3 | bytes | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sdev->ipc_lock | |
| TYPE_LOCK | (struct snd_sof_dev)->ipc_lock |