Home
last modified time | relevance | path

Searched refs:curr_bufs (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/media/pci/tw686x/
Dtw686x-audio.c48 if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) { in tw686x_audio_irq()
57 done = ac->curr_bufs[!pb]; in tw686x_audio_irq()
58 ac->curr_bufs[pb] = next; in tw686x_audio_irq()
193 ac->curr_bufs[0] = p_buf; in tw686x_pcm_prepare()
194 ac->curr_bufs[1] = b_buf; in tw686x_pcm_prepare()
220 if (ac->curr_bufs[0] && ac->curr_bufs[1]) { in tw686x_pcm_trigger()
240 ac->curr_bufs[0] = NULL; in tw686x_pcm_trigger()
241 ac->curr_bufs[1] = NULL; in tw686x_pcm_trigger()
Dtw686x.h69 struct tw686x_audio_buf *curr_bufs[2]; member
84 struct tw686x_v4l2_buf *curr_bufs[2]; member
Dtw686x-video.c57 if (vc->curr_bufs[pb]) { in tw686x_buf_done()
58 vb = &vc->curr_bufs[pb]->vb; in tw686x_buf_done()
139 vc->curr_bufs[pb] = buf; in tw686x_memcpy_buf_refill()
142 vc->curr_bufs[pb] = NULL; in tw686x_memcpy_buf_refill()
171 vc->curr_bufs[pb] = buf; in tw686x_contig_buf_refill()
174 vc->curr_bufs[pb] = NULL; in tw686x_contig_buf_refill()
247 vc->curr_bufs[pb] = buf; in tw686x_sg_buf_refill()
251 vc->curr_bufs[pb] = NULL; in tw686x_sg_buf_refill()
486 if (vc->curr_bufs[pb]) in tw686x_clear_queue()
487 vb2_buffer_done(&vc->curr_bufs[pb]->vb.vb2_buf, state); in tw686x_clear_queue()
[all …]