Home
last modified time | relevance | path

Searched refs:buf_state (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c37 struct gve_rx_buf_state_dqo *buf_state; in gve_alloc_buf_state() local
44 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_alloc_buf_state()
47 rx->dqo.free_buf_states = buf_state->next; in gve_alloc_buf_state()
50 buf_state->next = buffer_id; in gve_alloc_buf_state()
52 return buf_state; in gve_alloc_buf_state()
56 struct gve_rx_buf_state_dqo *buf_state) in gve_buf_state_is_allocated() argument
58 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_buf_state_is_allocated()
60 return buf_state->next == buffer_id; in gve_buf_state_is_allocated()
64 struct gve_rx_buf_state_dqo *buf_state) in gve_free_buf_state() argument
66 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_free_buf_state()
[all …]
/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_enc_hw.c239 enum vb2_buffer_state buf_state = VB2_BUF_STATE_ERROR; in mtk_jpegenc_timeout_work() local
252 v4l2_m2m_buf_done(src_buf, buf_state); in mtk_jpegenc_timeout_work()
259 enum vb2_buffer_state buf_state; in mtk_jpegenc_hw_irq_handler() local
283 buf_state = VB2_BUF_STATE_DONE; in mtk_jpegenc_hw_irq_handler()
284 v4l2_m2m_buf_done(src_buf, buf_state); in mtk_jpegenc_hw_irq_handler()
Dmtk_jpeg_core.c944 enum vb2_buffer_state buf_state = VB2_BUF_STATE_ERROR; in mtk_jpeg_enc_device_run() local
976 v4l2_m2m_buf_done(src_buf, buf_state); in mtk_jpeg_enc_device_run()
977 v4l2_m2m_buf_done(dst_buf, buf_state); in mtk_jpeg_enc_device_run()
1002 enum vb2_buffer_state buf_state = VB2_BUF_STATE_ERROR; in mtk_jpeg_dec_device_run() local
1045 v4l2_m2m_buf_done(src_buf, buf_state); in mtk_jpeg_dec_device_run()
1046 v4l2_m2m_buf_done(dst_buf, buf_state); in mtk_jpeg_dec_device_run()
1556 enum vb2_buffer_state buf_state = VB2_BUF_STATE_ERROR; in mtk_jpeg_enc_done() local
1571 buf_state = VB2_BUF_STATE_DONE; in mtk_jpeg_enc_done()
1573 v4l2_m2m_buf_done(src_buf, buf_state); in mtk_jpeg_enc_done()
1574 v4l2_m2m_buf_done(dst_buf, buf_state); in mtk_jpeg_enc_done()
[all …]
Dmtk_jpeg_dec_hw.c489 enum vb2_buffer_state buf_state = VB2_BUF_STATE_ERROR; in mtk_jpegdec_timeout_work() local
506 v4l2_m2m_buf_done(src_buf, buf_state); in mtk_jpegdec_timeout_work()
514 enum vb2_buffer_state buf_state; in mtk_jpegdec_hw_irq_handler() local
545 buf_state = VB2_BUF_STATE_DONE; in mtk_jpegdec_hw_irq_handler()
546 v4l2_m2m_buf_done(src_buf, buf_state); in mtk_jpegdec_hw_irq_handler()
/drivers/media/platform/nxp/dw100/
Ddw100.c1072 enum vb2_buffer_state buf_state; in dw100_job_finish() local
1086 buf_state = VB2_BUF_STATE_DONE; in dw100_job_finish()
1088 buf_state = VB2_BUF_STATE_ERROR; in dw100_job_finish()
1090 v4l2_m2m_buf_done(src_vb, buf_state); in dw100_job_finish()
1091 v4l2_m2m_buf_done(dst_vb, buf_state); in dw100_job_finish()
/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_m2m.c499 enum vb2_buffer_state buf_state = VB2_BUF_STATE_ERROR; in mtk_mdp_m2m_worker() local
527 buf_state = VB2_BUF_STATE_DONE; in mtk_mdp_m2m_worker()
530 mtk_mdp_process_done(mdp, buf_state); in mtk_mdp_m2m_worker()
/drivers/net/wireless/ath/ath11k/
Ddp_rx.c2983 pmon->buf_state = DP_MON_STATUS_LEAD; in ath11k_dp_rx_mon_update_status_buf_state()
2986 pmon->buf_state = DP_MON_STATUS_LAG; in ath11k_dp_rx_mon_update_status_buf_state()
2988 pmon->buf_state = DP_MON_STATUS_LAG; in ath11k_dp_rx_mon_update_status_buf_state()
2991 pmon->buf_state = DP_MON_STATUS_LEAD; in ath11k_dp_rx_mon_update_status_buf_state()
3030 pmon->buf_state = DP_MON_STATUS_REPLINISH; in ath11k_dp_rx_reap_mon_status_ring()
3046 pmon->buf_state = DP_MON_STATUS_REPLINISH; in ath11k_dp_rx_reap_mon_status_ring()
3069 pmon->buf_state = DP_MON_STATUS_NO_DMA; in ath11k_dp_rx_reap_mon_status_ring()
3079 pmon->buf_state = DP_MON_STATUS_MATCH; in ath11k_dp_rx_reap_mon_status_ring()
3088 pmon->buf_state = DP_MON_STATUS_REPLINISH; in ath11k_dp_rx_reap_mon_status_ring()
5522 if (pmon->buf_state == DP_MON_STATUS_MATCH) { in ath11k_dp_rx_process_full_mon_status_ring()
[all …]
Ddp.h161 enum dp_mon_status_buf_state buf_state; member
/drivers/media/platform/ti/omap3isp/
Dispstat.c628 static int isp_stat_buf_process(struct ispstat *stat, int buf_state) in isp_stat_buf_process() argument
633 buf_state == STAT_BUF_DONE && stat->state == ISPSTAT_ENABLED) { in isp_stat_buf_process()
/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c888 enum vb2_buffer_state buf_state; in mxc_jpeg_dec_irq() local
933 buf_state = VB2_BUF_STATE_ERROR; in mxc_jpeg_dec_irq()
979 buf_state = VB2_BUF_STATE_DONE; in mxc_jpeg_dec_irq()
982 mxc_jpeg_job_finish(ctx, buf_state, false); in mxc_jpeg_dec_irq()