Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/dwc3/drd.c dwc3_otg_init() -> dwc3_otgregs_init()

Type Parameter Key Value
PARAM_VALUE 0 dwc 4096-ptr_max
PARAM_VALUE 0 dwc->current_dr_role 3
PARAM_VALUE 0 dwc->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dwc->gadget->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 dwc->gadget->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dwc->gadget->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dwc->usb2_phy->otg->usb_phy->io_dev->power.wakeirq->status 0-4294967295
BUF_SIZE 0 dwc s32min-(-1),1-s32max
BUF_SIZE 0 dwc s32min-(-1),1-s32max
DATA_SOURCE 0 dwc $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dwc->bus_clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 dwc->pipe_clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 dwc->ref_clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 dwc->susp_clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 dwc->utmi_clk->core->parent->req_rate
UNITS 0 dwc unit_byte
HALF_LOCKED2 0 &dwc->mutex

drivers/usb/dwc3/drd.c dwc3_otg_update() -> dwc3_otgregs_init()

Type Parameter Key Value
PARAM_VALUE 0 dwc 4096-ptr_max
PARAM_VALUE 0 dwc->current_dr_role 3
PARAM_VALUE 0 dwc->current_otg_role 1
PARAM_VALUE 0 dwc->desired_otg_role 1
PARAM_VALUE 0 dwc->dev 4096-ptr_max
PARAM_VALUE 0 dwc->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dwc->dev->class 0,4096-ptr_max
PARAM_VALUE 0 dwc->dev->power.request 0-4
PARAM_VALUE 0 dwc->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dwc->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 dwc->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dwc->dev->type 0,4096-ptr_max
PARAM_VALUE 0 dwc->dr_mode 3
PARAM_VALUE 0 dwc->gadget->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 dwc->gadget->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dwc->gadget->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dwc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dwc->mutex.dep_map->name 0-255
PARAM_VALUE 0 dwc->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dwc->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dwc->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dwc->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dwc->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dwc->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dwc->sysdev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dwc->usb2_phy->otg->usb_phy->io_dev->power.wakeirq->status 0-4294967295
DATA_SOURCE 0 dwc $0
PREEMPT_ADD <- disables preempt
RX_PATH
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dwc->lock
LOCK2 0 &dwc->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dwc3)->lock
TYPE_LOCK (struct dwc3)->mutex

drivers/usb/dwc3/drd.c dwc3_otg_update() -> dwc3_otgregs_init()

Type Parameter Key Value
PARAM_VALUE 0 dwc 4096-ptr_max
PARAM_VALUE 0 dwc->current_dr_role 3
PARAM_VALUE 0 dwc->current_otg_role 2
PARAM_VALUE 0 dwc->desired_otg_role 2
PARAM_VALUE 0 dwc->dev 4096-ptr_max
PARAM_VALUE 0 dwc->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dwc->dev->class 0,4096-ptr_max
PARAM_VALUE 0 dwc->dev->power.request 0-4
PARAM_VALUE 0 dwc->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dwc->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 dwc->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dwc->dev->type 0,4096-ptr_max
PARAM_VALUE 0 dwc->dr_mode 3
PARAM_VALUE 0 dwc->gadget->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 dwc->gadget->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dwc->gadget->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dwc->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dwc->mutex.dep_map->name 0-255
PARAM_VALUE 0 dwc->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dwc->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dwc->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dwc->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dwc->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dwc->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dwc->sysdev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dwc->usb2_phy->otg->usb_phy->io_dev->power.wakeirq->status 0-4294967295
DATA_SOURCE 0 dwc $0
PREEMPT_ADD <- disables preempt
RX_PATH
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dwc->lock
LOCK2 0 &dwc->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dwc3)->lock
TYPE_LOCK (struct dwc3)->mutex