Home
last modified time | relevance | path

Searched refs:vdma3 (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/
Dsaa7146_hlp.c765 …_vv *vv, struct saa7146_buf *buf, struct saa7146_video_dma *vdma2, struct saa7146_video_dma *vdma3) in calc_planar_422() argument
771 vdma3->pitch = width; in calc_planar_422()
780 vdma3->prot_addr = buf->pt[2].offset; in calc_planar_422()
781 vdma3->base_even = ((vdma3->pitch/2)*height)+buf->pt[2].offset; in calc_planar_422()
782 vdma3->base_odd = vdma3->base_even - (vdma3->pitch/2); in calc_planar_422()
784 vdma3->base_even = buf->pt[2].offset; in calc_planar_422()
785 vdma3->base_odd = vdma3->base_even + (vdma3->pitch/2); in calc_planar_422()
786 vdma3->prot_addr = (vdma3->pitch/2)*height+buf->pt[2].offset; in calc_planar_422()
796 …_vv *vv, struct saa7146_buf *buf, struct saa7146_video_dma *vdma2, struct saa7146_video_dma *vdma3) in calc_planar_420() argument
802 vdma3->pitch = width/2; in calc_planar_420()
[all …]
Dsaa7146_vbi.c139 struct saa7146_video_dma vdma3; in saa7146_set_vbi_capture() local
153 vdma3.base_even = buf->pt[2].offset; in saa7146_set_vbi_capture()
154 vdma3.base_odd = buf->pt[2].offset + 16 * vbi_pixel_to_capture; in saa7146_set_vbi_capture()
155 vdma3.prot_addr = buf->pt[2].offset + 16 * 2 * vbi_pixel_to_capture; in saa7146_set_vbi_capture()
156 vdma3.pitch = vbi_pixel_to_capture; in saa7146_set_vbi_capture()
157 vdma3.base_page = buf->pt[2].dma | ME1; in saa7146_set_vbi_capture()
158 vdma3.num_line_byte = (16 << 16) | vbi_pixel_to_capture; in saa7146_set_vbi_capture()
160 saa7146_write_out_dma(dev, 3, &vdma3); in saa7146_set_vbi_capture()