Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/ti/davinci_cpdma.c cpdma_chan_destroy() -> cpdma_chan_stop()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->ctlr->params.desc_align 0,16
PARAM_VALUE 0 chan->ctlr->params.min_packet_size 0,60
PARAM_VALUE 0 chan->ctlr->state 0-2
PARAM_VALUE 0 chan->state 1-u32max
DATA_SOURCE 0 chan $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctlr->lock
LOCK2 flags
HALF_LOCKED2 &_dev->mutex
TYPE_LOCK (struct cpdma_ctlr)->lock

drivers/net/ethernet/ti/davinci_cpdma.c cpdma_ctlr_stop() -> cpdma_chan_stop()

Type Parameter Key Value
PARAM_VALUE 0 chan 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/ti/davinci_emac.c emac_dev_tx_timeout() -> cpdma_chan_stop()

Type Parameter Key Value
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ndev->tx_global_lock

drivers/net/ethernet/ti/cpsw_priv.c cpsw_ndo_tx_timeout() -> cpdma_chan_stop()

Type Parameter Key Value
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ndev->tx_global_lock