Defined in 2 files as a function:
- drivers/dma/tegra186-gpc-dma.c, line 522 (as a function)
- drivers/dma/tegra20-apb-dma.c, line 427 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/dma/tegra186-gpc-dma.c tegra_dma_isr() -> tegra_dma_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tdc | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->dma_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->dma_desc->cyclic | 0 |
| PARAM_VALUE | 0 | tdc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->tdma | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->vc.lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | tdc | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &tdc->vc.lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |
drivers/dma/tegra186-gpc-dma.c tegra_dma_issue_pending() -> tegra_dma_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tdc | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->dma_desc | 0 |
| PARAM_VALUE | 0 | tdc->vc.desc_submitted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->vc.desc_submitted.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->vc.desc_submitted.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->vc.desc_submitted.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->vc.desc_submitted.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tdc->vc.desc_submitted.prev->prev | 4096-ptr_max |
| DATA_SOURCE | 0 | tdc | r to_tegra_dma_chan |
| PARAM_COMPARE | 0 | &tdc->vc.desc_issued | != $0->vc.desc_issued.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &tdc->vc.lock | |
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &host->io_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |
drivers/dma/tegra20-apb-dma.c tdc_start_head_req() -> tegra_dma_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tdc | 4096-ptr_max |
| PARAM_VALUE | 1 | sg_req | 4096-ptr_max |
| DATA_SOURCE | 0 | tdc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &tdc->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct tegra_dma_channel)->lock |