Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/usb/dwc2/core_intr.c dwc_handle_gpwrdn_disc_det() -> dwc2_hsotg_core_init_disconnected()

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
PARAM_VALUE 0 hsotg->bus_suspended 0
PARAM_VALUE 0 hsotg->hibernated 0
PARAM_VALUE 0 hsotg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hsotg->op_state 3,9
PARAM_VALUE 1 is_usb_reset 0
DATA_SOURCE 0 hsotg $0
FUZZY_MAX 0 hsotg->op_state 3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hsotg->frame_number 0-u16max[c]
LOCK2 0 &hsotg->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/gadget.c dwc2_hsotg_pullup() -> dwc2_hsotg_core_init_disconnected()

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
PARAM_VALUE 0 hsotg->enabled 1
PARAM_VALUE 0 hsotg->op_state 3
PARAM_VALUE 1 is_usb_reset 0
DATA_SOURCE 0 hsotg r to_hsotg
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &hsotg->lock
HALF_LOCKED2 &gadget->dev.mutex
HALF_LOCKED2 &gadget->udc->connect_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &udc->connect_lock
TYPE_LOCK (struct dwc2_hsotg)->lock
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/dwc2/gadget.c dwc2_hsotg_resume() -> dwc2_hsotg_core_init_disconnected()

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
PARAM_VALUE 0 hsotg->dev 0,4096-ptr_max
PARAM_VALUE 0 hsotg->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hsotg->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hsotg->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hsotg->driver 4096-ptr_max
PARAM_VALUE 0 hsotg->ll_hw_enabled 1
PARAM_VALUE 0 hsotg->lx_state 0-1,3-u32max
PARAM_VALUE 0 hsotg->phy->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hsotg->phy_off_for_suspend 0
PARAM_VALUE 0 hsotg->role_sw 0,4096-u64max
PARAM_VALUE 0 hsotg->role_sw->lock.dep_map->name 0-255
PARAM_VALUE 0 hsotg->role_sw->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hsotg->role_sw->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hsotg->role_sw->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hsotg->role_sw->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hsotg->role_sw->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hsotg->role_sw->lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hsotg->role_sw->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hsotg->role_sw->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hsotg->role_sw->registered 0-1
PARAM_VALUE 1 is_usb_reset 0
BUF_SIZE 0 hsotg s32min-(-2),1-s32max
BUF_SIZE 0 hsotg s32min-(-2),1-s32max
DATA_SOURCE 0 hsotg $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hsotg unit_byte
LOCK2 flags
LOCK2 0 &hsotg->lock
HALF_LOCKED2 &fsm->lock
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/gadget.c dwc2_hsotg_udc_start() -> dwc2_hsotg_core_init_disconnected()

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
PARAM_VALUE 0 hsotg->dev 4096-ptr_max
PARAM_VALUE 0 hsotg->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hsotg->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hsotg->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hsotg->driver 4096-ptr_max
PARAM_VALUE 0 hsotg->driver->setup 1-u64max
PARAM_VALUE 0 hsotg->fifo_map 0
PARAM_VALUE 0 hsotg->gadget.speed 0
PARAM_VALUE 0 hsotg->params.g_tx_fifo_size 4096-ptr_max
PARAM_VALUE 0 hsotg->phy->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hsotg->uphy 0,4096-u64max
PARAM_VALUE 0 hsotg->uphy->otg 0,4096-ptr_max
PARAM_VALUE 1 is_usb_reset 0
DATA_SOURCE 0 hsotg r to_hsotg
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &udc->connect_lock
LOCK2 flags
LOCK2 0 &hsotg->lock
HALF_LOCKED2 &gadget->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct dwc2_hsotg)->lock
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/dwc2/gadget.c dwc2_hsotg_vbus_session() -> dwc2_hsotg_core_init_disconnected()

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
PARAM_VALUE 0 hsotg->op_state 3
PARAM_VALUE 1 is_usb_reset 0
DATA_SOURCE 0 hsotg r to_hsotg
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &hsotg->lock
HALF_LOCKED2 &ci->mutex
HALF_LOCKED2 &fsm->lock
HALF_LOCKED2 &tu->serialize
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/hcd.c dwc2_conn_id_status_change() -> dwc2_hsotg_core_init_disconnected()

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
PARAM_VALUE 0 hsotg->op_state 3,9
PARAM_VALUE 0 hsotg->vbus_supply 0,4096-ptr_max
PARAM_VALUE 0 hsotg->vbus_supply->enable_count 0-4294967295
PARAM_VALUE 0 hsotg->vbus_supply->rdev->ena_gpio_state 0-1
PARAM_VALUE 0 hsotg->vbus_supply->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 hsotg->vbus_supply->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 hsotg->vbus_supply->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hsotg->vbus_supply->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hsotg->vbus_supply->rdev->reg_data->lock.dep_map->name 0-255
PARAM_VALUE 0 hsotg->vbus_supply->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hsotg->vbus_supply->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hsotg->vbus_supply->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hsotg->vbus_supply->rdev->reg_data->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hsotg->vbus_supply->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hsotg->vbus_supply->rdev->regmap->async 0-1
PARAM_VALUE 0 hsotg->vbus_supply->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 hsotg->vbus_supply->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 hsotg->vbus_supply->rdev->use_count 0-4294967295
PARAM_VALUE 1 is_usb_reset 0
FUZZY_MAX 0 hsotg->op_state 3
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &hsotg->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dwc2_hsotg)->lock