Lines Matching refs:top
260 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
266 .cropcap.defrect.top = (videostart0) * 2, \
673 __s32 top = btv->crop[!!fh->do_crop].rect.top; in check_alloc_btres_lock() local
675 if (btv->vbi_end > top) in check_alloc_btres_lock()
680 btv->crop_start = top; in check_alloc_btres_lock()
727 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
1132 btv->crop_start = tvnorm->cropcap.bounds.top in set_tvnorm()
1557 if (btv->vbi_end > bttv_tvnorms[norm].cropcap.defrect.top) { in bttv_prepare_buffer()
1596 buf->crop.top != c.rect.top || in bttv_prepare_buffer()
1929 max_top = b->top + b->height - c->rect.height; in bttv_crop_adjust()
1930 if (c->rect.top > max_top) in bttv_crop_adjust()
1931 c->rect.top = max_top; in bttv_crop_adjust()
1990 if (btv->vbi_end > b->top) { in limit_scaled_size_lock()
1991 max_height -= btv->vbi_end - b->top; in limit_scaled_size_lock()
1998 if (btv->vbi_end > c->rect.top) in limit_scaled_size_lock()
2026 if (btv->vbi_end > c->rect.top) { in limit_scaled_size_lock()
2028 c->rect.top = btv->vbi_end; in limit_scaled_size_lock()
2612 fh->ov.w.top = 0; in bttv_s_fbuf()
2811 b_bottom = b->top + b->height; in bttv_s_selection()
2813 b_top = max(b->top, btv->vbi_end); in bttv_s_selection()
2825 c.rect.top = clamp_t(s32, sel->r.top, b_top, b_bottom - 32); in bttv_s_selection()
2827 c.rect.top = (c.rect.top + 1) & ~1; in bttv_s_selection()
2830 32, b_bottom - c.rect.top); in bttv_s_selection()
3383 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_print_riscaddr()
3386 btv->curr.top in bttv_print_riscaddr()
3387 ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_print_riscaddr()
3391 btv->screen ? (unsigned long long)btv->screen->top.dma : 0, in bttv_print_riscaddr()
3467 set->top = item; in bttv_irq_next_video()
3507 if (NULL != set->top && NULL != set->bottom) in bttv_irq_next_video()
3516 if (NULL == set->top && NULL == set->bottom) { in bttv_irq_next_video()
3517 set->top = btv->screen; in bttv_irq_next_video()
3522 NULL == set->top) { in bttv_irq_next_video()
3523 set->top = btv->screen; in bttv_irq_next_video()
3533 btv->c.nr, set->top, set->bottom, in bttv_irq_next_video()
3544 if (wakeup->top == wakeup->bottom) { in bttv_irq_wakeup_video()
3545 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3548 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3549 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3550 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3551 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3552 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3555 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3558 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3559 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3560 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3561 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3562 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3643 struct bttv_buffer *wakeup = btv->curr.top; in bttv_irq_wakeup_top()
3650 btv->curr.top = NULL; in bttv_irq_wakeup_top()
3681 if ((btv->curr.top && is_active(&btv->curr.top->top, rc)) || in bttv_irq_switch_video()
3722 if (NULL != old && (is_active(&old->top, rc) || in bttv_irq_switch_vbi()