Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xhci-ring.c prepare_transfer() -> prepare_ring()

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 1 ep_ring 1-u64max
PARAM_VALUE 2 ep_state 0-7
PARAM_VALUE 4 mem_flags 2080
DATA_SOURCE 0 xhci $0
DATA_SOURCE 1 ep_ring r xhci_triad_to_transfer_ring
DATA_SOURCE 3 num_trbs $4
DATA_SOURCE 4 mem_flags $7
BIT_INFO 0 xhci->xhc_state 0x0,0xfffffffe
LOCK2 flags
LOCK2 0 &xhci->lock
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci-ring.c queue_command() -> prepare_ring()

Type Parameter Key Value
PARAM_VALUE 0 xhci 4096-ptr_max
PARAM_VALUE 0 xhci->main_hcd->self.controller->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 ep_state 1
PARAM_VALUE 4 mem_flags 2080
BUF_SIZE 0 xhci s32min-(-1),1-s32max
BUF_SIZE 0 xhci s32min-(-1),1-s32max
DATA_SOURCE 0 xhci $0
BIT_INFO 0 xhci->xhc_state 0x0,0xfffffffc
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 xhci->device_pool->allocation
NO_OVERFLOW_SIMPLE 0 xhci->medium_streams_pool->allocation
NO_OVERFLOW_SIMPLE 0 xhci->segment_pool->allocation
NO_OVERFLOW_SIMPLE 0 xhci->small_streams_pool->allocation
UNITS 0 xhci unit_array_size
HALF_LOCKED2 &s->lock
HALF_LOCKED2 &xhci->lock
HALF_LOCKED2 flags
HALF_LOCKED2 0 &xhci->lock
HALF_LOCKED2 0 &xhci->mutex

drivers/usb/host/xhci-ring.c xhci_queue_isoc_tx_prepare() -> prepare_ring()

Type Parameter Key Value
PARAM_VALUE 0 xhci 4096-ptr_max
PARAM_VALUE 0 xhci->devs 4096-ptr_max
PARAM_VALUE 2 ep_state 0-7
PARAM_VALUE 4 mem_flags 2080
DATA_SOURCE 0 xhci $0
DATA_SOURCE 4 mem_flags $1
BIT_INFO 0 xhci->xhc_state 0x0,0xfffffffe
LOCK2 flags
LOCK2 0 &xhci->lock
TYPE_LOCK (struct xhci_hcd)->lock