Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/ethernet/ti/cpsw.c cpsw_probe() -> cpdma_chan_create()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->chan_num 0
PARAM_VALUE 0 ctlr->dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctlr->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctlr->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->params.desc_align 16
PARAM_VALUE 0 ctlr->params.dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.min_packet_size 60
PARAM_VALUE 0 ctlr->params.num_chan s32min-64
PARAM_VALUE 0 ctlr->params.rxcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxfree s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxhdp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxthresh s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.txcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->pool->cpumap->_refcount.counter s32min-s32max
PARAM_VALUE 0 ctlr->pool->cpumap->page_type 0-4294967295
PARAM_VALUE 0 ctlr->state 0
PARAM_VALUE 1 chan_num 0,7
PARAM_VALUE 3 rx_type 0
FUZZY_MAX 1 chan_num 7
HARD_MAX 1 chan_num 7
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/ti/cpsw.c cpsw_probe() -> cpdma_chan_create()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->chan_num s32min-s32max
PARAM_VALUE 0 ctlr->dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctlr->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctlr->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->params.desc_align 16
PARAM_VALUE 0 ctlr->params.dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.min_packet_size 60
PARAM_VALUE 0 ctlr->params.num_chan s32min-64
PARAM_VALUE 0 ctlr->params.rxcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxfree s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxhdp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxthresh s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.txcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->pool->cpumap->_refcount.counter s32min-s32max
PARAM_VALUE 0 ctlr->pool->cpumap->page_type 0-4294967295
PARAM_VALUE 0 ctlr->state 0
PARAM_VALUE 1 chan_num 0
PARAM_VALUE 3 rx_type 1
CAPPED_DATA 0 ctlr->params.num_chan 1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/ti/cpsw_new.c cpsw_probe() -> cpdma_chan_create()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->chan_num 0
PARAM_VALUE 0 ctlr->dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctlr->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctlr->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->params.desc_align 16
PARAM_VALUE 0 ctlr->params.dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.min_packet_size 60
PARAM_VALUE 0 ctlr->params.num_chan s32min-64
PARAM_VALUE 0 ctlr->params.rxcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxfree s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxhdp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxthresh s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.txcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->pool->cpumap->_refcount.counter s32min-s32max
PARAM_VALUE 0 ctlr->pool->cpumap->page_type 0-4294967295
PARAM_VALUE 0 ctlr->state 0
PARAM_VALUE 1 chan_num 0,7
PARAM_VALUE 3 rx_type 0
FUZZY_MAX 1 chan_num 7
HARD_MAX 1 chan_num 7
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/ti/cpsw_new.c cpsw_probe() -> cpdma_chan_create()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->chan_num s32min-s32max
PARAM_VALUE 0 ctlr->dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctlr->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctlr->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->params.desc_align 16
PARAM_VALUE 0 ctlr->params.dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.min_packet_size 60
PARAM_VALUE 0 ctlr->params.num_chan s32min-64
PARAM_VALUE 0 ctlr->params.rxcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxfree s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxhdp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxthresh s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.txcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->pool->cpumap->_refcount.counter s32min-s32max
PARAM_VALUE 0 ctlr->pool->cpumap->page_type 0-4294967295
PARAM_VALUE 0 ctlr->state 0
PARAM_VALUE 1 chan_num 0
PARAM_VALUE 3 rx_type 1
CAPPED_DATA 0 ctlr->params.num_chan 1
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 ctlr->chan_num s32min-s32max
PARAM_VALUE 3 rx_type 0-1
DATA_SOURCE 3 rx_type $2
HARD_MAX 3 rx_type 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 chan_num unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->chan_num 0
PARAM_VALUE 0 ctlr->dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctlr->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctlr->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ctlr->params.desc_align 16
PARAM_VALUE 0 ctlr->params.desc_hw_addr 0
PARAM_VALUE 0 ctlr->params.dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.min_packet_size 60
PARAM_VALUE 0 ctlr->params.num_chan s32min-64
PARAM_VALUE 0 ctlr->params.rxcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxfree s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxhdp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxthresh s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.txcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->pool->desc_size 0,32
PARAM_VALUE 0 ctlr->state 0
PARAM_VALUE 1 chan_num 0
PARAM_VALUE 3 rx_type 0
BUF_SIZE 0 ctlr 1256
BUF_SIZE 0 ctlr 1256
DATA_SOURCE 0 ctlr r cpdma_ctlr_create
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->chan_num s32min-s32max
PARAM_VALUE 0 ctlr->dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctlr->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctlr->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ctlr->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->params.desc_align 16
PARAM_VALUE 0 ctlr->params.desc_hw_addr 0
PARAM_VALUE 0 ctlr->params.dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.min_packet_size 60
PARAM_VALUE 0 ctlr->params.num_chan 1-64
PARAM_VALUE 0 ctlr->params.rxcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxfree s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxhdp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.rxthresh s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->params.txcp s64min-(-4096),4096-s64max
PARAM_VALUE 0 ctlr->pool->desc_size 0,32
PARAM_VALUE 0 ctlr->state 0
PARAM_VALUE 1 chan_num 0
PARAM_VALUE 3 rx_type 1
BUF_SIZE 0 ctlr 1256
BUF_SIZE 0 ctlr 1256
CAPPED_DATA 0 ctlr->params.num_chan 1
DATA_SOURCE 0 ctlr r cpdma_ctlr_create
RX_PATH
TASK_NOT_RUNNING