Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/chipidea/udc.c prepare_td_for_non_sg() -> add_td_to_list()

Type Parameter Key Value
PARAM_VALUE 0 hwep 4096-ptr_max
PARAM_VALUE 0 hwep->ci 4096-ptr_max
PARAM_VALUE 0 hwep->ci->dev 4096-ptr_max
PARAM_VALUE 0 hwep->dir 0-1
PARAM_VALUE 0 hwep->ep.desc 4096-ptr_max
PARAM_VALUE 0 hwep->type 0-3
PARAM_VALUE 1 hwreq 4096-ptr_max
PARAM_VALUE 1 hwreq->queue.next 4096-ptr_max
PARAM_VALUE 1 hwreq->req.actual 0
PARAM_VALUE 1 hwreq->req.length 0
PARAM_VALUE 1 hwreq->req.num_mapped_sgs 0
PARAM_VALUE 1 hwreq->req.status (-114)
PARAM_VALUE 2 length 0
PARAM_VALUE 3 s 0
DATA_SOURCE 0 hwep $0
DATA_SOURCE 1 hwreq $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ci->lock
HALF_LOCKED2 flags
HALF_LOCKED2 hwep->lock

drivers/usb/chipidea/udc.c prepare_td_for_non_sg() -> add_td_to_list()

Type Parameter Key Value
PARAM_VALUE 0 hwep 4096-ptr_max
PARAM_VALUE 0 hwep->ci 4096-ptr_max
PARAM_VALUE 0 hwep->ci->dev 4096-ptr_max
PARAM_VALUE 0 hwep->dir 0-1
PARAM_VALUE 0 hwep->ep.desc 4096-ptr_max
PARAM_VALUE 0 hwep->type 0-3
PARAM_VALUE 1 hwreq 4096-ptr_max
PARAM_VALUE 1 hwreq->queue.next 4096-ptr_max
PARAM_VALUE 1 hwreq->req.length 1-u32max
PARAM_VALUE 1 hwreq->req.num_mapped_sgs 0
PARAM_VALUE 1 hwreq->req.status (-114)
PARAM_VALUE 2 length 0-20480
PARAM_VALUE 3 s 0
CAPPED_DATA 2 length 1
DATA_SOURCE 0 hwep $0
DATA_SOURCE 1 hwreq $1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte
HALF_LOCKED2 &ci->lock
HALF_LOCKED2 flags
HALF_LOCKED2 hwep->lock

drivers/usb/chipidea/udc.c prepare_td_for_non_sg() -> add_td_to_list()

Type Parameter Key Value
PARAM_VALUE 0 hwep 4096-ptr_max
PARAM_VALUE 0 hwep->ci 4096-ptr_max
PARAM_VALUE 0 hwep->ci->dev 4096-ptr_max
PARAM_VALUE 0 hwep->dir 1
PARAM_VALUE 0 hwep->ep.desc 4096-ptr_max
PARAM_VALUE 0 hwep->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hwep->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hwep->td_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hwep->td_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 hwep->td_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hwep->td_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 hwep->td_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 hwep->td_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hwep->td_pool->size 0-s32max
PARAM_VALUE 0 hwep->type 0-3
PARAM_VALUE 1 hwreq 4096-ptr_max
PARAM_VALUE 1 hwreq->queue.next 4096-ptr_max
PARAM_VALUE 1 hwreq->req.length 1-u32max
PARAM_VALUE 1 hwreq->req.num_mapped_sgs 0
PARAM_VALUE 1 hwreq->req.status (-114)
PARAM_VALUE 1 hwreq->req.zero 1
PARAM_VALUE 1 hwreq->tds.next 4096-ptr_max
PARAM_VALUE 1 hwreq->tds.prev 4096-ptr_max
PARAM_VALUE 2 length 0
PARAM_VALUE 3 s 0
CAPPED_DATA 0 hwep->td_pool->size 1
DATA_SOURCE 0 hwep $0
DATA_SOURCE 1 hwreq $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ci->lock
HALF_LOCKED2 flags
HALF_LOCKED2 hwep->lock

drivers/usb/chipidea/udc.c prepare_td_per_sg() -> add_td_to_list()

Type Parameter Key Value
PARAM_VALUE 0 hwep 4096-ptr_max
PARAM_VALUE 0 hwep->ci 4096-ptr_max
PARAM_VALUE 0 hwep->ci->dev 4096-ptr_max
PARAM_VALUE 0 hwep->ci->dev->parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 hwep->dir 0-1
PARAM_VALUE 0 hwep->ep.desc 4096-ptr_max
PARAM_VALUE 0 hwep->type 0-3
PARAM_VALUE 1 hwreq 4096-ptr_max
PARAM_VALUE 1 hwreq->queue.next 4096-ptr_max
PARAM_VALUE 1 hwreq->req.length 1-u32max
PARAM_VALUE 1 hwreq->req.num_mapped_sgs 1-u32max
PARAM_VALUE 1 hwreq->req.status (-114)
PARAM_VALUE 1 hwreq->req.zero 0
PARAM_VALUE 2 length 1-20480
PARAM_VALUE 3 s 4096-ptr_max
CAPPED_DATA 2 length 1
DATA_SOURCE 0 hwep $0
DATA_SOURCE 1 hwreq $1
DATA_SOURCE 3 s $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte
UNITS 3 s unit_byte
HALF_LOCKED2 &ci->lock
HALF_LOCKED2 flags
HALF_LOCKED2 hwep->lock