Home
last modified time | relevance | path

Searched refs:ready_buf (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/staging/media/starfive/camss/
H A Dstf-capture.c375 struct stfcamss_buffer *ready_buf; in stf_buf_done() local
385 while ((ready_buf = stf_buf_get_ready(output))) { in stf_buf_done()
386 ready_buf->vb.vb2_buf.timestamp = ts; in stf_buf_done()
387 ready_buf->vb.sequence = output->sequence++; in stf_buf_done()
389 vb2_buffer_done(&ready_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in stf_buf_done()
400 struct stfcamss_buffer *ready_buf; in stf_change_buffer() local
415 ready_buf = output->buf[active_index]; in stf_change_buffer()
416 if (!ready_buf) { in stf_change_buffer()
420 ready_buf = output->buf[active_index]; in stf_change_buffer()
421 if (!ready_buf) { in stf_change_buffer()
[all …]
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-480.c405 struct camss_buffer *ready_buf; in vfe_isr_wm_done() local
420 ready_buf = output->buf[0]; in vfe_isr_wm_done()
421 if (!ready_buf) { in vfe_isr_wm_done()
427 ready_buf->vb.vb2_buf.timestamp = ts; in vfe_isr_wm_done()
428 ready_buf->vb.sequence = output->sequence++; in vfe_isr_wm_done()
444 vb2_buffer_done(&ready_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in vfe_isr_wm_done()
H A Dcamss-vfe-gen1.c610 struct camss_buffer *ready_buf; in vfe_isr_wm_done() local
636 ready_buf = output->buf[!active_index]; in vfe_isr_wm_done()
637 if (!ready_buf) { in vfe_isr_wm_done()
644 ready_buf->vb.vb2_buf.timestamp = ts; in vfe_isr_wm_done()
645 ready_buf->vb.sequence = output->sequence++; in vfe_isr_wm_done()
651 new_addr = ready_buf->addr; in vfe_isr_wm_done()
668 output->last_buffer = ready_buf; in vfe_isr_wm_done()
670 vb2_buffer_done(&ready_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in vfe_isr_wm_done()
H A Dcamss-vfe-17x.c583 struct camss_buffer *ready_buf; in vfe_isr_wm_done() local
598 ready_buf = output->buf[0]; in vfe_isr_wm_done()
599 if (!ready_buf) { in vfe_isr_wm_done()
605 ready_buf->vb.vb2_buf.timestamp = ts; in vfe_isr_wm_done()
606 ready_buf->vb.sequence = output->sequence++; in vfe_isr_wm_done()
622 vb2_buffer_done(&ready_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in vfe_isr_wm_done()
/linux/sound/soc/fsl/
H A Dfsl_spdif.c93 u32 ready_buf; member
306 ctrl->ready_buf = (ctrl->qpos - 1) / SPDIF_QSUB_SIZE + 1; in spdif_irq_uq_sync()
324 ctrl->ready_buf = 0; in spdif_irq_uq_err()
860 if (ctrl->ready_buf) { in fsl_spdif_subcode_get()
861 int idx = (ctrl->ready_buf - 1) * SPDIF_UBITS_SIZE; in fsl_spdif_subcode_get()
892 if (ctrl->ready_buf) { in fsl_spdif_qget()
893 int idx = (ctrl->ready_buf - 1) * SPDIF_QSUB_SIZE; in fsl_spdif_qget()