Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/pci/tw686x/
Dtw686x-audio.c68 desc = &ac->dma_descs[pb]; in tw686x_audio_irq()
315 if (!ac->dma_descs[pb].virt) in tw686x_audio_dma_free()
317 pci_free_consistent(dev->pci_dev, ac->dma_descs[pb].size, in tw686x_audio_dma_free()
318 ac->dma_descs[pb].virt, in tw686x_audio_dma_free()
319 ac->dma_descs[pb].phys); in tw686x_audio_dma_free()
320 ac->dma_descs[pb].virt = NULL; in tw686x_audio_dma_free()
342 &ac->dma_descs[pb].phys); in tw686x_audio_dma_alloc()
349 ac->dma_descs[pb].virt = virt; in tw686x_audio_dma_alloc()
350 ac->dma_descs[pb].size = AUDIO_DMA_SIZE_MAX; in tw686x_audio_dma_alloc()
351 reg_write(dev, reg, ac->dma_descs[pb].phys); in tw686x_audio_dma_alloc()
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); 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()
291 virt = dev->video_channels[0].dma_descs[pb].virt + in tw686x_sg_dma_alloc()
[all …]
Dtw686x.h70 struct tw686x_dma_desc dma_descs[2]; member
85 struct tw686x_dma_desc dma_descs[2]; member