Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/usb/gadget/composite.c
- drivers/usb/gadget/function/f_obex.c, line 265
- drivers/usb/gadget/function/f_uvc.c, line 407
Smatch caller information:
drivers/usb/gadget/function/f_obex.c obex_connect() -> usb_function_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 4096-ptr_max |
| PARAM_VALUE | 0 | function->config | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port->port_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/f_uvc.c uvc_function_connect() -> usb_function_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 4096-ptr_max |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/usb/gadget/composite.c usb_remove_function() -> usb_function_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 4096-ptr_max |
| PARAM_VALUE | 0 | function->bind_deactivated | 1 |
| DATA_SOURCE | 0 | function | $1 |
| MEM_ZERO | 0 | function->endpoints | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |