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 278
- drivers/usb/gadget/function/f_uvc.c, line 422
Smatch caller information:
drivers/usb/gadget/function/f_obex.c obex_disconnect() -> usb_function_deactivate()
| 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 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/f_uvc.c uvc_function_disconnect() -> usb_function_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &video->mutex |
drivers/usb/gadget/composite.c usb_add_function() -> usb_function_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 4096-ptr_max |
| PARAM_VALUE | 0 | function->bind_deactivated | 1 |
| PARAM_VALUE | 0 | function->config | 4096-ptr_max |
| PARAM_VALUE | 0 | function->disable | 1-u64max |
| PARAM_VALUE | 0 | function->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | function->set_alt | 1-u64max |
| BUF_SIZE | 0 | function->fi | (-1),176 |
| DATA_SOURCE | 0 | function | $1 |
| STR_LEN | 0 | function->config->cdev | (-1) |
| STR_LEN | 0 | function->config->label | (-1),15,18 |
| RX_PATH | |||
| TASK_NOT_RUNNING |