Documented in 1 files:

Defined in 2 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/usb/dwc3/core.c __dwc3_set_mode() -> dwc3_host_init()

Type Parameter Key Value
PARAM_VALUE 0 dwc 4096-ptr_max
PARAM_VALUE 0 dwc->current_dr_role 1-2,4-u32max
PARAM_VALUE 0 dwc->desired_dr_role 1-2,4-u32max
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->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
CAPPED_DATA 0 &dwc->mutex 1
LOCK2 0 &dwc->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dwc3)->mutex

drivers/usb/dwc3/core.c dwc3_core_init_mode() -> dwc3_host_init()

Type Parameter Key Value
PARAM_VALUE 0 dwc 4096-ptr_max
PARAM_VALUE 0 dwc->current_dr_role 1
PARAM_VALUE 0 dwc->dr_mode 1
PARAM_VALUE 0 dwc->usb2_phy 0,4096-ptr_max
PARAM_VALUE 0 dwc->usb2_phy->otg 0,4096-ptr_max
PARAM_VALUE 0 dwc->usb2_phy->otg->usb_phy->io_dev->power.wakeirq->status 0-4294967295
CAPPED_DATA 0 dwc->num_usb2_ports 1
CAPPED_DATA 0 dwc->num_usb3_ports 1
DATA_SOURCE 0 dwc $0

drivers/usb/dwc3/drd.c dwc3_otg_update() -> dwc3_host_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.runtime_status 0,2
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->glue_ops 0,4096-ptr_max
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
RX_PATH
LOCK2 0 &dwc->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dwc3)->mutex