Home
last modified time | relevance | path

Searched refs:dma_descs (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/media/pci/tw686x/
H A Dtw686x-audio.c68 desc = &ac->dma_descs[pb]; in tw686x_audio_irq()
301 if (!ac->dma_descs[pb].virt) in tw686x_audio_dma_free()
303 dma_free_coherent(&dev->pci_dev->dev, ac->dma_descs[pb].size, in tw686x_audio_dma_free()
304 ac->dma_descs[pb].virt, in tw686x_audio_dma_free()
305 ac->dma_descs[pb].phys); in tw686x_audio_dma_free()
306 ac->dma_descs[pb].virt = NULL; in tw686x_audio_dma_free()
329 &ac->dma_descs[pb].phys, GFP_KERNEL); in tw686x_audio_dma_alloc()
336 ac->dma_descs[pb].virt = virt; in tw686x_audio_dma_alloc()
337 ac->dma_descs[pb].size = AUDIO_DMA_SIZE_MAX; in tw686x_audio_dma_alloc()
338 reg_write(dev, reg, ac->dma_descs[pb].phys); in tw686x_audio_dma_alloc()
H A Dtw686x-video.c52 struct tw686x_dma_desc *desc = &vc->dma_descs[pb]; in tw686x_buf_done()
80 struct tw686x_dma_desc *desc = &vc->dma_descs[pb]; in tw686x_memcpy_dma_free()
109 WARN(vc->dma_descs[pb].virt, in tw686x_memcpy_dma_alloc()
114 &vc->dma_descs[pb].phys, GFP_KERNEL); in tw686x_memcpy_dma_alloc()
121 vc->dma_descs[pb].size = len; in tw686x_memcpy_dma_alloc()
122 vc->dma_descs[pb].virt = virt; in tw686x_memcpy_dma_alloc()
123 reg_write(dev, reg, vc->dma_descs[pb].phys); in tw686x_memcpy_dma_alloc()
257 struct tw686x_dma_desc *desc = &vc->dma_descs[pb]; in tw686x_sg_dma_free()
272 struct tw686x_dma_desc *desc = &vc->dma_descs[pb]; in tw686x_sg_dma_alloc()
323 vc->dma_descs[pb].size = sg_table_size; in tw686x_sg_setup()
[all …]
H A Dtw686x.h70 struct tw686x_dma_desc dma_descs[2]; member
85 struct tw686x_dma_desc dma_descs[2]; member