Searched refs:buf_state (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/google/gve/ |
D | gve_rx_dqo.c | 37 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/ |
D | mtk_jpeg_enc_hw.c | 239 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()
|
D | mtk_jpeg_core.c | 944 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 …]
|
D | mtk_jpeg_dec_hw.c | 489 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/ |
D | dw100.c | 1072 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/ |
D | mtk_mdp_m2m.c | 499 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/ |
D | dp_rx.c | 2983 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 …]
|
D | dp.h | 161 enum dp_mon_status_buf_state buf_state; member
|
/drivers/media/platform/ti/omap3isp/ |
D | ispstat.c | 628 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/ |
D | mxc-jpeg.c | 888 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()
|