btv->main.cpu[RISC_SLOT_LOOP] = cpu_to_le32(cmd); 
btv->main.cpu[RISC_SLOT_LOOP] = cpu_to_le32(cmd); 
bttv_set_dma(struct bttv *btv, int override){	unsigned long cmd;	int capctl;	btv->cap_ctl = 0;	if (NULL != btv->curr.top)      btv->cap_ctl |= 0x02;	if (NULL != btv->curr.bottom)   btv->cap_ctl |= 0x01;	if (NULL != btv->cvbi)          btv->cap_ctl |= 0x0c;	capctl  = 0;	capctl |= (btv->cap_ctl & 0x03) ? 0x03 : 0x00;  /* capture  */	capctl |= (btv->cap_ctl & 0x0c) ? 0x0c : 0x00;  /* vbi data */	capctl |= override;	d2printk(KERN_DEBUG		 "bttv%d: capctl=%x lirq=%d top=%08Lx/%08Lx even=%08Lx/%08Lx\n",		 btv->c.nr,capctl,btv->loop_irq,		 btv->cvbi         ? (unsigned long long)btv->cvbi->top.dma            : 0,		 btv->curr.top     ? (unsigned long long)btv->curr.top->top.dma        : 0,		 btv->cvbi         ? (unsigned long long)btv->cvbi->bottom.dma         : 0,		 btv->curr.bottom  ? (unsigned long long)btv->curr.bottom->bottom.dma  : 0);	cmd = BT848_RISC_JUMP;	if (btv->loop_irq) {		cmd |= BT848_RISC_IRQ;		cmd |= (btv->loop_irq  & 0x0f) << 16;		cmd |= (~btv->loop_irq & 0x0f) << 20;	}	if (btv->curr.frame_irq || btv->loop_irq || btv->cvbi) {		mod_timer(&btv->timeout, jiffies+BTTV_TIMEOUT);	} else {		del_timer(&btv->timeout);	}        btv->main.cpu[RISC_SLOT_LOOP] = cpu_to_le32(cmd);	btaor(capctl, ~0x0f, BT848_CAP_CTL);	if (capctl) {		if (btv->dma_on)			return;		btwrite(btv->main.dma, BT848_RISC_STRT_ADD);		btor(3, BT848_GPIO_DMA_CTL);		btv->dma_on = 1;	} else {		if (!btv->dma_on)			return;                btand(~3, BT848_GPIO_DMA_CTL);		btv->dma_on = 0;	}	return;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4ac97914c6c35f6bf132071c718e034d0846b9f5/bttv-risc.c/buggy/drivers/media/video/bttv-risc.c