Lines Matching refs:btv
73 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \
86 struct bttv *btv = fh->btv; in vbi_buffer_setup() local
108 struct bttv *btv = fh->btv; in vbi_buffer_prepare() local
165 rc = bttv_risc_packed(btv, &buf->top, in vbi_buffer_prepare()
177 rc = bttv_risc_packed(btv, &buf->bottom, in vbi_buffer_prepare()
206 bttv_dma_free(q,btv,buf); in vbi_buffer_prepare()
214 struct bttv *btv = fh->btv; in vbi_buffer_queue() local
219 list_add_tail(&buf->vb.queue,&btv->vcapture); in vbi_buffer_queue()
220 if (NULL == btv->cvbi) { in vbi_buffer_queue()
221 fh->btv->loop_irq |= 4; in vbi_buffer_queue()
222 bttv_set_dma(btv,0x0c); in vbi_buffer_queue()
229 struct bttv *btv = fh->btv; in vbi_buffer_release() local
233 bttv_dma_free(q,fh->btv,buf); in vbi_buffer_release()
315 struct bttv *btv = fh->btv; in bttv_try_fmt_vbi_cap() local
319 mutex_lock(&btv->lock); in bttv_try_fmt_vbi_cap()
321 tvnorm = &bttv_tvnorms[btv->tvnorm]; in bttv_try_fmt_vbi_cap()
322 crop_start = btv->crop_start; in bttv_try_fmt_vbi_cap()
324 mutex_unlock(&btv->lock); in bttv_try_fmt_vbi_cap()
333 struct bttv *btv = fh->btv; in bttv_s_fmt_vbi_cap() local
338 mutex_lock(&btv->lock); in bttv_s_fmt_vbi_cap()
344 tvnorm = &bttv_tvnorms[btv->tvnorm]; in bttv_s_fmt_vbi_cap()
346 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start); in bttv_s_fmt_vbi_cap()
372 mutex_unlock(&btv->lock); in bttv_s_fmt_vbi_cap()
385 tvnorm = &bttv_tvnorms[fh->btv->tvnorm]; in bttv_g_fmt_vbi_cap()