Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/udc/core.c usb_gadget_connect_locked() -> (struct usb_gadget_ops)->pullup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->connected | 0 |
| PARAM_VALUE | 0 | gadget->deactivated | 0 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ops->pullup | 1-u64max |
| PARAM_VALUE | 0 | gadget->udc | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->udc->allow_connect | 1 |
| PARAM_VALUE | 0 | gadget->udc->started | 1 |
| PARAM_VALUE | 1 | on | 1 |
| DATA_SOURCE | 0 | gadget | $0 |
| CONTAINER | 0 | -56-88+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | 0 | &gadget->dev.mutex | |
| HALF_LOCKED2 | 0 | &gadget->udc->connect_lock | |
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/gadget/udc/core.c usb_gadget_disconnect_locked() -> (struct usb_gadget_ops)->pullup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->connected | 1 |
| PARAM_VALUE | 0 | gadget->deactivated | 0 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ops->pullup | 1-u64max |
| PARAM_VALUE | 0 | gadget->udc | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->udc->started | 1 |
| PARAM_VALUE | 1 | on | 0 |
| DATA_SOURCE | 0 | gadget | $0 |
| CONTAINER | 0 | -56-88+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | 0 | &gadget->dev.mutex | |
| HALF_LOCKED2 | 0 | &gadget->udc->connect_lock | |
| TYPE_LOCK | (struct usb_udc)->connect_lock |