Lines Matching refs:direction
152 int direction, unsigned long data, unsigned long size) in videobuf_dma_init_user_locked() argument
158 dma->direction = direction; in videobuf_dma_init_user_locked()
159 switch (dma->direction) { in videobuf_dma_init_user_locked()
198 static int videobuf_dma_init_user(struct videobuf_dmabuf *dma, int direction, in videobuf_dma_init_user() argument
204 ret = videobuf_dma_init_user_locked(dma, direction, data, size); in videobuf_dma_init_user()
210 static int videobuf_dma_init_kernel(struct videobuf_dmabuf *dma, int direction, in videobuf_dma_init_kernel() argument
217 dma->direction = direction; in videobuf_dma_init_kernel()
269 static int videobuf_dma_init_overlay(struct videobuf_dmabuf *dma, int direction, in videobuf_dma_init_overlay() argument
274 dma->direction = direction; in videobuf_dma_init_overlay()
314 dma->nr_pages, dma->direction); in videobuf_dma_map()
335 dma_unmap_sg(dev, dma->sglist, dma->nr_pages, dma->direction); in videobuf_dma_unmap()
353 dma->direction == DMA_FROM_DEVICE); in videobuf_dma_free()
376 dma->direction = DMA_NONE; in videobuf_dma_free()
583 mem->dma.nr_pages, mem->dma.direction); in __videobuf_sync()