Lines Matching refs:btv
61 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \
74 struct bttv *btv = fh->btv; in vbi_buffer_setup() local
96 struct bttv *btv = fh->btv; in vbi_buffer_prepare() local
153 rc = bttv_risc_packed(btv, &buf->top, in vbi_buffer_prepare()
165 rc = bttv_risc_packed(btv, &buf->bottom, in vbi_buffer_prepare()
194 bttv_dma_free(q,btv,buf); in vbi_buffer_prepare()
202 struct bttv *btv = fh->btv; in vbi_buffer_queue() local
207 list_add_tail(&buf->vb.queue,&btv->vcapture); in vbi_buffer_queue()
208 if (NULL == btv->cvbi) { in vbi_buffer_queue()
209 fh->btv->loop_irq |= 4; in vbi_buffer_queue()
210 bttv_set_dma(btv,0x0c); in vbi_buffer_queue()
217 struct bttv *btv = fh->btv; in vbi_buffer_release() local
221 bttv_dma_free(q,fh->btv,buf); in vbi_buffer_release()
303 struct bttv *btv = fh->btv; in bttv_try_fmt_vbi_cap() local
307 mutex_lock(&btv->lock); in bttv_try_fmt_vbi_cap()
309 tvnorm = &bttv_tvnorms[btv->tvnorm]; in bttv_try_fmt_vbi_cap()
310 crop_start = btv->crop_start; in bttv_try_fmt_vbi_cap()
312 mutex_unlock(&btv->lock); in bttv_try_fmt_vbi_cap()
321 struct bttv *btv = fh->btv; in bttv_s_fmt_vbi_cap() local
326 mutex_lock(&btv->lock); in bttv_s_fmt_vbi_cap()
332 tvnorm = &bttv_tvnorms[btv->tvnorm]; in bttv_s_fmt_vbi_cap()
334 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start); in bttv_s_fmt_vbi_cap()
360 mutex_unlock(&btv->lock); in bttv_s_fmt_vbi_cap()
373 tvnorm = &bttv_tvnorms[fh->btv->tvnorm]; in bttv_g_fmt_vbi_cap()