Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/usb/endpoint.c snd_usb_add_endpoint() -> snd_usb_get_endpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | ep_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | chip->quirk_flags | 0-u32max |
| UNITS | 1 | ep_num | unit_array_size |
| HALF_LOCKED2 | _T->lock |
sound/usb/endpoint.c snd_usb_endpoint_open() -> snd_usb_get_endpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | ep_num | 0-255 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ep_num | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | global &qdev_mutex |
sound/usb/pcm.c get_endpoint_in_use() -> snd_usb_get_endpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | ep_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ep_num | unit_array_size |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |