Defined in 2 files as a member:
- arch/s390/include/asm/pci.h, line 176 (as a member)
- include/uapi/linux/vfio_zdev.h, line 25 (as a member)
Defined in 5 files as a function:
- arch/mips/include/asm/mach-au1x00/au1000_dma.h, line 179 (as a function)
- drivers/media/platform/atmel/atmel-isi.c, line 358 (as a function)
- drivers/media/platform/ti/vpe/vip.c, line 850 (as a function)
- drivers/usb/gadget/udc/goku_udc.c, line 535 (as a function)
- drivers/usb/gadget/udc/net2280.c, line 869 (as a function)
Referenced in 11 files:
- arch/s390/pci/pci_bus.c, line 348
- arch/s390/pci/pci_clp.c, line 161
- drivers/ata/sata_dwc_460ex.c
- drivers/iommu/s390-iommu.c
- drivers/media/platform/atmel/atmel-isi.c
- drivers/media/platform/ti/vpe/vip.c
- drivers/usb/cdns3/cdnsp-ring.c
- drivers/usb/gadget/udc/goku_udc.c
- drivers/usb/gadget/udc/net2280.c
- drivers/vfio/pci/vfio_pci_zdev.c
- sound/soc/au1x/dma.c, line 130
Smatch caller information:
drivers/media/platform/atmel/atmel-isi.c buffer_queue() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->active | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->active->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->video_buffer_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->video_buffer_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->video_buffer_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->list.next | 4096-ptr_max |
| BUF_SIZE | 0 | isi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | isi | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &isi->irqlock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock | ||
| TYPE_LOCK | (struct atmel_isi)->irqlock |
drivers/media/platform/atmel/atmel-isi.c start_streaming() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->complete.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | isi->complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | isi->complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | isi->complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | isi->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->complete.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->complete.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->complete.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->current_fmt | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | isi->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | isi->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | isi->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | isi->entity.subdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | isi->entity.subdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->irqlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | isi->sequence | 0 |
| BUF_SIZE | 0 | isi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | isi | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &isi->irqlock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vq->lock | ||
| TYPE_LOCK | (struct atmel_isi)->irqlock |
drivers/usb/gadget/udc/goku_udc.c dma_advance() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | isi->dev->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->num | 0-3 |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->queue.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | isi | (-1),272,408 |
| BUF_SIZE | 0 | isi | (-1),272,408 |
| CAPPED_DATA | 0 | &isi->queue | 1 |
| DATA_SOURCE | 0 | isi | $1 |
| PARAM_COMPARE | 0 | &isi->queue | != $0->queue.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | buffer->req | 0-u64max |
| HOST_DATA | 1 | buffer->req->actual | 0-u32max |
| HOST_DATA | 1 | buffer->req->dma | 0-u64max |
| HOST_DATA | 1 | buffer->req->dma_mapped | 0-1 |
| HOST_DATA | 1 | buffer->req->frame_number | 0-u32max |
| HOST_DATA | 1 | buffer->req->is_last | 0-1 |
| HOST_DATA | 1 | buffer->req->length | 0-u32max |
| HOST_DATA | 1 | buffer->req->no_interrupt | 0-1 |
| HOST_DATA | 1 | buffer->req->num_mapped_sgs | 0-u32max |
| HOST_DATA | 1 | buffer->req->num_sgs | 0-u32max |
| HOST_DATA | 1 | buffer->req->sg_was_mapped | 0-1 |
| HOST_DATA | 1 | buffer->req->short_not_ok | 0-1 |
| HOST_DATA | 1 | buffer->req->status | s32min-s32max |
| HOST_DATA | 1 | buffer->req->stream_id | 0-u16max |
| HOST_DATA | 1 | buffer->req->zero | 0-1 |
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct goku_udc)->lock |
drivers/usb/gadget/udc/goku_udc.c goku_clear_halt() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dma | 1 |
| PARAM_VALUE | 0 | isi->num | 0-3 |
| PARAM_VALUE | 0 | isi->stopped | 0 |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| CAPPED_DATA | 0 | &isi->queue | 1 |
| DATA_SOURCE | 0 | isi | $0 |
| PARAM_COMPARE | 0 | &isi->queue | != $0->queue.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &isi->dev->lock | |
| TYPE_LOCK | (struct goku_udc)->lock |
drivers/usb/gadget/udc/goku_udc.c goku_queue() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->driver | 1-u64max |
| PARAM_VALUE | 0 | isi->dev->ep0state | 0-5,7-u32max |
| PARAM_VALUE | 0 | isi->dev->gadget.dev.parent->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->gadget.dev.parent->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->gadget.dev.parent->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev->gadget.dev.parent->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | isi->dev->gadget.speed | 1-u32max |
| PARAM_VALUE | 0 | isi->dma | 1 |
| PARAM_VALUE | 0 | isi->num | 0-3 |
| PARAM_VALUE | 0 | isi->queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->stopped | 0 |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->req.dma | 0-18446744073709551614 |
| PARAM_VALUE | 1 | buffer->req.dma_mapped | 1 |
| CAPPED_DATA | 0 | &isi->queue | 1 |
| CAPPED_DATA | 1 | &buffer->queue | 1 |
| PARAM_COMPARE | 0 | &isi->queue | == $0->queue.next |
| PARAM_COMPARE | 1 | &buffer->queue | == $1->queue.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &dev->lock_printer_io | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &hidg->get_report_spinlock | ||
| HALF_LOCKED2 | &midi->transmit_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &usb9pfs->lock | ||
| HALF_LOCKED2 | &video->req_lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct goku_udc)->lock |
drivers/usb/gadget/udc/net2280.c net2280_dequeue() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dma | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| CAPPED_DATA | 0 | isi->queue.next | 1 |
| CAPPED_DATA | 0 | &isi->queue | 1 |
| PARAM_COMPARE | 0 | &isi->queue | != $0->queue.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &isi->dev->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 net2280)->lock |
drivers/usb/gadget/udc/net2280.c net2280_queue() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->dma | 1-u64max |
| PARAM_VALUE | 0 | isi->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| CAPPED_DATA | 0 | &isi->queue | 1 |
| CAPPED_DATA | 1 | &buffer->queue | 1 |
| PARAM_COMPARE | 0 | &isi->queue | == $0->queue.next |
| PARAM_COMPARE | 1 | &buffer->queue | == $1->queue.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &dev->lock_printer_io | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &hidg->get_report_spinlock | ||
| HALF_LOCKED2 | &midi->transmit_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &usb9pfs->lock | ||
| HALF_LOCKED2 | &video->req_lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct net2280)->lock |
drivers/usb/gadget/udc/net2280.c restart_dma() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| BUF_SIZE | 0 | isi | (-1),1440 |
| BUF_SIZE | 0 | isi | (-1),1440 |
| DATA_SOURCE | 0 | isi | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &isi->dev->lock | |
| TYPE_LOCK | (struct net2280)->lock |
drivers/media/platform/ti/vpe/vip.c vip_load_vpdma_list_fifo() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->desc_list.next->client_attr0 | 0 |
| PARAM_VALUE | 0 | isi->desc_list.next->client_attr1 | 0 |
| PARAM_VALUE | 0 | isi->desc_list.next->desc_write_addr | 0 |
| PARAM_VALUE | 0 | isi->desc_list.next->max_width_height | 0-63 |
| PARAM_VALUE | 0 | isi->desc_list.next->pkt_ctl | 0-s32max |
| PARAM_VALUE | 0 | isi->desc_list.next->start_h_v | 0-63 |
| PARAM_VALUE | 0 | isi->desc_list.next->type_ctl_stride | 0-s32max |
| PARAM_VALUE | 0 | isi->desc_list.next->w1 | 0 |
| PARAM_VALUE | 0 | isi->port | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev->parser | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev->sc | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev->shared | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev->shared->vpdma | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev->shared->vpdma->base | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev->slice_id | 0-1 |
| PARAM_VALUE | 0 | isi->port->dev->slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | isi->port->fmt | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->fmt->finfo->pixel_enc | 1-3 |
| PARAM_VALUE | 0 | isi->post_bufs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->post_bufs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->post_bufs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *isi->vpdma_channels | s32min-s32max |
| PARAM_VALUE | 0 | *isi->vpdma_channels_to_abort | s32min-s32max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->drop | 0 |
| PARAM_VALUE | 1 | buffer->list.next | 4096-ptr_max |
| BUF_SIZE | 0 | isi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | isi | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &isi->vidq | 1 |
| DATA_SOURCE | 0 | isi | $0 |
| PARAM_COMPARE | 0 | &isi->vidq | != $0->vidq.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/platform/ti/vpe/vip.c vip_schedule_next_buffer() -> start_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | isi | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->port->dev->slice_id | 0-1 |
| PARAM_VALUE | 0 | isi->port->dev->slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | isi->port->fmt->finfo->pixel_enc | 1-3 |
| PARAM_VALUE | 0 | isi->post_bufs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->post_bufs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | isi->post_bufs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *isi->vpdma_channels | s32min-s32max |
| PARAM_VALUE | 0 | *isi->vpdma_channels_to_abort | s32min-s32max |
| PARAM_VALUE | 1 | buffer | 0,4096-ptr_max |
| PARAM_VALUE | 1 | buffer->drop | 0 |
| PARAM_VALUE | 1 | buffer->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->list.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | isi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | isi | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &isi->vidq | 1 |
| DATA_SOURCE | 0 | isi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |