Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 22 files:

Smatch caller information:

drivers/soc/qcom/qcom_aoss.c qmp_kick() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 0,4096-ptr_max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation
HALF_LOCKED2 &qmp->tx_lock

drivers/rpmsg/qcom_smd.c qcom_smd_signal_channel() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &channel->recv_lock
HALF_LOCKED2 &channel->tx_lock
HALF_LOCKED2 flags

drivers/rpmsg/qcom_glink_rpm.c glink_rpm_tx_kick() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 0,4096-ptr_max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &glink->tx_lock
HALF_LOCKED2 flags

drivers/acpi/cppc_acpi.c send_pcc_cmd() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->cl 4096-ptr_max
PARAM_VALUE 0 chan->con_priv->chan_in_use 1
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 chan->con_priv->control_scb->cache_dirty 1
PARAM_VALUE 0 chan->con_priv->dir 1
PARAM_VALUE 0 chan->con_priv->pdc_requests 0-4294967295
PARAM_VALUE 0 chan->con_priv->pdev->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 chan->con_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->resp_offset 0-u16max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->con_priv->rx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->rx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxout 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->txnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->txout 0-4294967295
PARAM_VALUE 0 chan->mbox 4096-ptr_max
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->node.__rb_parent_color 1
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->prev 0
PARAM_VALUE 0 chan->mbox->poll_hrt.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 chan->mbox->poll_hrt.node.node.node.rb_left 4096-ptr_max
PARAM_VALUE 0 chan->mbox->poll_hrt.node.node.node.rb_right 4096-ptr_max
PARAM_VALUE 0 chan->tx_complete.done 0-4294967293,u32max
PARAM_VALUE 0 chan->tx_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chan->tx_complete.wait.lock.owner (-1)
PARAM_VALUE 0 chan->tx_complete.wait.lock.owner_cpu u32max
PARAM_VALUE 0 chan->tx_complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 chan->tx_complete.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *chan->con_priv->control_scb->cache->data 0-4294967295
PARAM_VALUE 0 *chan->con_priv->txin_numd 0-4294967295
PARAM_VALUE 0 *chan->msg_data 0-s64max
PARAM_VALUE 1 r (-110),(-5),0
DATA_SOURCE 1 r r check_pcc_chan
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &pcc_ss_data->pcc_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct cppc_pcc_data)->pcc_lock

drivers/clk/clk-rpmi.c rpmi_mbox_send_message() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->con_priv->chan_in_use 1
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 chan->con_priv->control_scb->cache_dirty 1
PARAM_VALUE 0 chan->con_priv->dir 1
PARAM_VALUE 0 chan->con_priv->pdc_requests 0-4294967295
PARAM_VALUE 0 chan->con_priv->pdev->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 chan->con_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->resp_offset 0-u16max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->con_priv->rx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->rx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxout 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->txnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->txout 0-4294967295
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->node.__rb_parent_color 1
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->prev 0
PARAM_VALUE 0 chan->mbox->poll_hrt.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 chan->msg_count 0-4294967295
PARAM_VALUE 0 chan->msg_free 0-4294967295
PARAM_VALUE 0 *chan->active_req (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *chan->con_priv->control_scb->cache->data 0-4294967295
PARAM_VALUE 0 *chan->con_priv->txin_numd 0-4294967295
PARAM_VALUE 0 *chan->msg_data 0-s64max
PARAM_VALUE 1 r 0
DATA_SOURCE 0 chan $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation

drivers/soc/qcom/smp2p.c qcom_smp2p_kick() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation

drivers/gpu/drm/mediatek/mtk_crtc.c mtk_crtc_update_config() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
PARAM_VALUE 0 chan->mbox->dev 4096-ptr_max
PARAM_VALUE 0 chan->mbox->dev->flags 4096-ptr_max
PARAM_VALUE 0 chan->mbox->dev->power.request 0-4
PARAM_VALUE 0 chan->mbox->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 chan->mbox->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 chan->mbox->ops 4096-ptr_max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mtk_crtc->hw_lock
TYPE_LOCK (struct mtk_crtc)->hw_lock

drivers/soc/hisilicon/kunpeng_hccs.c hccs_pcc_cmd_send() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 1 r s32min-0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &hdev->lock
HALF_LOCKED2 &of->mutex

drivers/soc/qcom/smsm.c smsm_update_bits() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ch->lock
HALF_LOCKED2 flags

drivers/firmware/arm_scmi/transports/mailbox.c mailbox_clear_channel() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 1 r s32min-0
FUZZY_MAX 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &vioch->pending_lock
HALF_LOCKED2 flags

drivers/firmware/arm_scmi/transports/mailbox.c mailbox_mark_txdone() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 1 r (-121),(-110),(-95),(-71)-(-70),(-34),(-22),(-16),(-13),(-5),(-2),0
DATA_SOURCE 1 r $1
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cinfo->transport_info->chan_lock

drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c mdp_cmdq_send() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/rpmsg/qcom_glink_smem.c glink_smem_tx_kick() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 0,4096-ptr_max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &glink->tx_lock
HALF_LOCKED2 flags

drivers/firmware/samsung/exynos-acpm.c acpm_do_xfer() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->con_priv->chan_in_use 1
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 chan->con_priv->control_scb->cache_dirty 1
PARAM_VALUE 0 chan->con_priv->dir 1
PARAM_VALUE 0 chan->con_priv->pdc_requests 0-4294967295
PARAM_VALUE 0 chan->con_priv->pdev->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 chan->con_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->resp_offset 0-u16max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->con_priv->rx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->rx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxout 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->txnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->txout 0-4294967295
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->node.__rb_parent_color 1
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->prev 0
PARAM_VALUE 0 chan->mbox->poll_hrt.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 chan->msg_count 0-4294967295
PARAM_VALUE 0 chan->msg_free 0-4294967295
PARAM_VALUE 0 chan->tx_complete.done 0-4294967293,4294967295
PARAM_VALUE 0 chan->tx_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chan->tx_complete.wait.lock.owner (-1)
PARAM_VALUE 0 chan->tx_complete.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 *chan->active_req (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *chan->con_priv->control_scb->cache->data 0-4294967295
PARAM_VALUE 0 *chan->con_priv->txin_numd 0-4294967295
PARAM_VALUE 0 *chan->msg_data 0-s64max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

drivers/dma/bcm-sba-raid.c sba_send_mbox_request() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->con_priv->chan_in_use 1
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 chan->con_priv->control_scb->cache_dirty 1
PARAM_VALUE 0 chan->con_priv->dir 1
PARAM_VALUE 0 chan->con_priv->pdc_requests 0-4294967295
PARAM_VALUE 0 chan->con_priv->pdev->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 chan->con_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->resp_offset 0-u16max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->con_priv->rx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->rx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxout 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->txnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->txout 0-4294967295
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->node.__rb_parent_color 1
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->prev 0
PARAM_VALUE 0 chan->mbox->poll_hrt.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 chan->msg_count 0-4294967295
PARAM_VALUE 0 chan->msg_free 0-4294967295
PARAM_VALUE 0 chan->tx_complete.done 0-4294967293,4294967295
PARAM_VALUE 0 chan->tx_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chan->tx_complete.wait.lock.owner (-1)
PARAM_VALUE 0 chan->tx_complete.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 *chan->active_req (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *chan->con_priv->control_scb->cache->data 0-4294967295
PARAM_VALUE 0 *chan->con_priv->txin_numd 0-4294967295
PARAM_VALUE 0 *chan->msg_data 0-s64max
PARAM_VALUE 1 r 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sba->reqs_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sba_device)->reqs_lock

drivers/firmware/ti_sci.c ti_sci_do_xfer() -> mbox_client_txdone()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->con_priv->chan_in_use 1
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 chan->con_priv->control_scb->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 chan->con_priv->control_scb->cache_dirty 1
PARAM_VALUE 0 chan->con_priv->dir 1
PARAM_VALUE 0 chan->con_priv->pdc_requests 0-4294967295
PARAM_VALUE 0 chan->con_priv->pdev->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 chan->con_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->resp_offset 0-u16max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->con_priv->rx_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->con_priv->rx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->rx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->rxout 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_msg_start 0-4294967295
PARAM_VALUE 0 chan->con_priv->tx_ring_full 0-4294967295
PARAM_VALUE 0 chan->con_priv->txnobuf 0-4294967295
PARAM_VALUE 0 chan->con_priv->txout 0-4294967295
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->node.__rb_parent_color 1
PARAM_VALUE 0 chan->mbox->poll_hrt.base->active.rb_root.rb_leftmost->prev 0
PARAM_VALUE 0 chan->mbox->poll_hrt.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 chan->msg_count 0-4294967295
PARAM_VALUE 0 chan->msg_free 0-4294967295
PARAM_VALUE 0 chan->tx_complete.done 0-4294967293,4294967295
PARAM_VALUE 0 chan->tx_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chan->tx_complete.wait.lock.owner (-1)
PARAM_VALUE 0 chan->tx_complete.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 *chan->active_req (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *chan->con_priv->control_scb->cache->data 0-4294967295
PARAM_VALUE 0 *chan->con_priv->txin_numd 0-4294967295
PARAM_VALUE 0 *chan->msg_data 0-s64max
PARAM_VALUE 1 r (-110),0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &info->minfo.sem_xfer_count
HALF_LOCKED2 &control->lock
TYPE_LOCK (struct ti_sci_xfers_info)->sem_xfer_count