Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xhci-ring.c xhci_queue_bulk_tx() -> giveback_first_trb()

Type Parameter Key Value
PARAM_VALUE 0 xhci 4096-ptr_max
PARAM_VALUE 0 xhci->devs 4096-ptr_max
PARAM_VALUE 0 xhci->max_slots 1-255
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 xhci->segment_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 xhci->segment_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 xhci->segment_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 slot_id s32min-(-1),1-s32max
PARAM_VALUE 2 ep_index 0-30
BUF_SIZE 5 start_trb 16
DATA_SOURCE 0 xhci $0
DATA_SOURCE 1 slot_id $3
DATA_SOURCE 2 ep_index $4
BIT_INFO 0 xhci->xhc_state 0x0,0xfffffffe
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &xhci->lock
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci-ring.c xhci_queue_ctrl_tx() -> giveback_first_trb()

Type Parameter Key Value
PARAM_VALUE 0 xhci 4096-ptr_max
PARAM_VALUE 0 xhci->devs 4096-ptr_max
PARAM_VALUE 0 xhci->max_slots 1-255
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 xhci->segment_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 xhci->segment_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 xhci->segment_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 slot_id s32min-(-1),1-s32max
PARAM_VALUE 2 ep_index 0-30
PARAM_VALUE 3 stream_id 0
BUF_SIZE 5 start_trb 16
DATA_SOURCE 0 xhci $0
DATA_SOURCE 1 slot_id $3
DATA_SOURCE 2 ep_index $4
BIT_INFO 0 xhci->xhc_state 0x0,0xfffffffe
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &xhci->lock
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci-ring.c xhci_queue_isoc_tx() -> giveback_first_trb()

Type Parameter Key Value
PARAM_VALUE 0 xhci 4096-ptr_max
PARAM_VALUE 0 xhci->devs 4096-ptr_max
PARAM_VALUE 0 xhci->interrupters 4096-ptr_max
PARAM_VALUE 0 xhci->max_slots 1-255
PARAM_VALUE 0 xhci->run_regs 4096-ptr_max
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 xhci->segment_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 xhci->segment_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 xhci->segment_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 xhci->segment_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 slot_id s32min-(-1),1-s32max
PARAM_VALUE 2 ep_index 0-30
BUF_SIZE 5 start_trb 16
DATA_SOURCE 0 xhci $0
DATA_SOURCE 1 slot_id $3
DATA_SOURCE 2 ep_index $4
BIT_INFO 0 xhci->hcc_params 0x0,0xffffffff
BIT_INFO 0 xhci->xhc_state 0x0,0xfffffffe
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &xhci->lock
TYPE_LOCK (struct xhci_hcd)->lock