Lines Matching refs:top

294 	     && crop->top == tvnorm->cropcap.defrect.top  in bttv_calc_geo()
315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
386 if (btv->curr.top || btv->curr.bottom) in bttv_set_capture_control()
435 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma()
436 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma()
529 r = bttv_risc_packed(btv, &buf->top, list, 0, bpl, padding, in bttv_buffer_risc_vbi()
544 if (btv->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in bttv_buffer_risc_vbi()
545 min_vdelay += btv->vbi_fmt.end - tvnorm->cropcap.bounds.top; in bttv_buffer_risc_vbi()
557 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local
562 top = NULL; in bttv_buffer_activate_vbi()
587 top = &vbi->top; in bttv_buffer_activate_vbi()
598 bttv_risc_hook(btv, RISC_SLOT_O_VBI, top, top_irq_flags); in bttv_buffer_activate_vbi()
609 if (NULL != set->top && NULL != set->bottom) { in bttv_buffer_activate_video()
610 if (set->top == set->bottom) { in bttv_buffer_activate_video()
611 if (set->top->list.next) in bttv_buffer_activate_video()
612 list_del(&set->top->list); in bttv_buffer_activate_video()
614 if (set->top->list.next) in bttv_buffer_activate_video()
615 list_del(&set->top->list); in bttv_buffer_activate_video()
619 bttv_apply_geo(btv, &set->top->geo, 1); in bttv_buffer_activate_video()
621 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
625 btaor((set->top->btformat & 0xf0) | (set->bottom->btformat & 0x0f), in bttv_buffer_activate_video()
627 btaor((set->top->btswap & 0x0a) | (set->bottom->btswap & 0x05), in bttv_buffer_activate_video()
629 } else if (NULL != set->top) { in bttv_buffer_activate_video()
630 if (set->top->list.next) in bttv_buffer_activate_video()
631 list_del(&set->top->list); in bttv_buffer_activate_video()
632 bttv_apply_geo(btv, &set->top->geo,1); in bttv_buffer_activate_video()
633 bttv_apply_geo(btv, &set->top->geo,0); in bttv_buffer_activate_video()
634 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
637 btaor(set->top->btformat & 0xff, ~0xff, BT848_COLOR_FMT); in bttv_buffer_activate_video()
638 btaor(set->top->btswap & 0x0f, ~0x0f, BT848_COLOR_CTL); in bttv_buffer_activate_video()
678 r = bttv_risc_packed(btv, &buf->top, list, 0, bpl, 0, in bttv_buffer_risc()
686 r = bttv_risc_packed(btv, &buf->top, list, 0, bpl, in bttv_buffer_risc()
692 r = bttv_risc_packed(btv, &buf->top, list, 0, bpl, 0, in bttv_buffer_risc()
726 r = bttv_risc_planar(btv, &buf->top, list, 0, in bttv_buffer_risc()
749 r = bttv_risc_planar(btv, &buf->top, list, 0, in bttv_buffer_risc()
769 r = bttv_risc_planar(btv, &buf->top, list, 0, in bttv_buffer_risc()
793 r = bttv_risc_packed(btv, &buf->top, list, 0, RAW_BPL, 0, 0, in bttv_buffer_risc()