Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/renesas_usbhs/mod_gadget.c otg_set_peripheral() -> (struct usb_otg)->set_peripheral()

Type Parameter Key Value
PARAM_VALUE 0 otg 4096-ptr_max
PARAM_VALUE 0 otg->set_peripheral 1-u64max
PARAM_VALUE 1 gadget 0,4096-ptr_max
DATA_SOURCE 0 otg $0
DATA_SOURCE 1 gadget $1
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &udc->connect_lock
HALF_LOCKED2 &gadget->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/dwc2/gadget.c otg_set_peripheral() -> (struct usb_otg)->set_peripheral()

Type Parameter Key Value
PARAM_VALUE 0 otg 4096-ptr_max
PARAM_VALUE 0 otg->set_peripheral 1-u64max
PARAM_VALUE 1 gadget 0,4096-ptr_max
PARAM_VALUE 1 gadget->speed 0
DATA_SOURCE 0 otg $0
DATA_SOURCE 1 gadget $1
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &udc->connect_lock
HALF_LOCKED2 &gadget->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/gadget/udc/pxa27x_udc.c otg_set_peripheral() -> (struct usb_otg)->set_peripheral()

Type Parameter Key Value
PARAM_VALUE 0 otg 4096-ptr_max
PARAM_VALUE 0 otg->set_peripheral 1-u64max
PARAM_VALUE 1 gadget 0,4096-ptr_max
DATA_SOURCE 0 otg $0
DATA_SOURCE 1 gadget $1
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &udc->connect_lock
HALF_LOCKED2 &g->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/gadget/udc/fsl_udc_core.c otg_set_peripheral() -> (struct usb_otg)->set_peripheral()

Type Parameter Key Value
PARAM_VALUE 0 otg 4096-ptr_max
PARAM_VALUE 0 otg->set_peripheral 1-u64max
PARAM_VALUE 1 gadget 0,4096-ptr_max
DATA_SOURCE 0 otg $0
DATA_SOURCE 1 gadget $1
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &udc->connect_lock
HALF_LOCKED2 &g->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/fotg210/fotg210-udc.c otg_set_peripheral() -> (struct usb_otg)->set_peripheral()

Type Parameter Key Value
PARAM_VALUE 0 otg 4096-ptr_max
PARAM_VALUE 0 otg->set_peripheral 1-u64max
PARAM_VALUE 1 gadget 0,4096-ptr_max
PARAM_VALUE 1 gadget->speed 0
DATA_SOURCE 0 otg $0
DATA_SOURCE 1 gadget $1
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &udc->connect_lock
HALF_LOCKED2 &g->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct usb_udc)->connect_lock

drivers/usb/musb/musb_gadget.c otg_set_peripheral() -> (struct usb_otg)->set_peripheral()

Type Parameter Key Value
PARAM_VALUE 0 otg 4096-ptr_max
PARAM_VALUE 0 otg->set_peripheral 1-u64max
PARAM_VALUE 1 gadget 0,4096-ptr_max
DATA_SOURCE 0 otg $0
DATA_SOURCE 1 gadget $1
CONTAINER 0 -56+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &musb->lock
LOCK2 &udc->connect_lock
LOCK2 flags
HALF_LOCKED2 &g->dev.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct musb)->lock
TYPE_LOCK (struct usb_udc)->connect_lock