Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- drivers/usb/gadget/config.c, line 213
- drivers/usb/gadget/configfs.c, line 1764
- drivers/usb/gadget/legacy/acm_ms.c, line 207
- drivers/usb/gadget/legacy/audio.c, line 340
- drivers/usb/gadget/legacy/cdc2.c, line 186
- drivers/usb/gadget/legacy/ether.c, line 410
- drivers/usb/gadget/legacy/g_ffs.c, line 396
- drivers/usb/gadget/legacy/hid.c, line 178
- drivers/usb/gadget/legacy/mass_storage.c, line 182
- drivers/usb/gadget/legacy/multi.c, line 406
- drivers/usb/gadget/legacy/ncm.c, line 163
- drivers/usb/gadget/legacy/printer.c, line 182
- drivers/usb/gadget/legacy/serial.c, line 216
- drivers/usb/gadget/legacy/zero.c, line 354
Smatch caller information:
drivers/usb/gadget/legacy/printer.c printer_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/zero.c zero_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/audio.c audio_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/configfs.c configfs_composite_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 0 | gadget | $0 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/ether.c eth_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/acm_ms.c acm_ms_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/mass_storage.c msg_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/ncm.c gncm_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/g_ffs.c gfs_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/serial.c gs_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/hid.c hid_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/multi.c multi_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/legacy/cdc2.c cdc_bind() -> usb_otg_descriptor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->otg_caps | 0,4096-ptr_max |
| PARAM_VALUE | 1 | otg_desc | 4096-ptr_max |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| BUF_SIZE | 1 | otg_desc | 3,5 |
| DATA_SOURCE | 1 | otg_desc | r usb_otg_descriptor_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |