Lines Matching +full:0 +full:x1d0000

13 	int count = 0;  in vbi_workaround()
34 saa7146_write(dev, BASE_PAGE3, 0x0); in vbi_workaround()
35 saa7146_write(dev, NUM_LINE_BYTE3, (2<<16)|((vbi_pixel_to_capture)<<0)); in vbi_workaround()
41 WRITE_RPS1(0xc000008c); in vbi_workaround()
43 if ( 0 != (SAA7146_USE_PORT_B_FOR_VBI & dev->ext_vv_data->flags)) { in vbi_workaround()
86 for(i = 0; i < 2; i++) { in vbi_workaround()
91 saa7146_write(dev, NUM_LINE_BYTE3, (1<<16)|(2<<0)); in vbi_workaround()
120 DEB_VBI("aborted (rps:0x%08x)\n", in vbi_workaround()
132 return 0; in vbi_workaround()
141 int count = 0; in saa7146_set_vbi_capture()
146 vdma3.base_even = 0xc8000000+2560*70; in saa7146_set_vbi_capture()
147 vdma3.base_odd = 0xc8000000; in saa7146_set_vbi_capture()
148 vdma3.prot_addr = 0xc8000000+2560*164; in saa7146_set_vbi_capture()
150 vdma3.base_page = 0; in saa7146_set_vbi_capture()
151 vdma3.num_line_byte = (64<<16)|((vbi_pixel_to_capture)<<0); // set above! in saa7146_set_vbi_capture()
163 count = 0; in saa7146_set_vbi_capture()
215 return 0; in buffer_activate()
227 return sizes[0] < size ? -EINVAL : 0; in queue_setup()
229 sizes[0] = size; in queue_setup()
231 return 0; in queue_setup()
252 struct sg_table *sgt = vb2_dma_sg_plane_desc(&buf->vb.vb2_buf, 0); in buf_init()
274 if (vb2_plane_size(vb, 0) < size) in buf_prepare()
276 vb2_set_plane_payload(vb, 0, size); in buf_prepare()
277 return 0; in buf_prepare()
345 int ret = 0; in vbi_begin()
350 if (0 == ret) { in vbi_begin()
356 arbtr_ctrl &= ~0x1f0000; in vbi_begin()
357 arbtr_ctrl |= 0x1d0000; in vbi_begin()
364 if ( 0 != (SAA7146_USE_PORT_B_FOR_VBI & dev->ext_vv_data->flags)) { in vbi_begin()
367 saa7146_write(dev, BRS_CTRL, 0x00000001); in vbi_begin()
369 if (0 != (ret = vbi_workaround(dev))) { in vbi_begin()
377 return 0; in vbi_begin()
386 dev->vv_data->seqnr = 0; in start_streaming()
420 timer_setup(&vv->vbi_dmaq.timeout, saa7146_buffer_timeout, 0); in vbi_init()