Defined in 2 files as a prototype:
- drivers/usb/gadget/udc/m66592-udc.c, line 40 (as a prototype)
- drivers/usb/gadget/udc/r8a66597-udc.c, line 41 (as a prototype)
Defined in 4 files as a member:
- drivers/pci/endpoint/functions/pci-epf-test.c, line 92 (as a member)
- drivers/spi/spi-cadence-quadspi.c, line 93 (as a member)
- drivers/spi/spi-ti-qspi.c, line 38 (as a member)
- drivers/spi/spi-topcliff-pch.c, line 167 (as a member)
Defined in 2 files as a function:
- drivers/usb/gadget/udc/m66592-udc.c, line 705 (as a function)
- drivers/usb/gadget/udc/r8a66597-udc.c, line 898 (as a function)
Referenced in 6 files:
- drivers/pci/endpoint/functions/pci-epf-test.c
- drivers/spi/spi-cadence-quadspi.c
- drivers/spi/spi-ti-qspi.c
- drivers/spi/spi-topcliff-pch.c
- drivers/usb/gadget/udc/m66592-udc.c
- drivers/usb/gadget/udc/r8a66597-udc.c
Smatch caller information:
drivers/usb/gadget/udc/m66592-udc.c irq_control_stage() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| 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 irq_packet_read() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->m66592 | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->m66592->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->pipenum | 1-u16max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| BUF_SIZE | 0 | ep | (-1),1152 |
| BUF_SIZE | 0 | ep | (-1),1152 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| 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 irq_pipe_empty() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| 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 | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c m66592_dequeue() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-104) |
| 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 | &ctx->ctx_lock | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->dmabufs_mutex | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &ffs->eps_lock | ||
| HALF_LOCKED2 | &port->port_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c m66592_disable() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-104) |
| 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 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ep->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct m66592)->lock |
drivers/usb/gadget/udc/m66592-udc.c start_ep0_write() -> transfer_complete()
| 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 | 0 |
| PARAM_VALUE | 1 | req->req.status | (-115) |
| PARAM_VALUE | 2 | status | 0 |
| 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_control_stage() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| 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 irq_packet_read() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->pipenum | 1-u16max |
| PARAM_VALUE | 0 | ep->r8a66597 | 4096-ptr_max |
| 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 | 2 | status | 0 |
| BUF_SIZE | 0 | ep | (-1),960 |
| BUF_SIZE | 0 | ep | (-1),960 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| 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 irq_pipe_empty() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| 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 | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_dequeue() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-104) |
| 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 | &ctx->ctx_lock | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->dmabufs_mutex | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &ffs->eps_lock | ||
| HALF_LOCKED2 | &port->port_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_disable() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-104) |
| 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 | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ep->r8a66597->lock | |
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ep->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c start_ep0_write() -> transfer_complete()
| 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 | 0 |
| PARAM_VALUE | 1 | req->req.status | (-115) |
| PARAM_VALUE | 2 | status | 0 |
| 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 |
drivers/usb/gadget/udc/r8a66597-udc.c start_packet_write() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ep.desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ep.desc->bEndpointAddress | 128-255 |
| PARAM_VALUE | 0 | ep->r8a66597 | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->r8a66597->pdata | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->req.length | 0 |
| PARAM_VALUE | 2 | status | 0 |
| BUF_SIZE | 0 | ep | (-1),960 |
| BUF_SIZE | 0 | ep | (-1),960 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| BIT_INFO | 0 | ep->ep.desc->bEndpointAddress | 0x80,0xff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | req->req.num_mapped_sgs | |
| HALF_LOCKED2 | &r8a66597->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &ep->r8a66597->lock | |
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/gadget/udc/r8a66597-udc.c sudmac_finish() -> transfer_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dma->dir | 0 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| DATA_SOURCE | 0 | ep | $1 |
| 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 | ||
| TYPE_LOCK | (struct r8a66597)->lock |