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()
580 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free()
588 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local
593 top = NULL; in bttv_buffer_activate_vbi()
619 top = &vbi->top; in bttv_buffer_activate_vbi()
630 bttv_risc_hook(btv, RISC_SLOT_O_VBI, top, top_irq_flags); in bttv_buffer_activate_vbi()
641 if (NULL != set->top && NULL != set->bottom) { in bttv_buffer_activate_video()
642 if (set->top == set->bottom) { in bttv_buffer_activate_video()
643 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
644 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
645 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
647 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
649 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
650 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
654 bttv_apply_geo(btv, &set->top->geo, 1); in bttv_buffer_activate_video()
656 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
660 btaor((set->top->btformat & 0xf0) | (set->bottom->btformat & 0x0f), in bttv_buffer_activate_video()
662 btaor((set->top->btswap & 0x0a) | (set->bottom->btswap & 0x05), in bttv_buffer_activate_video()
664 } else if (NULL != set->top) { in bttv_buffer_activate_video()
665 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
666 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
667 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
668 bttv_apply_geo(btv, &set->top->geo,1); in bttv_buffer_activate_video()
669 bttv_apply_geo(btv, &set->top->geo,0); in bttv_buffer_activate_video()
670 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
673 btaor(set->top->btformat & 0xff, ~0xff, BT848_COLOR_FMT); in bttv_buffer_activate_video()
674 btaor(set->top->btswap & 0x0f, ~0x0f, BT848_COLOR_CTL); in bttv_buffer_activate_video()
717 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
727 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
733 bttv_risc_packed(btv,&buf->top,dma->sglist, in bttv_buffer_risc()
768 bttv_risc_planar(btv, &buf->top, dma->sglist, in bttv_buffer_risc()
789 bttv_risc_planar(btv,&buf->top, in bttv_buffer_risc()
812 bttv_risc_planar(btv,&buf->top, in bttv_buffer_risc()
840 bttv_risc_packed(btv, &buf->top, dma->sglist, in bttv_buffer_risc()
862 /* check interleave, bottom+top fields */ in bttv_overlay_risc()
875 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 0); in bttv_overlay_risc()
881 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 1); in bttv_overlay_risc()