Lines Matching full:top

267 	addr += btv->fbuf.fmt.bytesperline * ov->w.top;  in bttv_risc_overlay()
383 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
459 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; in bttv_set_dma()
468 d2printk("%d: capctl=%x lirq=%d top=%08llx/%08llx even=%08llx/%08llx\n", in bttv_set_dma()
470 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma()
471 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma()
520 /* top field */ in bttv_risc_init_main()
536 /* jump back to top field */ in bttv_risc_init_main()
579 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free()
587 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local
592 top = NULL; in bttv_buffer_activate_vbi()
618 top = &vbi->top; in bttv_buffer_activate_vbi()
629 bttv_risc_hook(btv, RISC_SLOT_O_VBI, top, top_irq_flags); in bttv_buffer_activate_vbi()
640 if (NULL != set->top && NULL != set->bottom) { in bttv_buffer_activate_video()
641 if (set->top == set->bottom) { in bttv_buffer_activate_video()
642 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
643 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
644 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
646 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
648 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
649 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
653 bttv_apply_geo(btv, &set->top->geo, 1); in bttv_buffer_activate_video()
655 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
659 btaor((set->top->btformat & 0xf0) | (set->bottom->btformat & 0x0f), in bttv_buffer_activate_video()
661 btaor((set->top->btswap & 0x0a) | (set->bottom->btswap & 0x05), in bttv_buffer_activate_video()
663 } else if (NULL != set->top) { in bttv_buffer_activate_video()
664 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
665 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
666 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
667 bttv_apply_geo(btv, &set->top->geo,1); in bttv_buffer_activate_video()
668 bttv_apply_geo(btv, &set->top->geo,0); in bttv_buffer_activate_video()
669 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
672 btaor(set->top->btformat & 0xff, ~0xff, BT848_COLOR_FMT); in bttv_buffer_activate_video()
673 btaor(set->top->btswap & 0x0f, ~0x0f, BT848_COLOR_CTL); in bttv_buffer_activate_video()
716 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
726 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
732 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
767 bttv_risc_planar(btv, &buf->top, dma->sglist, in bttv_buffer_risc()
788 bttv_risc_planar(btv,&buf->top, in bttv_buffer_risc()
811 bttv_risc_planar(btv,&buf->top, in bttv_buffer_risc()
839 bttv_risc_packed(btv, &buf->top, dma->sglist, in bttv_buffer_risc()
861 /* check interleave, bottom+top fields */ in bttv_overlay_risc()
874 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 0); in bttv_overlay_risc()
880 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 1); in bttv_overlay_risc()