Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xhci-dbgcap.c xhci_dbc_do_handle_events() -> xhci_dbc_set_state()

Type Parameter Key Value
PARAM_VALUE 0 dbc 4096-ptr_max
PARAM_VALUE 0 dbc->regs 4096-ptr_max
PARAM_VALUE 0 dbc->state 2
PARAM_VALUE 1 new_state 3
DATA_SOURCE 0 dbc $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dbc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xhci_dbc)->lock

drivers/usb/host/xhci-dbgcap.c xhci_dbc_do_handle_events() -> xhci_dbc_set_state()

Type Parameter Key Value
PARAM_VALUE 0 dbc 4096-ptr_max
PARAM_VALUE 0 dbc->regs 4096-ptr_max
PARAM_VALUE 0 dbc->state 3
PARAM_VALUE 1 new_state 4
DATA_SOURCE 0 dbc $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dbc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xhci_dbc)->lock

drivers/usb/host/xhci-dbgcap.c xhci_dbc_do_handle_events() -> xhci_dbc_set_state()

Type Parameter Key Value
PARAM_VALUE 0 dbc 4096-ptr_max
PARAM_VALUE 0 dbc->dev 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->class 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dbc->regs 4096-ptr_max
PARAM_VALUE 0 dbc->state 3
PARAM_VALUE 1 new_state 2
DATA_SOURCE 0 dbc $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dbc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xhci_dbc)->lock

drivers/usb/host/xhci-dbgcap.c xhci_dbc_do_handle_events() -> xhci_dbc_set_state()

Type Parameter Key Value
PARAM_VALUE 0 dbc 4096-ptr_max
PARAM_VALUE 0 dbc->dev 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->class 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dbc->regs 4096-ptr_max
PARAM_VALUE 0 dbc->state 3
PARAM_VALUE 1 new_state 2
DATA_SOURCE 0 dbc $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dbc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xhci_dbc)->lock

drivers/usb/host/xhci-dbgcap.c xhci_dbc_do_handle_events() -> xhci_dbc_set_state()

Type Parameter Key Value
PARAM_VALUE 0 dbc 4096-ptr_max
PARAM_VALUE 0 dbc->dev 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->class 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dbc->regs 4096-ptr_max
PARAM_VALUE 0 dbc->state 4
PARAM_VALUE 1 new_state 2
DATA_SOURCE 0 dbc $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dbc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xhci_dbc)->lock

drivers/usb/host/xhci-dbgcap.c xhci_dbc_do_handle_events() -> xhci_dbc_set_state()

Type Parameter Key Value
PARAM_VALUE 0 dbc 4096-ptr_max
PARAM_VALUE 0 dbc->dev 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->class 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dbc->regs 4096-ptr_max
PARAM_VALUE 0 dbc->state 4
PARAM_VALUE 1 new_state 2
DATA_SOURCE 0 dbc $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dbc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xhci_dbc)->lock

drivers/usb/host/xhci-dbgcap.c xhci_dbc_stop() -> xhci_dbc_set_state()

Type Parameter Key Value
PARAM_VALUE 0 dbc 4096-ptr_max
PARAM_VALUE 0 dbc->driver->disconnect 6935896982364135424
PARAM_VALUE 0 dbc->enable_mutex.dep_map->name 0-255
PARAM_VALUE 0 dbc->enable_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dbc->enable_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dbc->enable_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dbc->enable_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dbc->enable_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dbc->enable_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dbc->event_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 dbc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dbc->pending_rpm_put 0
PARAM_VALUE 0 dbc->regs 4096-ptr_max
PARAM_VALUE 0 dbc->state 1-u32max
PARAM_VALUE 1 new_state 0
BUF_SIZE 0 dbc (-1),1040
BUF_SIZE 0 dbc (-1),1040
DATA_SOURCE 0 dbc $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dbc->enable_mutex
LOCK2 0 &dbc->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &xhci->mutex
TYPE_LOCK (struct xhci_dbc)->enable_mutex
TYPE_LOCK (struct xhci_dbc)->lock

drivers/usb/host/xhci-dbgcap.c xhci_do_dbc_start() -> xhci_dbc_set_state()

Type Parameter Key Value
PARAM_VALUE 0 dbc 4096-ptr_max
PARAM_VALUE 0 dbc->ctx 4096-ptr_max
PARAM_VALUE 0 dbc->ctx->bytes 1-ptr_max
PARAM_VALUE 0 dbc->ctx->bytes->length 0-4294967295
PARAM_VALUE 0 dbc->ctx->size 192
PARAM_VALUE 0 dbc->dev 4096-ptr_max
PARAM_VALUE 0 dbc->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->class 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dbc->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dbc->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dbc->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dbc->dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dbc->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dbc->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dbc->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dbc->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dbc->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dbc->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 dbc->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dbc->dev->power.request 0-4
PARAM_VALUE 0 dbc->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dbc->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 dbc->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dbc->dev->type 0,4096-ptr_max
PARAM_VALUE 0 dbc->enable_mutex.dep_map->name 0-255
PARAM_VALUE 0 dbc->enable_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dbc->enable_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dbc->enable_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dbc->enable_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dbc->enable_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dbc->enable_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dbc->enable_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dbc->erst.entries 4096-ptr_max
PARAM_VALUE 0 dbc->erst.entries->rsvd 0
PARAM_VALUE 0 dbc->erst.entries->seg_addr 0
PARAM_VALUE 0 dbc->erst.entries->seg_size 0
PARAM_VALUE 0 dbc->erst.num_entries 1
PARAM_VALUE 0 dbc->regs 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->cycle_state 1
PARAM_VALUE 0 dbc->ring_evt->deq_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->enq_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->first_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->last_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->num_segs 1
PARAM_VALUE 0 dbc->ring_evt->td_list.next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->td_list.next->next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->td_list.prev 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->td_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->td_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dbc->ring_evt->type 6
PARAM_VALUE 0 dbc->ring_in 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->cycle_state 1
PARAM_VALUE 0 dbc->ring_in->deq_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->enq_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->first_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->last_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->num_segs 1
PARAM_VALUE 0 dbc->ring_in->td_list.next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->td_list.next->next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->td_list.prev 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->td_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->td_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dbc->ring_in->type 2
PARAM_VALUE 0 dbc->ring_out 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->cycle_state 1
PARAM_VALUE 0 dbc->ring_out->deq_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->enq_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->first_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->last_seg 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->num_segs 1
PARAM_VALUE 0 dbc->ring_out->td_list.next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->td_list.next->next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->td_list.prev 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->td_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->td_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dbc->ring_out->type 2
PARAM_VALUE 0 dbc->state 1
PARAM_VALUE 0 dbc->str_descs 4096-ptr_max
PARAM_VALUE 0 dbc->str_descs->manufacturer->bDescriptorType 3
PARAM_VALUE 0 dbc->str_descs->manufacturer->bLength 0-255
PARAM_VALUE 0 dbc->str_descs->product->bDescriptorType 3
PARAM_VALUE 0 dbc->str_descs->product->bLength 0-255
PARAM_VALUE 0 dbc->str_descs->serial->bDescriptorType 3
PARAM_VALUE 0 dbc->str_descs->serial->bLength 0-255
PARAM_VALUE 0 dbc->str_descs_size 1016
PARAM_VALUE 1 new_state 2
BUF_SIZE 0 dbc 1040
CAPPED_DATA 0 dbc->dev 1
DATA_SOURCE 0 dbc $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dbc->enable_mutex
LOCK2 0 &dbc->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct xhci_dbc)->enable_mutex
TYPE_LOCK (struct xhci_dbc)->lock