vdma2             339 drivers/media/common/saa7146/saa7146_hlp.c 	struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field)
vdma2             451 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2->base_even	= vv->d_clipping.dma_handle;
vdma2             452 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2->base_odd		= vv->d_clipping.dma_handle;
vdma2             453 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2->prot_addr	= vv->d_clipping.dma_handle+((sizeof(u32))*(numdwords));
vdma2             454 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2->base_page	= 0x04;
vdma2             455 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2->pitch		= 0x00;
vdma2             456 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2->num_line_byte	= (0 << 16 | (sizeof(u32))*(numdwords-1) );
vdma2             488 drivers/media/common/saa7146/saa7146_hlp.c 	struct	saa7146_video_dma vdma2;
vdma2             501 drivers/media/common/saa7146/saa7146_hlp.c 	calculate_clipping_registers_rect(dev, fh, &vdma2, &clip_format, &arbtr_ctrl, field);
vdma2             508 drivers/media/common/saa7146/saa7146_hlp.c 	saa7146_write(dev, BASE_EVEN2,		vdma2.base_even);
vdma2             509 drivers/media/common/saa7146/saa7146_hlp.c 	saa7146_write(dev, BASE_ODD2,		vdma2.base_odd);
vdma2             510 drivers/media/common/saa7146/saa7146_hlp.c 	saa7146_write(dev, PROT_ADDR2,		vdma2.prot_addr);
vdma2             511 drivers/media/common/saa7146/saa7146_hlp.c 	saa7146_write(dev, BASE_PAGE2,		vdma2.base_page);
vdma2             512 drivers/media/common/saa7146/saa7146_hlp.c 	saa7146_write(dev, PITCH2,		vdma2.pitch);
vdma2             513 drivers/media/common/saa7146/saa7146_hlp.c 	saa7146_write(dev, NUM_LINE_BYTE2,	vdma2.num_line_byte);
vdma2             765 drivers/media/common/saa7146/saa7146_hlp.c static int calc_planar_422(struct saa7146_vv *vv, struct saa7146_buf *buf, struct saa7146_video_dma *vdma2, struct saa7146_video_dma *vdma3)
vdma2             770 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2->pitch	= width;
vdma2             776 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->prot_addr	= buf->pt[1].offset;
vdma2             777 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->base_even	= ((vdma2->pitch/2)*height)+buf->pt[1].offset;
vdma2             778 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->base_odd		= vdma2->base_even - (vdma2->pitch/2);
vdma2             788 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->base_even	= buf->pt[1].offset;
vdma2             789 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->base_odd		= vdma2->base_even + (vdma2->pitch/2);
vdma2             790 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->prot_addr	= (vdma2->pitch/2)*height+buf->pt[1].offset;
vdma2             796 drivers/media/common/saa7146/saa7146_hlp.c static int calc_planar_420(struct saa7146_vv *vv, struct saa7146_buf *buf, struct saa7146_video_dma *vdma2, struct saa7146_video_dma *vdma3)
vdma2             801 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2->pitch	= width/2;
vdma2             805 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->prot_addr	= buf->pt[2].offset;
vdma2             806 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->base_even	= ((vdma2->pitch/2)*height)+buf->pt[2].offset;
vdma2             807 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->base_odd		= vdma2->base_even - (vdma2->pitch/2);
vdma2             818 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->base_even	= buf->pt[1].offset;
vdma2             819 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->base_odd		= vdma2->base_even + (vdma2->pitch);
vdma2             820 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2->prot_addr	= (vdma2->pitch/2)*height+buf->pt[1].offset;
vdma2             829 drivers/media/common/saa7146/saa7146_hlp.c 	struct saa7146_video_dma vdma2;
vdma2             865 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2.num_line_byte	= 0; /* unused */
vdma2             866 drivers/media/common/saa7146/saa7146_hlp.c 	vdma2.base_page		= buf->pt[1].dma | ME1;
vdma2             873 drivers/media/common/saa7146/saa7146_hlp.c 			calc_planar_420(vv,buf,&vdma2,&vdma3);
vdma2             877 drivers/media/common/saa7146/saa7146_hlp.c 			calc_planar_422(vv,buf,&vdma2,&vdma3);
vdma2             890 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2.base_odd	= vdma2.prot_addr;
vdma2             891 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2.pitch /= 2;
vdma2             897 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2.base_odd	= vdma2.prot_addr;
vdma2             898 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2.pitch /= 2;
vdma2             905 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2.base_odd	= vdma2.base_even;
vdma2             906 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2.base_even = vdma2.prot_addr;
vdma2             907 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2.pitch /= 2;
vdma2             915 drivers/media/common/saa7146/saa7146_hlp.c 		vdma2.pitch *= -1;
vdma2             921 drivers/media/common/saa7146/saa7146_hlp.c 		saa7146_write_out_dma(dev, 3, &vdma2);
vdma2             924 drivers/media/common/saa7146/saa7146_hlp.c 		saa7146_write_out_dma(dev, 2, &vdma2);