Defined in 2 files as a function:
- drivers/usb/chipidea/udc.c, line 1695 (as a function)
- drivers/usb/gadget/udc/bdc/bdc_ep.c, line 708 (as a function)
Referenced in 3 files:
- drivers/usb/chipidea/udc.c, line 1827
- drivers/usb/gadget/udc/bdc/bdc_ep.c, line 1752
- drivers/usb/isp1760/isp1760-hcd.c
Smatch caller information:
drivers/usb/gadget/udc/bdc/bdc_ep.c bdc_gadget_ep_queue() -> ep_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->bdc->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->usb_ep.desc | 1-u64max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &dev->lock_printer_io | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &hidg->get_report_spinlock | ||
| HALF_LOCKED2 | &midi->transmit_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &usb9pfs->lock | ||
| HALF_LOCKED2 | &video->req_lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/gadget/udc/aspeed-vhub/ep0.c ast_vhub_reply() -> (struct usb_ep_ops)->queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->buf | 0 |
| PARAM_VALUE | 1 | req->complete | 0 |
| PARAM_VALUE | 1 | req->length | 0-63 |
| PARAM_VALUE | 1 | req->status | s32min-(-116),(-114)-s32max |
| PARAM_VALUE | 1 | req->zero | 1 |
| PARAM_VALUE | 2 | gfp_flags | 2080 |
| BUF_SIZE | 1 | req | 104 |
| CAPPED_DATA | 1 | req->length | 1 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| CONTAINER | 1 | -40-16-0+0+24+128 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vhub->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/gadget/udc/core.c usb_ep_queue() -> (struct usb_ep_ops)->queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp_flags | 2080,3264 |
| BUF_SIZE | 0 | ep | (-1),64,72,640,664,1744,1792 |
| BUF_SIZE | 0 | ep | (-1),64,72,640,664,1744,1792 |
| BUF_SIZE | 1 | req | s32min,(-1)-s32max |
| BUF_SIZE | 1 | req | s32min,(-1)-s32max |
| BUF_SIZE | 1 | req->buf | s32min-s32max |
| BUF_SIZE | 1 | req->context | s32min-s32max |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| DATA_SOURCE | 2 | gfp_flags | $2 |
| CONTAINER | 0 | -40-16+0 | $(-1) |
| NOSPEC | 1 | req->actual | |
| NOSPEC | 1 | req->length | |
| HARD_MAX | 2 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->actual | 0-u32max[c] |
| HOST_DATA | 1 | req->frame_number | 0-16383[c] |
| HOST_DATA | 1 | req->length | 0-u32max[c] |
| HOST_DATA | 1 | req->zero | 0-1 |
| USER_DATA | 1 | req->actual | 0-64[c] |
| USER_DATA | 1 | req->length | 0-u32max |
| USER_DATA | 1 | req->zero | 0-1[c] |
| USER_DATA | 1 | *req->buf | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | req->dma | |
| NO_OVERFLOW_SIMPLE | 1 | req->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | req->status | |
| USER_PTR | 1 | req->buf | |
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &dev->lock_printer_io | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &hidg->get_report_spinlock | ||
| HALF_LOCKED2 | &midi->transmit_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &usb9pfs->lock | ||
| HALF_LOCKED2 | &video->req_lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |