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_ctlr_destroy() -> cpdma_chan_destroy()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/net/ethernet/ti/cpsw_ethtool.c cpsw_update_channels_res() -> cpdma_chan_destroy()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/ti/davinci_emac.c davinci_emac_probe() -> cpdma_chan_destroy()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->ctlr 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->params.num_chan 1-s32max
PARAM_VALUE 0 chan->ctlr->state 0-2
PARAM_VALUE 0 chan->dir 1-2
PARAM_VALUE 0 chan->handler 5853404415851712512
PARAM_VALUE 0 chan->int_clear 140,172
PARAM_VALUE 0 chan->int_set 136,168
PARAM_VALUE 0 chan->rate 0
PARAM_VALUE 0 chan->state 0
PARAM_VALUE 0 chan->td 8,24
PARAM_VALUE 0 chan->weight 0
BUF_SIZE 0 chan 240
BUF_SIZE 0 chan 240
DATA_SOURCE 0 chan r cpdma_chan_create
BIT_INFO 0 chan->int_clear 0x8c,0xffffffffffffffff
BIT_INFO 0 chan->int_set 0x88,0xffffffffffffffff
BIT_INFO 0 chan->td 0x8,0xffffffffffffffff
POWER_OF_TWO 0 *chan
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/ti/davinci_emac.c davinci_emac_probe() -> cpdma_chan_destroy()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->ctlr 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->params.num_chan 1-s32max
PARAM_VALUE 0 chan->ctlr->state 0-2
PARAM_VALUE 0 chan->dir 1-2
PARAM_VALUE 0 chan->handler 8527802604966088704
PARAM_VALUE 0 chan->int_clear 140,172
PARAM_VALUE 0 chan->int_set 136,168
PARAM_VALUE 0 chan->rate 0
PARAM_VALUE 0 chan->state 0
PARAM_VALUE 0 chan->td 8,24
PARAM_VALUE 0 chan->weight 0
BUF_SIZE 0 chan 240
BUF_SIZE 0 chan 240
DATA_SOURCE 0 chan r cpdma_chan_create
BIT_INFO 0 chan->int_clear 0x8c,0xffffffffffffffff
BIT_INFO 0 chan->int_set 0x88,0xffffffffffffffff
BIT_INFO 0 chan->td 0x8,0xffffffffffffffff
POWER_OF_TWO 0 *chan
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/ti/davinci_emac.c davinci_emac_remove() -> cpdma_chan_destroy()

Type Parameter Key Value
PARAM_VALUE 0 chan 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/net/ethernet/ti/davinci_emac.c davinci_emac_remove() -> cpdma_chan_destroy()

Type Parameter Key Value
PARAM_VALUE 0 chan 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex