Defined in 2 files as a function:
- drivers/usb/gadget/udc/m66592-udc.c, line 556 (as a function)
- drivers/usb/gadget/udc/r8a66597-udc.c, line 768 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/gadget/udc/m66592-udc.c clear_feature() -> start_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->busy | 0 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | &ep->queue | 1 |
| PARAM_COMPARE | 0 | &ep->queue | != $0->queue.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m66592->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c m66592_queue() -> start_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->busy | 0 |
| PARAM_VALUE | 0 | ep->ep.desc | 1-u64max |
| PARAM_VALUE | 0 | ep->m66592 | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->m66592->gadget.speed | 1-u32max |
| PARAM_VALUE | 0 | ep->queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->queue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->queue.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->req.actual | 0 |
| PARAM_VALUE | 1 | req->req.status | (-115) |
| CAPPED_DATA | 0 | &ep->queue | 1 |
| PARAM_COMPARE | 0 | &ep->queue | == $0->queue.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ep->m66592->lock | |
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c transfer_complete() -> start_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ep.desc | 1-u64max |
| PARAM_VALUE | 0 | ep->m66592 | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->m66592->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ep->queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | req->queue.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | ep | (-1),1152 |
| BUF_SIZE | 0 | ep | (-1),1152 |
| CAPPED_DATA | 0 | &ep->queue | 1 |
| DATA_SOURCE | 0 | ep | $0 |
| PARAM_COMPARE | 0 | &ep->queue | != $0->queue.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &ep->m66592->lock | |
| HALF_LOCKED2 | &m66592->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c clear_feature() -> start_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->busy | 0 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | &ep->queue | 1 |
| DATA_SOURCE | 1 | req | r get_request_from_ep |
| PARAM_COMPARE | 0 | &ep->queue | != $0->queue.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &r8a66597->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_queue() -> start_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->busy | 0 |
| PARAM_VALUE | 0 | ep->ep.desc | 1-u64max |
| PARAM_VALUE | 0 | ep->queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->queue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->queue.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->r8a66597->gadget.speed | 1-u32max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->req.actual | 0 |
| PARAM_VALUE | 1 | req->req.status | (-115) |
| CAPPED_DATA | 0 | &ep->queue | 1 |
| PARAM_COMPARE | 0 | &ep->queue | == $0->queue.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ep->r8a66597->lock | |
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c transfer_complete() -> start_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ep.desc | 1-u64max |
| PARAM_VALUE | 0 | ep->queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->r8a66597->gadget.dev.parent->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | ep->r8a66597->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | req->queue.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | ep | (-1),960 |
| BUF_SIZE | 0 | ep | (-1),960 |
| CAPPED_DATA | 0 | &ep->queue | 1 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | r get_request_from_ep |
| PARAM_COMPARE | 0 | &ep->queue | != $0->queue.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | req->req.num_mapped_sgs | |
| LOCK2 | 0 | &ep->r8a66597->lock | |
| HALF_LOCKED2 | &r8a66597->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |