Defined in 21 files as a member:

Defined in 1 files as a function:

Referenced in 44 files:

Smatch caller information:

drivers/mailbox/ast2700-mailbox.c ast2700_mbox_last_tx_done() -> ch_num()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
DATA_SOURCE 0 chan $0
TASK_NOT_RUNNING
HALF_LOCKED2 irq

drivers/mailbox/ast2700-mailbox.c ast2700_mbox_send_data() -> ch_num()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
DATA_SOURCE 0 chan $0
STR_LEN 0 chan (-1),4,6
STR_LEN 0 chan (-1),4,6
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation
LOCK2 irq
LOCK2 0 &chan->lock
TYPE_LOCK (struct mbox_chan)->lock

drivers/mailbox/ast2700-mailbox.c ast2700_mbox_shutdown() -> ch_num()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
BUF_SIZE 0 chan s32min-(-1),1-s32max
BUF_SIZE 0 chan s32min-(-1),1-s32max
BUF_SIZE 0 chan->cl (-1),56
DATA_SOURCE 0 chan $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex

drivers/mailbox/ast2700-mailbox.c ast2700_mbox_startup() -> ch_num()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
DATA_SOURCE 0 chan $0
STR_LEN 0 chan (-1),2-5,7
STR_LEN 0 chan (-1),2-5,7
STR_LEN 0 chan->cl (-1),2-5,7
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock