Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mailbox/mailbox-th1520.c th1520_mbox_init_generic() -> th1520_mbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ctx | 1-u64max |
| PARAM_VALUE | 0 | priv->cur_cpu_ch_base | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->irq | 1-s32max |
| PARAM_VALUE | 0 | priv->mbox.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mbox.dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mbox.num_chans | 4 |
| PARAM_VALUE | 0 | priv->mbox.of_xlate | 7277150989486616576 |
| PARAM_VALUE | 0 | priv->mbox.ops | 5997208683231121408 |
| PARAM_VALUE | 0 | priv->mbox.txdone_irq | 1 |
| PARAM_VALUE | 1 | val | 255 |
| PARAM_VALUE | 2 | offs | 4 |
| BUF_SIZE | 0 | priv | 2208 |
| BUF_SIZE | 0 | priv->ctx | 16 |
| BUF_SIZE | 0 | priv->dev | 1616 |
| BUF_SIZE | 0 | priv->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv->mbox.chans | 1536 |
| BUF_SIZE | 0 | priv->mbox.dev | 1616 |
| BUF_SIZE | 0 | priv->mbox.ops | 48 |
| DATA_SOURCE | 0 | priv | $0 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->ctx | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mailbox/mailbox-th1520.c th1520_mbox_init_generic() -> th1520_mbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ctx | 1-u64max |
| PARAM_VALUE | 0 | priv->cur_cpu_ch_base | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->irq | 1-s32max |
| PARAM_VALUE | 0 | priv->mbox.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mbox.dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mbox.num_chans | 4 |
| PARAM_VALUE | 0 | priv->mbox.of_xlate | 7277150989486616576 |
| PARAM_VALUE | 0 | priv->mbox.ops | 5997208683231121408 |
| PARAM_VALUE | 0 | priv->mbox.txdone_irq | 1 |
| PARAM_VALUE | 1 | val | 0 |
| PARAM_VALUE | 2 | offs | 12 |
| BUF_SIZE | 0 | priv | 2208 |
| BUF_SIZE | 0 | priv->ctx | 16 |
| BUF_SIZE | 0 | priv->dev | 1616 |
| BUF_SIZE | 0 | priv->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv->mbox.chans | 1536 |
| BUF_SIZE | 0 | priv->mbox.dev | 1616 |
| BUF_SIZE | 0 | priv->mbox.ops | 48 |
| DATA_SOURCE | 0 | priv | $0 |
| MEM_ZERO | 0 | priv | |
| MEM_ZERO | 0 | priv->ctx | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mailbox/mailbox-th1520.c th1520_mbox_rmw() -> th1520_mbox_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->irq | (-4095)-s32max |
| PARAM_VALUE | 2 | offs | 4,12 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | offs | $1 |
| HARD_MAX | 2 | offs | 12 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max[c] |
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->mbox_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct th1520_mbox_priv)->mbox_lock |