Searched refs:v_bufs (Results 1 – 1 of 1) sorted by relevance
518 struct stf_v_buf *v_bufs = &cap->buffers; in stf_queue_buffer() local521 spin_lock_irqsave(&v_bufs->lock, flags); in stf_queue_buffer()523 spin_unlock_irqrestore(&v_bufs->lock, flags); in stf_queue_buffer()532 struct stf_v_buf *v_bufs = &cap->buffers; in stf_flush_buffers() local536 spin_lock_irqsave(&v_bufs->lock, flags); in stf_flush_buffers()538 stf_buf_flush(v_bufs, state); in stf_flush_buffers()540 for (i = 0; i < ARRAY_SIZE(v_bufs->buf); i++) { in stf_flush_buffers()541 if (v_bufs->buf[i]) in stf_flush_buffers()542 vb2_buffer_done(&v_bufs->buf[i]->vb.vb2_buf, state); in stf_flush_buffers()544 v_bufs->buf[i] = NULL; in stf_flush_buffers()[all …]