Lines Matching refs:vdma1
411 struct saa7146_video_dma vdma1; in calculate_video_dma_grab_packed() local
425 vdma1.pitch = bytesperline*2; in calculate_video_dma_grab_packed()
427 vdma1.pitch = (width*depth*2)/8; in calculate_video_dma_grab_packed()
429 vdma1.num_line_byte = ((vv->standard->v_field<<16) + vv->standard->h_pixels); in calculate_video_dma_grab_packed()
430 vdma1.base_page = buf->pt[0].dma | ME1 | sfmt->swap; in calculate_video_dma_grab_packed()
433 vdma1.prot_addr = buf->pt[0].offset; in calculate_video_dma_grab_packed()
434 vdma1.base_even = buf->pt[0].offset+(vdma1.pitch/2)*height; in calculate_video_dma_grab_packed()
435 vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2); in calculate_video_dma_grab_packed()
437 vdma1.base_even = buf->pt[0].offset; in calculate_video_dma_grab_packed()
438 vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2); in calculate_video_dma_grab_packed()
439 vdma1.prot_addr = buf->pt[0].offset+(vdma1.pitch/2)*height; in calculate_video_dma_grab_packed()
446 vdma1.base_odd = vdma1.prot_addr; in calculate_video_dma_grab_packed()
447 vdma1.pitch /= 2; in calculate_video_dma_grab_packed()
449 vdma1.base_odd = vdma1.base_even; in calculate_video_dma_grab_packed()
450 vdma1.base_even = vdma1.prot_addr; in calculate_video_dma_grab_packed()
451 vdma1.pitch /= 2; in calculate_video_dma_grab_packed()
454 vdma1.base_odd = vdma1.prot_addr; in calculate_video_dma_grab_packed()
455 vdma1.pitch /= 2; in calculate_video_dma_grab_packed()
457 vdma1.base_odd = vdma1.base_even; in calculate_video_dma_grab_packed()
458 vdma1.base_even = vdma1.prot_addr; in calculate_video_dma_grab_packed()
459 vdma1.pitch /= 2; in calculate_video_dma_grab_packed()
463 vdma1.pitch *= -1; in calculate_video_dma_grab_packed()
466 saa7146_write_out_dma(dev, 1, &vdma1); in calculate_video_dma_grab_packed()
536 struct saa7146_video_dma vdma1; in calculate_video_dma_grab_planar() local
559 vdma1.pitch = width*2; in calculate_video_dma_grab_planar()
560 vdma1.num_line_byte = ((vv->standard->v_field<<16) + vv->standard->h_pixels); in calculate_video_dma_grab_planar()
561 vdma1.base_page = buf->pt[0].dma | ME1; in calculate_video_dma_grab_planar()
564 vdma1.prot_addr = buf->pt[0].offset; in calculate_video_dma_grab_planar()
565 vdma1.base_even = ((vdma1.pitch/2)*height)+buf->pt[0].offset; in calculate_video_dma_grab_planar()
566 vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2); in calculate_video_dma_grab_planar()
568 vdma1.base_even = buf->pt[0].offset; in calculate_video_dma_grab_planar()
569 vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2); in calculate_video_dma_grab_planar()
570 vdma1.prot_addr = (vdma1.pitch/2)*height+buf->pt[0].offset; in calculate_video_dma_grab_planar()
596 vdma1.base_odd = vdma1.prot_addr; in calculate_video_dma_grab_planar()
597 vdma1.pitch /= 2; in calculate_video_dma_grab_planar()
603 vdma1.base_odd = vdma1.prot_addr; in calculate_video_dma_grab_planar()
604 vdma1.pitch /= 2; in calculate_video_dma_grab_planar()
610 vdma1.base_odd = vdma1.base_even; in calculate_video_dma_grab_planar()
611 vdma1.base_even = vdma1.prot_addr; in calculate_video_dma_grab_planar()
612 vdma1.pitch /= 2; in calculate_video_dma_grab_planar()
622 vdma1.pitch *= -1; in calculate_video_dma_grab_planar()
627 saa7146_write_out_dma(dev, 1, &vdma1); in calculate_video_dma_grab_planar()