Defined in 2 files as a prototype:
- drivers/usb/gadget/udc/m66592-udc.c, line 35 (as a prototype)
- drivers/usb/gadget/udc/r8a66597-udc.c, line 35 (as a prototype)
Defined in 2 files as a function:
- drivers/usb/gadget/udc/m66592-udc.c, line 739 (as a function)
- drivers/usb/gadget/udc/r8a66597-udc.c, line 935 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/gadget/udc/m66592-udc.c irq_pipe_empty() -> irq_ep0_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| BUF_SIZE | 0 | ep | 1152 |
| BUF_SIZE | 0 | ep | 1152 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m66592->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c start_ep0_write() -> irq_ep0_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ep.desc | 0 |
| PARAM_VALUE | 0 | ep->m66592 | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->m66592->gadget.speed | 1-u32max |
| PARAM_VALUE | 0 | ep->m66592->reg | 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.length | 1-u32max |
| PARAM_VALUE | 1 | req->req.status | (-115) |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &ep->m66592->lock | |
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c irq_pipe_empty() -> irq_ep0_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| BUF_SIZE | 0 | ep | 960 |
| BUF_SIZE | 0 | ep | 960 |
| DATA_SOURCE | 1 | req | r get_request_from_ep |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &r8a66597->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c start_ep0_write() -> irq_ep0_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ep.desc | 0 |
| 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 | 0 | ep->r8a66597->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->r8a66597->reg | 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.length | 1-u32max |
| PARAM_VALUE | 1 | req->req.status | (-115) |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &ep->r8a66597->lock | |
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |