Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/udc/gr_udc.c gr_dequeue() -> gr_dma_advance()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->dev 4096-ptr_max
PARAM_VALUE 0 ep->dev->driver 1-u64max
PARAM_VALUE 0 ep->dev->ep0state 0-6,8-u32max
PARAM_VALUE 0 ep->num 0-15
PARAM_VALUE 0 ep->stopped 0
PARAM_VALUE 1 status (-104)
CAPPED_DATA 0 &ep->queue 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
LOCK2 flags
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 gr_udc)->lock

drivers/usb/gadget/udc/gr_udc.c gr_handle_in_ep() -> gr_dma_advance()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->callback 0
PARAM_VALUE 0 ep->stopped 0
PARAM_VALUE 1 status 0
DATA_SOURCE 0 ep $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
LOCK2 flags
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct gr_udc)->lock

drivers/usb/gadget/udc/gr_udc.c gr_handle_out_ep() -> gr_dma_advance()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->callback 0
PARAM_VALUE 0 ep->dev->epo 4096-ptr_max
PARAM_VALUE 0 ep->stopped 0
PARAM_VALUE 1 status 0
CAPPED_DATA 0 ep 1
CAPPED_DATA 0 ep->ep.maxpacket 1
DATA_SOURCE 0 ep $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
LOCK2 flags
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct gr_udc)->lock