Searched refs:vdma1 (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c578 struct saa7146_video_dma vdma1; saa7146_set_position() local
581 vdma1.pitch = 2*b_bpl; saa7146_set_position()
583 vdma1.base_even = base + (w_y * (vdma1.pitch/2)) + (w_x * (b_depth / 8)); saa7146_set_position()
584 vdma1.base_odd = vdma1.base_even + (vdma1.pitch / 2); saa7146_set_position()
585 vdma1.prot_addr = vdma1.base_even + (w_height * (vdma1.pitch / 2)); saa7146_set_position()
588 vdma1.base_even = base + ((w_y+w_height) * (vdma1.pitch/2)) + (w_x * (b_depth / 8)); saa7146_set_position()
589 vdma1.base_odd = vdma1.base_even - (vdma1.pitch / 2); saa7146_set_position()
590 vdma1.prot_addr = vdma1.base_odd - (w_height * (vdma1.pitch / 2)); saa7146_set_position()
596 vdma1.base_odd = vdma1.prot_addr; saa7146_set_position()
597 vdma1.pitch /= 2; saa7146_set_position()
599 vdma1.base_odd = vdma1.prot_addr; saa7146_set_position()
600 vdma1.pitch /= 2; saa7146_set_position()
602 vdma1.base_odd = vdma1.base_even; saa7146_set_position()
603 vdma1.base_even = vdma1.prot_addr; saa7146_set_position()
604 vdma1.pitch /= 2; saa7146_set_position()
608 vdma1.pitch *= -1; saa7146_set_position()
611 vdma1.base_page = sfmt->swap; saa7146_set_position()
612 vdma1.num_line_byte = (vv->standard->v_field<<16)+vv->standard->h_pixels; saa7146_set_position()
614 saa7146_write_out_dma(dev, 1, &vdma1); saa7146_set_position()
707 struct saa7146_video_dma vdma1; calculate_video_dma_grab_packed() local
722 vdma1.pitch = bytesperline*2; calculate_video_dma_grab_packed()
724 vdma1.pitch = (width*depth*2)/8; calculate_video_dma_grab_packed()
726 vdma1.num_line_byte = ((vv->standard->v_field<<16) + vv->standard->h_pixels); calculate_video_dma_grab_packed()
727 vdma1.base_page = buf->pt[0].dma | ME1 | sfmt->swap; calculate_video_dma_grab_packed()
730 vdma1.prot_addr = buf->pt[0].offset; calculate_video_dma_grab_packed()
731 vdma1.base_even = buf->pt[0].offset+(vdma1.pitch/2)*height; calculate_video_dma_grab_packed()
732 vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2); calculate_video_dma_grab_packed()
734 vdma1.base_even = buf->pt[0].offset; calculate_video_dma_grab_packed()
735 vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2); calculate_video_dma_grab_packed()
736 vdma1.prot_addr = buf->pt[0].offset+(vdma1.pitch/2)*height; calculate_video_dma_grab_packed()
743 vdma1.base_odd = vdma1.prot_addr; calculate_video_dma_grab_packed()
744 vdma1.pitch /= 2; calculate_video_dma_grab_packed()
746 vdma1.base_odd = vdma1.base_even; calculate_video_dma_grab_packed()
747 vdma1.base_even = vdma1.prot_addr; calculate_video_dma_grab_packed()
748 vdma1.pitch /= 2; calculate_video_dma_grab_packed()
751 vdma1.base_odd = vdma1.prot_addr; calculate_video_dma_grab_packed()
752 vdma1.pitch /= 2; calculate_video_dma_grab_packed()
754 vdma1.base_odd = vdma1.base_even; calculate_video_dma_grab_packed()
755 vdma1.base_even = vdma1.prot_addr; calculate_video_dma_grab_packed()
756 vdma1.pitch /= 2; calculate_video_dma_grab_packed()
760 vdma1.pitch *= -1; calculate_video_dma_grab_packed()
763 saa7146_write_out_dma(dev, 1, &vdma1); calculate_video_dma_grab_packed()
830 struct saa7146_video_dma vdma1; calculate_video_dma_grab_planar() local
853 vdma1.pitch = width*2; calculate_video_dma_grab_planar()
854 vdma1.num_line_byte = ((vv->standard->v_field<<16) + vv->standard->h_pixels); calculate_video_dma_grab_planar()
855 vdma1.base_page = buf->pt[0].dma | ME1; calculate_video_dma_grab_planar()
858 vdma1.prot_addr = buf->pt[0].offset; calculate_video_dma_grab_planar()
859 vdma1.base_even = ((vdma1.pitch/2)*height)+buf->pt[0].offset; calculate_video_dma_grab_planar()
860 vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2); calculate_video_dma_grab_planar()
862 vdma1.base_even = buf->pt[0].offset; calculate_video_dma_grab_planar()
863 vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2); calculate_video_dma_grab_planar()
864 vdma1.prot_addr = (vdma1.pitch/2)*height+buf->pt[0].offset; calculate_video_dma_grab_planar()
890 vdma1.base_odd = vdma1.prot_addr; calculate_video_dma_grab_planar()
891 vdma1.pitch /= 2; calculate_video_dma_grab_planar()
897 vdma1.base_odd = vdma1.prot_addr; calculate_video_dma_grab_planar()
898 vdma1.pitch /= 2; calculate_video_dma_grab_planar()
904 vdma1.base_odd = vdma1.base_even; calculate_video_dma_grab_planar()
905 vdma1.base_even = vdma1.prot_addr; calculate_video_dma_grab_planar()
906 vdma1.pitch /= 2; calculate_video_dma_grab_planar()
916 vdma1.pitch *= -1; calculate_video_dma_grab_planar()
921 saa7146_write_out_dma(dev, 1, &vdma1); calculate_video_dma_grab_planar()

Completed in 73 milliseconds