Lines Matching refs:set
646 struct bttv_buffer_set *set) in bttv_buffer_activate_video() argument
649 if (NULL != set->top && NULL != set->bottom) { in bttv_buffer_activate_video()
650 if (set->top == set->bottom) { in bttv_buffer_activate_video()
651 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
652 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
653 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
655 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
656 set->bottom->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
657 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
658 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
659 if (set->bottom->vb.queue.next) in bttv_buffer_activate_video()
660 list_del(&set->bottom->vb.queue); in bttv_buffer_activate_video()
662 bttv_apply_geo(btv, &set->top->geo, 1); in bttv_buffer_activate_video()
663 bttv_apply_geo(btv, &set->bottom->geo,0); in bttv_buffer_activate_video()
664 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
665 set->top_irq); in bttv_buffer_activate_video()
666 bttv_risc_hook(btv, RISC_SLOT_E_FIELD, &set->bottom->bottom, in bttv_buffer_activate_video()
667 set->frame_irq); in bttv_buffer_activate_video()
668 btaor((set->top->btformat & 0xf0) | (set->bottom->btformat & 0x0f), in bttv_buffer_activate_video()
670 btaor((set->top->btswap & 0x0a) | (set->bottom->btswap & 0x05), in bttv_buffer_activate_video()
672 } else if (NULL != set->top) { in bttv_buffer_activate_video()
673 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
674 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
675 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
676 bttv_apply_geo(btv, &set->top->geo,1); in bttv_buffer_activate_video()
677 bttv_apply_geo(btv, &set->top->geo,0); in bttv_buffer_activate_video()
678 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video()
679 set->frame_irq); in bttv_buffer_activate_video()
681 btaor(set->top->btformat & 0xff, ~0xff, BT848_COLOR_FMT); in bttv_buffer_activate_video()
682 btaor(set->top->btswap & 0x0f, ~0x0f, BT848_COLOR_CTL); in bttv_buffer_activate_video()
683 } else if (NULL != set->bottom) { in bttv_buffer_activate_video()
684 set->bottom->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
685 if (set->bottom->vb.queue.next) in bttv_buffer_activate_video()
686 list_del(&set->bottom->vb.queue); in bttv_buffer_activate_video()
687 bttv_apply_geo(btv, &set->bottom->geo,1); in bttv_buffer_activate_video()
688 bttv_apply_geo(btv, &set->bottom->geo,0); in bttv_buffer_activate_video()
690 bttv_risc_hook(btv, RISC_SLOT_E_FIELD, &set->bottom->bottom, in bttv_buffer_activate_video()
691 set->frame_irq); in bttv_buffer_activate_video()
692 btaor(set->bottom->btformat & 0xff, ~0xff, BT848_COLOR_FMT); in bttv_buffer_activate_video()
693 btaor(set->bottom->btswap & 0x0f, ~0x0f, BT848_COLOR_CTL); in bttv_buffer_activate_video()