Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/cdns3/cdnsp-mem.c cdnsp_ring_expansion() -> cdnsp_update_stream_segment_mapping()

Type Parameter Key Value
PARAM_VALUE 1 ring 4096-ptr_max
PARAM_VALUE 1 ring->bounce_buf_len 0-4000000
PARAM_VALUE 1 ring->num_trbs_free 0-4294967294
PARAM_VALUE 1 ring->type 4
PARAM_VALUE 2 first_seg 4096-ptr_max
PARAM_VALUE 2 first_seg->next 0
PARAM_VALUE 3 last_seg 4096-ptr_max
PARAM_VALUE 4 mem_flags 2080
CAPPED_DATA 1 ring->num_trbs_free 1
CAPPED_DATA 2 first_seg 1
DATA_SOURCE 1 ring $1
DATA_SOURCE 4 mem_flags $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->lock
HALF_LOCKED2 &pdev->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
TYPE_LOCK (struct cdnsp_device)->lock

drivers/usb/cdns3/cdnsp-mem.c cdnsp_update_stream_mapping() -> cdnsp_update_stream_segment_mapping()

Type Parameter Key Value
PARAM_VALUE 0 trb_address_map 4096-ptr_max
PARAM_VALUE 0 trb_address_map->xa_flags 2080
PARAM_VALUE 0 trb_address_map->xa_head 0
PARAM_VALUE 1 ring 4096-ptr_max
PARAM_VALUE 1 ring->bounce_buf_len 0-2047
PARAM_VALUE 1 ring->cycle_state 1
PARAM_VALUE 1 ring->deq_seg 4096-ptr_max
PARAM_VALUE 1 ring->enq_seg 4096-ptr_max
PARAM_VALUE 1 ring->first_seg 4096-ptr_max
PARAM_VALUE 1 ring->first_seg->next 0
PARAM_VALUE 1 ring->last_seg 4096-ptr_max
PARAM_VALUE 1 ring->num_segs 2
PARAM_VALUE 1 ring->num_trbs_free 254-509
PARAM_VALUE 1 ring->stream_id 1-17
PARAM_VALUE 1 ring->td_list.next 4096-ptr_max
PARAM_VALUE 1 ring->td_list.next->next 4096-ptr_max
PARAM_VALUE 1 ring->td_list.prev 4096-ptr_max
PARAM_VALUE 1 ring->td_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ring->td_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ring->trb_address_map 4096-ptr_max
PARAM_VALUE 1 ring->trb_address_map->xa_flags 2080
PARAM_VALUE 1 ring->trb_address_map->xa_head 0
PARAM_VALUE 1 ring->type 4
PARAM_VALUE 2 first_seg 4096-ptr_max
PARAM_VALUE 2 first_seg->next 0
PARAM_VALUE 3 last_seg 4096-ptr_max
PARAM_VALUE 4 mem_flags 2080
BUF_SIZE 0 trb_address_map 88
BUF_SIZE 1 ring 112
BUF_SIZE 1 ring->trb_address_map 88
CAPPED_DATA 1 ring->first_seg 1
CAPPED_DATA 1 ring->stream_id 1
CAPPED_DATA 2 first_seg 1
DATA_SOURCE 1 ring $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 ring->stream_id
LOCK2 &pdev->lock
HALF_LOCKED2 &cdev->lock
HALF_LOCKED2 &data->dev->lock
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &func->ffs->eps_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &udc->connect_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct cdnsp_device)->lock