struct cx88_dmaqueue *q, struct cx88_buffer   *buf) 
struct cx88_dmaqueue *q, struct cx88_buffer   *buf) 
static int cx8800_start_vbi_dma(struct cx8800_dev    *dev,				struct cx88_dmaqueue *q,				struct cx88_buffer   *buf){	struct cx88_core *core = dev->core;	/* setup fifo + format */	cx88_sram_channel_setup(dev->core, &cx88_sram_channels[SRAM_CH24],				buf->vb.width, buf->risc.dma);	cx_write(MO_VBOS_CONTROL, ( (1 << 18) |  // comb filter delay fixup				    (1 << 15) |  // enable vbi capture				    (1 << 11) ));	/* reset counter */	cx_write(MO_VBI_GPCNTRL, GP_COUNT_CONTROL_RESET);	q->count = 1;	/* enable irqs */	cx_set(MO_PCI_INTMSK, core->pci_irqmask | 0x01);	cx_set(MO_VID_INTMSK, 0x0f0088);	/* enable capture */	cx_set(VID_CAPTURE_CONTROL,0x18);	/* start dma */	cx_set(MO_DEV_CNTRL2, (1<<5));	cx_set(MO_VID_DMACNTRL, 0x88);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b45009b0288a96a3458f4f8e93cb776678d41875/cx88-vbi.c/buggy/drivers/media/video/cx88/cx88-vbi.c