Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/cdns3/cdns3-gadget.c cdns3_gadget_ep_queue() -> __cdns3_gadget_ep_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 1-u64max |
| PARAM_VALUE | 2 | gfp_flags | 2080,3264 |
| BUF_SIZE | 0 | ep | (-1),64,72,640,1744 |
| BUF_SIZE | 0 | ep | (-1),64,72,640,1744 |
| BUF_SIZE | 1 | request | s32min,(-1)-s32max |
| BUF_SIZE | 1 | request | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | request | $1 |
| DATA_SOURCE | 2 | gfp_flags | $2 |
| NOSPEC | 1 | request->actual | |
| NOSPEC | 1 | request->length | |
| HARD_MAX | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | request->actual | 0-u32max[c] |
| HOST_DATA | 1 | request->frame_number | 0-16383[c] |
| HOST_DATA | 1 | request->length | 0-u32max[c] |
| HOST_DATA | 1 | request->zero | 0-1 |
| USER_DATA | 1 | request->actual | 0-64[c] |
| USER_DATA | 1 | request->length | 0-u32max |
| USER_DATA | 1 | request->zero | 0-1[c] |
| USER_DATA | 1 | *request->buf | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | request->dma | |
| NO_OVERFLOW_SIMPLE | 1 | request->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | request->status | |
| USER_PTR | 1 | request->buf | |
| LOCK2 | &priv_dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct cdns3_device)->lock |
drivers/usb/cdns3/cdns3-gadget.c cdns3_gadget_ep_queue() -> __cdns3_gadget_ep_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->desc | 1-u64max |
| PARAM_VALUE | 0 | ep->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| PARAM_VALUE | 1 | request->length | 0 |
| PARAM_VALUE | 2 | gfp_flags | 2080,3264 |
| BUF_SIZE | 0 | ep | (-1),64,72,640,1744 |
| BUF_SIZE | 0 | ep | (-1),64,72,640,1744 |
| BUF_SIZE | 1 | request | (-1),104 |
| BUF_SIZE | 1 | request | (-1),104 |
| BUF_SIZE | 1 | request->buf | 1024 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | request | r cdns3_gadget_ep_alloc_request |
| DATA_SOURCE | 2 | gfp_flags | $2 |
| HARD_MAX | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv_dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct cdns3_device)->lock |
drivers/usb/cdns3/cdns3-gadget.c cdns3_wa2_descmissing_packet() -> __cdns3_gadget_ep_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| PARAM_VALUE | 1 | request->buf | 4096-ptr_max |
| PARAM_VALUE | 1 | request->length | 2048 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv_dev->lock | ||
| LOCK2 | bh | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cdns3_device)->lock |