Lines Matching refs:top

273 	.cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
279 .cropcap.defrect.top = (videostart0) * 2, \
704 __s32 top = btv->crop[!!fh->do_crop].rect.top; in check_alloc_btres_lock() local
706 if (btv->vbi_end > top) in check_alloc_btres_lock()
711 btv->crop_start = top; in check_alloc_btres_lock()
758 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
1163 btv->crop_start = tvnorm->cropcap.bounds.top in set_tvnorm()
1588 if (btv->vbi_end > bttv_tvnorms[norm].cropcap.defrect.top) { in bttv_prepare_buffer()
1627 buf->crop.top != c.rect.top || in bttv_prepare_buffer()
1973 max_top = b->top + b->height - c->rect.height; in bttv_crop_adjust()
1974 if (c->rect.top > max_top) in bttv_crop_adjust()
1975 c->rect.top = max_top; in bttv_crop_adjust()
2034 if (btv->vbi_end > b->top) { in limit_scaled_size_lock()
2035 max_height -= btv->vbi_end - b->top; in limit_scaled_size_lock()
2042 if (btv->vbi_end > c->rect.top) in limit_scaled_size_lock()
2071 if (btv->vbi_end > c->rect.top) { in limit_scaled_size_lock()
2073 c->rect.top = btv->vbi_end; in limit_scaled_size_lock()
2688 fh->ov.w.top = 0; in bttv_s_fbuf()
2872 b_bottom = b->top + b->height; in bttv_s_crop()
2874 b_top = max(b->top, btv->vbi_end); in bttv_s_crop()
2886 c.rect.top = clamp_t(s32, crop->c.top, b_top, b_bottom - 32); in bttv_s_crop()
2888 c.rect.top = (c.rect.top + 1) & ~1; in bttv_s_crop()
2891 32, b_bottom - c.rect.top); in bttv_s_crop()
3442 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_print_riscaddr()
3445 btv->curr.top in bttv_print_riscaddr()
3446 ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_print_riscaddr()
3450 btv->screen ? (unsigned long long)btv->screen->top.dma : 0, in bttv_print_riscaddr()
3527 set->top = item; in bttv_irq_next_video()
3567 if (NULL != set->top && NULL != set->bottom) in bttv_irq_next_video()
3576 if (NULL == set->top && NULL == set->bottom) { in bttv_irq_next_video()
3577 set->top = btv->screen; in bttv_irq_next_video()
3582 NULL == set->top) { in bttv_irq_next_video()
3583 set->top = btv->screen; in bttv_irq_next_video()
3593 btv->c.nr, set->top, set->bottom, in bttv_irq_next_video()
3606 if (wakeup->top == wakeup->bottom) { in bttv_irq_wakeup_video()
3607 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3610 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3611 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3612 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3613 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3614 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3617 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3620 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3621 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3622 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3623 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3624 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3705 struct bttv_buffer *wakeup = btv->curr.top; in bttv_irq_wakeup_top()
3712 btv->curr.top = NULL; in bttv_irq_wakeup_top()
3743 if ((btv->curr.top && is_active(&btv->curr.top->top, rc)) || in bttv_irq_switch_video()
3784 if (NULL != old && (is_active(&old->top, rc) || in bttv_irq_switch_vbi()