| /Linux-v5.4/drivers/media/platform/coda/ |
| D | imx-vdoa.c | 78 struct vdoa_ctx *curr_ctx; member 103 struct vdoa_ctx *curr_ctx; in vdoa_irq_handler() local 109 curr_ctx = vdoa->curr_ctx; in vdoa_irq_handler() 110 if (!curr_ctx) { in vdoa_irq_handler() 124 curr_ctx->completed_job++; in vdoa_irq_handler() 125 complete(&curr_ctx->completion); in vdoa_irq_handler() 154 if (vdoa->curr_ctx) in vdoa_device_run() 155 vdoa_wait_for_completion(vdoa->curr_ctx); in vdoa_device_run() 157 vdoa->curr_ctx = ctx; in vdoa_device_run() 225 if (vdoa->curr_ctx == ctx) { in vdoa_context_destroy() [all …]
|
| /Linux-v5.4/drivers/media/v4l2-core/ |
| D | v4l2-mem2mem.c | 90 struct v4l2_m2m_ctx *curr_ctx; member 232 if (m2m_dev->curr_ctx) in v4l2_m2m_get_curr_priv() 233 ret = m2m_dev->curr_ctx->priv; in v4l2_m2m_get_curr_priv() 254 if (NULL != m2m_dev->curr_ctx) { in v4l2_m2m_try_run() 266 m2m_dev->curr_ctx = list_first_entry(&m2m_dev->job_queue, in v4l2_m2m_try_run() 268 m2m_dev->curr_ctx->job_flags |= TRANS_RUNNING; in v4l2_m2m_try_run() 271 dprintk("Running job on m2m_ctx: %p\n", m2m_dev->curr_ctx); in v4l2_m2m_try_run() 272 m2m_dev->m2m_ops->device_run(m2m_dev->curr_ctx->priv); in v4l2_m2m_try_run() 421 if (!m2m_dev->curr_ctx || m2m_dev->curr_ctx != m2m_ctx) { in v4l2_m2m_job_finish() 427 list_del(&m2m_dev->curr_ctx->queue); in v4l2_m2m_job_finish() [all …]
|
| /Linux-v5.4/net/mac80211/ |
| D | chan.c | 645 struct ieee80211_chanctx *curr_ctx = NULL; in ieee80211_assign_vif_chanctx() local 655 curr_ctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_assign_vif_chanctx() 657 drv_unassign_vif_chanctx(local, sdata, curr_ctx); in ieee80211_assign_vif_chanctx() 677 if (curr_ctx && ieee80211_chanctx_num_assigned(local, curr_ctx) > 0) { in ieee80211_assign_vif_chanctx() 678 ieee80211_recalc_chanctx_chantype(local, curr_ctx); in ieee80211_assign_vif_chanctx() 679 ieee80211_recalc_smps_chanctx(local, curr_ctx); in ieee80211_assign_vif_chanctx() 680 ieee80211_recalc_radar_chanctx(local, curr_ctx); in ieee80211_assign_vif_chanctx() 681 ieee80211_recalc_chanctx_min_def(local, curr_ctx); in ieee80211_assign_vif_chanctx() 874 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_vif_reserve_chanctx() local 878 curr_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_reserve_chanctx() [all …]
|
| /Linux-v5.4/drivers/media/platform/ |
| D | vim2m.c | 622 struct vim2m_ctx *curr_ctx; in device_work() local 627 curr_ctx = container_of(w, struct vim2m_ctx, work_run.work); in device_work() 629 if (!curr_ctx) { in device_work() 634 vim2m_dev = curr_ctx->dev; in device_work() 636 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in device_work() 637 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_work() 639 curr_ctx->num_processed++; in device_work() 641 spin_lock_irqsave(&curr_ctx->irqlock, flags); in device_work() 644 spin_unlock_irqrestore(&curr_ctx->irqlock, flags); in device_work() 646 if (curr_ctx->num_processed == curr_ctx->translen in device_work() [all …]
|
| D | mx2_emmaprp.c | 331 struct emmaprp_ctx *curr_ctx; in emmaprp_irq() local 341 curr_ctx = v4l2_m2m_get_curr_priv(pcdev->m2m_dev); in emmaprp_irq() 342 if (curr_ctx == NULL) { in emmaprp_irq() 347 if (!curr_ctx->aborting) { in emmaprp_irq() 353 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq() 354 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq() 371 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); in emmaprp_irq()
|
| D | rcar_jpu.c | 1502 struct jpu_ctx *curr_ctx; in jpu_irq_handler() local 1524 curr_ctx = v4l2_m2m_get_curr_priv(jpu->m2m_dev); in jpu_irq_handler() 1525 if (!curr_ctx) { in jpu_irq_handler() 1531 src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in jpu_irq_handler() 1532 dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in jpu_irq_handler() 1535 if (curr_ctx->encoder) { in jpu_irq_handler() 1570 v4l2_m2m_job_finish(jpu->m2m_dev, curr_ctx->fh.m2m_ctx); in jpu_irq_handler()
|
| D | imx-pxp.c | 934 struct pxp_ctx *curr_ctx; in pxp_job_finish() local 938 curr_ctx = v4l2_m2m_get_curr_priv(dev->m2m_dev); in pxp_job_finish() 940 if (curr_ctx == NULL) { in pxp_job_finish() 945 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in pxp_job_finish() 946 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in pxp_job_finish() 953 dprintk(curr_ctx->dev, "Finishing transaction\n"); in pxp_job_finish() 954 v4l2_m2m_job_finish(dev->m2m_dev, curr_ctx->fh.m2m_ctx); in pxp_job_finish()
|
| D | m2m-deinterlace.c | 179 struct deinterlace_ctx *curr_ctx = data; in dma_callback() local 180 struct deinterlace_dev *pcdev = curr_ctx->dev; in dma_callback() 185 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback() 186 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback() 197 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); in dma_callback()
|
| /Linux-v5.4/drivers/media/platform/mtk-vcodec/ |
| D | venc_drv_if.c | 69 ctx->dev->curr_ctx = ctx; in venc_if_encode() 78 ctx->dev->curr_ctx = NULL; in venc_if_encode()
|
| D | mtk_vcodec_util.c | 91 dev->curr_ctx = ctx; in mtk_vcodec_set_curr_ctx() 102 ctx = dev->curr_ctx; in mtk_vcodec_get_curr_ctx()
|
| D | mtk_vcodec_enc_drv.c | 66 ctx = dev->curr_ctx; in mtk_vcodec_enc_irq_handler() 89 ctx = dev->curr_ctx; in mtk_vcodec_enc_lt_irq_handler()
|
| D | mtk_vcodec_drv.h | 350 struct mtk_vcodec_ctx *curr_ctx; member
|
| /Linux-v5.4/drivers/media/platform/s5p-jpeg/ |
| D | jpeg-core.c | 2659 struct s5p_jpeg_ctx *curr_ctx; in s5p_jpeg_irq() local 2669 curr_ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in s5p_jpeg_irq() 2671 src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in s5p_jpeg_irq() 2672 dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in s5p_jpeg_irq() 2674 if (curr_ctx->mode == S5P_JPEG_ENCODE) in s5p_jpeg_irq() 2678 if (curr_ctx->mode == S5P_JPEG_DECODE) in s5p_jpeg_irq() 2701 if (curr_ctx->mode == S5P_JPEG_ENCODE) in s5p_jpeg_irq() 2705 curr_ctx->subsampling = s5p_jpeg_get_subsampling_mode(jpeg->regs); in s5p_jpeg_irq() 2710 v4l2_m2m_job_finish(jpeg->m2m_dev, curr_ctx->fh.m2m_ctx); in s5p_jpeg_irq() 2719 struct s5p_jpeg_ctx *curr_ctx; in exynos4_jpeg_irq() local [all …]
|
| /Linux-v5.4/drivers/media/platform/s5p-mfc/ |
| D | s5p_mfc_cmd_v6.c | 74 dev->curr_ctx = ctx->num; in s5p_mfc_open_inst_cmd_v6() 143 dev->curr_ctx = ctx->num; in s5p_mfc_close_inst_cmd_v6()
|
| D | s5p_mfc_cmd_v5.c | 79 dev->curr_ctx = ctx->num; in s5p_mfc_open_inst_cmd_v5() 137 dev->curr_ctx = ctx->num; in s5p_mfc_close_inst_cmd_v5()
|
| D | s5p_mfc_opr_v5.c | 1156 dev->curr_ctx = ctx->num; in s5p_mfc_run_res_change() 1168 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_frame() 1184 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_frame() 1241 dev->curr_ctx = ctx->num; in s5p_mfc_run_enc_frame() 1262 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_dec() 1278 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_enc() 1306 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_dec_buffers()
|
| D | s5p_mfc_opr_v6.c | 1664 dev->curr_ctx = ctx->num; in s5p_mfc_set_flush() 1787 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_last_frames() 1800 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_frame() 1819 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_frame() 1881 dev->curr_ctx = ctx->num; in s5p_mfc_run_enc_frame() 1899 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_dec() 1914 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_enc() 1933 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_dec_buffers() 1947 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_enc_buffers()
|
| D | s5p_mfc.c | 96 ctx = dev->curr_ctx; in s5p_mfc_get_new_ctx() 99 if (ctx == dev->curr_ctx) { in s5p_mfc_get_new_ctx() 641 ctx = dev->ctx[dev->curr_ctx]; in s5p_mfc_irq() 960 if (dev->curr_ctx == ctx->num) in s5p_mfc_release()
|
| D | s5p_mfc_common.h | 327 int curr_ctx; member
|
| D | s5p_mfc_enc.c | 2498 (dev->curr_ctx == ctx->num) && dev->hw_lock) { in s5p_mfc_start_streaming() 2527 dev->curr_ctx == ctx->num && dev->hw_lock) { in s5p_mfc_stop_streaming()
|
| D | s5p_mfc_dec.c | 1020 dev->curr_ctx == ctx->num && dev->hw_lock) { in s5p_mfc_stop_streaming()
|
| /Linux-v5.4/drivers/media/platform/exynos-gsc/ |
| D | gsc-m2m.c | 29 struct gsc_ctx *curr_ctx; in gsc_m2m_ctx_stop_req() local 33 curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); in gsc_m2m_ctx_stop_req() 34 if (!gsc_m2m_pending(gsc) || (curr_ctx != ctx)) in gsc_m2m_ctx_stop_req()
|
| /Linux-v5.4/drivers/media/platform/sti/bdisp/ |
| D | bdisp-v4l2.c | 210 struct bdisp_ctx *curr_ctx; in bdisp_ctx_stop_req() local 218 curr_ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); in bdisp_ctx_stop_req() 219 if (!test_bit(ST_M2M_RUNNING, &bdisp->state) || (curr_ctx != ctx)) in bdisp_ctx_stop_req()
|