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()
2871 b_bottom = b->top + b->height; in bttv_s_crop()
2873 b_top = max(b->top, btv->vbi_end); in bttv_s_crop()
2885 c.rect.top = clamp_t(s32, crop->c.top, b_top, b_bottom - 32); in bttv_s_crop()
2887 c.rect.top = (c.rect.top + 1) & ~1; in bttv_s_crop()
2890 32, b_bottom - c.rect.top); in bttv_s_crop()
3441 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_print_riscaddr()
3444 btv->curr.top in bttv_print_riscaddr()
3445 ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_print_riscaddr()
3449 btv->screen ? (unsigned long long)btv->screen->top.dma : 0, in bttv_print_riscaddr()
3526 set->top = item; in bttv_irq_next_video()
3566 if (NULL != set->top && NULL != set->bottom) in bttv_irq_next_video()
3575 if (NULL == set->top && NULL == set->bottom) { in bttv_irq_next_video()
3576 set->top = btv->screen; in bttv_irq_next_video()
3581 NULL == set->top) { in bttv_irq_next_video()
3582 set->top = btv->screen; in bttv_irq_next_video()
3592 btv->c.nr, set->top, set->bottom, in bttv_irq_next_video()
3605 if (wakeup->top == wakeup->bottom) { in bttv_irq_wakeup_video()
3606 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3609 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3610 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3611 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3612 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3613 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3616 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3619 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3620 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3621 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3622 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3623 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3707 struct bttv_buffer *wakeup = btv->curr.top; in bttv_irq_wakeup_top()
3714 btv->curr.top = NULL; in bttv_irq_wakeup_top()
3745 if ((btv->curr.top && is_active(&btv->curr.top->top, rc)) || in bttv_irq_switch_video()
3786 if (NULL != old && (is_active(&old->top, rc) || in bttv_irq_switch_vbi()