Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
PARAM_VALUE 0 hsotg->op_state 3
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 &dev->mutex
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_suspend() -> dwc2_hsotg_core_disconnect()

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->enabled 1
PARAM_VALUE 0 hsotg->ll_hw_enabled 1
PARAM_VALUE 0 hsotg->lx_state 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_vbus_session() -> dwc2_hsotg_core_disconnect()

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
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 &of->mutex
HALF_LOCKED2 &tu->serialize
HALF_LOCKED2 &udc->connect_lock
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/drd.c dwc2_drd_role_sw_set() -> dwc2_hsotg_core_disconnect()

Type Parameter Key Value
PARAM_VALUE 0 hsotg 4096-ptr_max
BUF_SIZE 0 hsotg s32min-(-2),1-s32max
BUF_SIZE 0 hsotg s32min-(-2),1-s32max
DATA_SOURCE 0 hsotg r usb_role_switch_get_drvdata
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sw->lock
LOCK2 flags
LOCK2 0 &hsotg->lock
HALF_LOCKED2 &con->lock
HALF_LOCKED2 &info->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct dwc2_hsotg)->lock
TYPE_LOCK (struct usb_role_switch)->lock