Lines Matching refs:top
277 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay()
393 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
414 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
469 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; in bttv_set_dma()
480 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma()
481 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma()
590 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free()
598 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local
603 top = NULL; in bttv_buffer_activate_vbi()
629 top = &vbi->top; in bttv_buffer_activate_vbi()
640 bttv_risc_hook(btv, RISC_SLOT_O_VBI, top, top_irq_flags); in bttv_buffer_activate_vbi()
651 if (NULL != set->top && NULL != set->bottom) { in bttv_buffer_activate_video()
652 if (set->top == set->bottom) { in bttv_buffer_activate_video()
653 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
654 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
655 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
657 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
659 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
660 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
664 bttv_apply_geo(btv, &set->top->geo, 1); in bttv_buffer_activate_video()
666 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
670 btaor((set->top->btformat & 0xf0) | (set->bottom->btformat & 0x0f), in bttv_buffer_activate_video()
672 btaor((set->top->btswap & 0x0a) | (set->bottom->btswap & 0x05), in bttv_buffer_activate_video()
674 } else if (NULL != set->top) { in bttv_buffer_activate_video()
675 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
676 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
677 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
678 bttv_apply_geo(btv, &set->top->geo,1); in bttv_buffer_activate_video()
679 bttv_apply_geo(btv, &set->top->geo,0); in bttv_buffer_activate_video()
680 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
683 btaor(set->top->btformat & 0xff, ~0xff, BT848_COLOR_FMT); in bttv_buffer_activate_video()
684 btaor(set->top->btswap & 0x0f, ~0x0f, BT848_COLOR_CTL); in bttv_buffer_activate_video()
727 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
737 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
743 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
778 bttv_risc_planar(btv, &buf->top, dma->sglist, in bttv_buffer_risc()
799 bttv_risc_planar(btv,&buf->top, in bttv_buffer_risc()
822 bttv_risc_planar(btv,&buf->top, in bttv_buffer_risc()
850 bttv_risc_packed(btv, &buf->top, dma->sglist, in bttv_buffer_risc()
885 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 0); in bttv_overlay_risc()
891 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 1); in bttv_overlay_risc()