Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dma/sh/usb-dmac.c usb_dmac_chan_get_residue() -> usb_dmac_get_current_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| CAPPED_DATA | 1 | desc->sg_len | 1 |
| DATA_SOURCE | 0 | chan | $0 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &chan->vc.lock | |
| HALF_LOCKED2 | &dcmi->irqlock | ||
| HALF_LOCKED2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | &pcdev->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &up->port.lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |
drivers/dma/sh/usb-dmac.c usb_dmac_isr_transfer_end() -> usb_dmac_get_current_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| CAPPED_DATA | 1 | desc->sg_len | 1 |
| DATA_SOURCE | 0 | chan | $0 |
| PARAM_COMPARE | 1 | desc->sg_index | >= $1->sg_len |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &chan->vc.lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |