curr_ctx 78 drivers/media/platform/coda/imx-vdoa.c struct vdoa_ctx *curr_ctx; curr_ctx 103 drivers/media/platform/coda/imx-vdoa.c struct vdoa_ctx *curr_ctx; curr_ctx 109 drivers/media/platform/coda/imx-vdoa.c curr_ctx = vdoa->curr_ctx; curr_ctx 110 drivers/media/platform/coda/imx-vdoa.c if (!curr_ctx) { curr_ctx 124 drivers/media/platform/coda/imx-vdoa.c curr_ctx->completed_job++; curr_ctx 125 drivers/media/platform/coda/imx-vdoa.c complete(&curr_ctx->completion); curr_ctx 154 drivers/media/platform/coda/imx-vdoa.c if (vdoa->curr_ctx) curr_ctx 155 drivers/media/platform/coda/imx-vdoa.c vdoa_wait_for_completion(vdoa->curr_ctx); curr_ctx 157 drivers/media/platform/coda/imx-vdoa.c vdoa->curr_ctx = ctx; curr_ctx 225 drivers/media/platform/coda/imx-vdoa.c if (vdoa->curr_ctx == ctx) { curr_ctx 226 drivers/media/platform/coda/imx-vdoa.c vdoa_wait_for_completion(vdoa->curr_ctx); curr_ctx 227 drivers/media/platform/coda/imx-vdoa.c vdoa->curr_ctx = NULL; curr_ctx 29 drivers/media/platform/exynos-gsc/gsc-m2m.c struct gsc_ctx *curr_ctx; curr_ctx 33 drivers/media/platform/exynos-gsc/gsc-m2m.c curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); curr_ctx 34 drivers/media/platform/exynos-gsc/gsc-m2m.c if (!gsc_m2m_pending(gsc) || (curr_ctx != ctx)) curr_ctx 934 drivers/media/platform/imx-pxp.c struct pxp_ctx *curr_ctx; curr_ctx 938 drivers/media/platform/imx-pxp.c curr_ctx = v4l2_m2m_get_curr_priv(dev->m2m_dev); curr_ctx 940 drivers/media/platform/imx-pxp.c if (curr_ctx == NULL) { curr_ctx 945 drivers/media/platform/imx-pxp.c src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 946 drivers/media/platform/imx-pxp.c dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 953 drivers/media/platform/imx-pxp.c dprintk(curr_ctx->dev, "Finishing transaction\n"); curr_ctx 954 drivers/media/platform/imx-pxp.c v4l2_m2m_job_finish(dev->m2m_dev, curr_ctx->fh.m2m_ctx); curr_ctx 179 drivers/media/platform/m2m-deinterlace.c struct deinterlace_ctx *curr_ctx = data; curr_ctx 180 drivers/media/platform/m2m-deinterlace.c struct deinterlace_dev *pcdev = curr_ctx->dev; curr_ctx 185 drivers/media/platform/m2m-deinterlace.c src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 186 drivers/media/platform/m2m-deinterlace.c dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 197 drivers/media/platform/m2m-deinterlace.c v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); curr_ctx 350 drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h struct mtk_vcodec_ctx *curr_ctx; curr_ctx 66 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c ctx = dev->curr_ctx; curr_ctx 89 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c ctx = dev->curr_ctx; curr_ctx 91 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c dev->curr_ctx = ctx; curr_ctx 102 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c ctx = dev->curr_ctx; curr_ctx 69 drivers/media/platform/mtk-vcodec/venc_drv_if.c ctx->dev->curr_ctx = ctx; curr_ctx 78 drivers/media/platform/mtk-vcodec/venc_drv_if.c ctx->dev->curr_ctx = NULL; curr_ctx 331 drivers/media/platform/mx2_emmaprp.c struct emmaprp_ctx *curr_ctx; curr_ctx 341 drivers/media/platform/mx2_emmaprp.c curr_ctx = v4l2_m2m_get_curr_priv(pcdev->m2m_dev); curr_ctx 342 drivers/media/platform/mx2_emmaprp.c if (curr_ctx == NULL) { curr_ctx 347 drivers/media/platform/mx2_emmaprp.c if (!curr_ctx->aborting) { curr_ctx 353 drivers/media/platform/mx2_emmaprp.c src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 354 drivers/media/platform/mx2_emmaprp.c dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 371 drivers/media/platform/mx2_emmaprp.c v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); curr_ctx 1502 drivers/media/platform/rcar_jpu.c struct jpu_ctx *curr_ctx; curr_ctx 1524 drivers/media/platform/rcar_jpu.c curr_ctx = v4l2_m2m_get_curr_priv(jpu->m2m_dev); curr_ctx 1525 drivers/media/platform/rcar_jpu.c if (!curr_ctx) { curr_ctx 1531 drivers/media/platform/rcar_jpu.c src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 1532 drivers/media/platform/rcar_jpu.c dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 1535 drivers/media/platform/rcar_jpu.c if (curr_ctx->encoder) { curr_ctx 1570 drivers/media/platform/rcar_jpu.c v4l2_m2m_job_finish(jpu->m2m_dev, curr_ctx->fh.m2m_ctx); curr_ctx 2659 drivers/media/platform/s5p-jpeg/jpeg-core.c struct s5p_jpeg_ctx *curr_ctx; curr_ctx 2669 drivers/media/platform/s5p-jpeg/jpeg-core.c curr_ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); curr_ctx 2671 drivers/media/platform/s5p-jpeg/jpeg-core.c src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 2672 drivers/media/platform/s5p-jpeg/jpeg-core.c dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 2674 drivers/media/platform/s5p-jpeg/jpeg-core.c if (curr_ctx->mode == S5P_JPEG_ENCODE) curr_ctx 2678 drivers/media/platform/s5p-jpeg/jpeg-core.c if (curr_ctx->mode == S5P_JPEG_DECODE) curr_ctx 2701 drivers/media/platform/s5p-jpeg/jpeg-core.c if (curr_ctx->mode == S5P_JPEG_ENCODE) curr_ctx 2705 drivers/media/platform/s5p-jpeg/jpeg-core.c curr_ctx->subsampling = s5p_jpeg_get_subsampling_mode(jpeg->regs); curr_ctx 2710 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_m2m_job_finish(jpeg->m2m_dev, curr_ctx->fh.m2m_ctx); curr_ctx 2719 drivers/media/platform/s5p-jpeg/jpeg-core.c struct s5p_jpeg_ctx *curr_ctx; curr_ctx 2726 drivers/media/platform/s5p-jpeg/jpeg-core.c curr_ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); curr_ctx 2728 drivers/media/platform/s5p-jpeg/jpeg-core.c src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 2729 drivers/media/platform/s5p-jpeg/jpeg-core.c dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 2759 drivers/media/platform/s5p-jpeg/jpeg-core.c if (curr_ctx->mode == S5P_JPEG_ENCODE) { curr_ctx 2772 drivers/media/platform/s5p-jpeg/jpeg-core.c curr_ctx->subsampling = exynos4_jpeg_get_frame_fmt(jpeg->regs); curr_ctx 2778 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_m2m_job_finish(jpeg->m2m_dev, curr_ctx->fh.m2m_ctx); curr_ctx 2785 drivers/media/platform/s5p-jpeg/jpeg-core.c struct s5p_jpeg_ctx *curr_ctx; curr_ctx 2813 drivers/media/platform/s5p-jpeg/jpeg-core.c curr_ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); curr_ctx 2815 drivers/media/platform/s5p-jpeg/jpeg-core.c if (!curr_ctx) curr_ctx 2819 drivers/media/platform/s5p-jpeg/jpeg-core.c (curr_ctx->mode == S5P_JPEG_DECODE)) { curr_ctx 2834 drivers/media/platform/s5p-jpeg/jpeg-core.c src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 2835 drivers/media/platform/s5p-jpeg/jpeg-core.c dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 2841 drivers/media/platform/s5p-jpeg/jpeg-core.c if (curr_ctx->mode == S5P_JPEG_ENCODE) curr_ctx 2845 drivers/media/platform/s5p-jpeg/jpeg-core.c curr_ctx->subsampling = curr_ctx 2850 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_m2m_job_finish(jpeg->m2m_dev, curr_ctx->fh.m2m_ctx); curr_ctx 96 drivers/media/platform/s5p-mfc/s5p_mfc.c ctx = dev->curr_ctx; curr_ctx 99 drivers/media/platform/s5p-mfc/s5p_mfc.c if (ctx == dev->curr_ctx) { curr_ctx 641 drivers/media/platform/s5p-mfc/s5p_mfc.c ctx = dev->ctx[dev->curr_ctx]; curr_ctx 960 drivers/media/platform/s5p-mfc/s5p_mfc.c if (dev->curr_ctx == ctx->num) curr_ctx 79 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c dev->curr_ctx = ctx->num; curr_ctx 137 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c dev->curr_ctx = ctx->num; curr_ctx 74 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c dev->curr_ctx = ctx->num; curr_ctx 143 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c dev->curr_ctx = ctx->num; curr_ctx 327 drivers/media/platform/s5p-mfc/s5p_mfc_common.h int curr_ctx; curr_ctx 1020 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c dev->curr_ctx == ctx->num && dev->hw_lock) { curr_ctx 2498 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c (dev->curr_ctx == ctx->num) && dev->hw_lock) { curr_ctx 2527 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c dev->curr_ctx == ctx->num && dev->hw_lock) { curr_ctx 1156 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c dev->curr_ctx = ctx->num; curr_ctx 1168 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c dev->curr_ctx = ctx->num; curr_ctx 1184 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c dev->curr_ctx = ctx->num; curr_ctx 1241 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c dev->curr_ctx = ctx->num; curr_ctx 1262 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c dev->curr_ctx = ctx->num; curr_ctx 1278 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c dev->curr_ctx = ctx->num; curr_ctx 1306 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c dev->curr_ctx = ctx->num; curr_ctx 1664 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 1787 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 1800 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 1819 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 1881 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 1899 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 1914 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 1933 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 1947 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c dev->curr_ctx = ctx->num; curr_ctx 210 drivers/media/platform/sti/bdisp/bdisp-v4l2.c struct bdisp_ctx *curr_ctx; curr_ctx 218 drivers/media/platform/sti/bdisp/bdisp-v4l2.c curr_ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); curr_ctx 219 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (!test_bit(ST_M2M_RUNNING, &bdisp->state) || (curr_ctx != ctx)) curr_ctx 622 drivers/media/platform/vim2m.c struct vim2m_ctx *curr_ctx; curr_ctx 627 drivers/media/platform/vim2m.c curr_ctx = container_of(w, struct vim2m_ctx, work_run.work); curr_ctx 629 drivers/media/platform/vim2m.c if (!curr_ctx) { curr_ctx 634 drivers/media/platform/vim2m.c vim2m_dev = curr_ctx->dev; curr_ctx 636 drivers/media/platform/vim2m.c src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 637 drivers/media/platform/vim2m.c dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); curr_ctx 639 drivers/media/platform/vim2m.c curr_ctx->num_processed++; curr_ctx 641 drivers/media/platform/vim2m.c spin_lock_irqsave(&curr_ctx->irqlock, flags); curr_ctx 644 drivers/media/platform/vim2m.c spin_unlock_irqrestore(&curr_ctx->irqlock, flags); curr_ctx 646 drivers/media/platform/vim2m.c if (curr_ctx->num_processed == curr_ctx->translen curr_ctx 647 drivers/media/platform/vim2m.c || curr_ctx->aborting) { curr_ctx 648 drivers/media/platform/vim2m.c dprintk(curr_ctx->dev, 2, "Finishing capture buffer fill\n"); curr_ctx 649 drivers/media/platform/vim2m.c curr_ctx->num_processed = 0; curr_ctx 650 drivers/media/platform/vim2m.c v4l2_m2m_job_finish(vim2m_dev->m2m_dev, curr_ctx->fh.m2m_ctx); curr_ctx 652 drivers/media/platform/vim2m.c device_run(curr_ctx); curr_ctx 90 drivers/media/v4l2-core/v4l2-mem2mem.c struct v4l2_m2m_ctx *curr_ctx; curr_ctx 232 drivers/media/v4l2-core/v4l2-mem2mem.c if (m2m_dev->curr_ctx) curr_ctx 233 drivers/media/v4l2-core/v4l2-mem2mem.c ret = m2m_dev->curr_ctx->priv; curr_ctx 254 drivers/media/v4l2-core/v4l2-mem2mem.c if (NULL != m2m_dev->curr_ctx) { curr_ctx 266 drivers/media/v4l2-core/v4l2-mem2mem.c m2m_dev->curr_ctx = list_first_entry(&m2m_dev->job_queue, curr_ctx 268 drivers/media/v4l2-core/v4l2-mem2mem.c m2m_dev->curr_ctx->job_flags |= TRANS_RUNNING; curr_ctx 271 drivers/media/v4l2-core/v4l2-mem2mem.c dprintk("Running job on m2m_ctx: %p\n", m2m_dev->curr_ctx); curr_ctx 272 drivers/media/v4l2-core/v4l2-mem2mem.c m2m_dev->m2m_ops->device_run(m2m_dev->curr_ctx->priv); curr_ctx 421 drivers/media/v4l2-core/v4l2-mem2mem.c if (!m2m_dev->curr_ctx || m2m_dev->curr_ctx != m2m_ctx) { curr_ctx 427 drivers/media/v4l2-core/v4l2-mem2mem.c list_del(&m2m_dev->curr_ctx->queue); curr_ctx 428 drivers/media/v4l2-core/v4l2-mem2mem.c m2m_dev->curr_ctx->job_flags &= ~(TRANS_QUEUED | TRANS_RUNNING); curr_ctx 429 drivers/media/v4l2-core/v4l2-mem2mem.c wake_up(&m2m_dev->curr_ctx->finished); curr_ctx 430 drivers/media/v4l2-core/v4l2-mem2mem.c m2m_dev->curr_ctx = NULL; curr_ctx 596 drivers/media/v4l2-core/v4l2-mem2mem.c if (m2m_dev->curr_ctx == m2m_ctx) { curr_ctx 597 drivers/media/v4l2-core/v4l2-mem2mem.c m2m_dev->curr_ctx = NULL; curr_ctx 884 drivers/media/v4l2-core/v4l2-mem2mem.c m2m_dev->curr_ctx = NULL; curr_ctx 645 net/mac80211/chan.c struct ieee80211_chanctx *curr_ctx = NULL; curr_ctx 655 net/mac80211/chan.c curr_ctx = container_of(conf, struct ieee80211_chanctx, conf); curr_ctx 657 net/mac80211/chan.c drv_unassign_vif_chanctx(local, sdata, curr_ctx); curr_ctx 677 net/mac80211/chan.c if (curr_ctx && ieee80211_chanctx_num_assigned(local, curr_ctx) > 0) { curr_ctx 678 net/mac80211/chan.c ieee80211_recalc_chanctx_chantype(local, curr_ctx); curr_ctx 679 net/mac80211/chan.c ieee80211_recalc_smps_chanctx(local, curr_ctx); curr_ctx 680 net/mac80211/chan.c ieee80211_recalc_radar_chanctx(local, curr_ctx); curr_ctx 681 net/mac80211/chan.c ieee80211_recalc_chanctx_min_def(local, curr_ctx); curr_ctx 874 net/mac80211/chan.c struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; curr_ctx 878 net/mac80211/chan.c curr_ctx = ieee80211_vif_get_chanctx(sdata); curr_ctx 879 net/mac80211/chan.c if (curr_ctx && local->use_chanctx && !local->ops->switch_vif_chanctx) curr_ctx 889 net/mac80211/chan.c if (!curr_ctx || curr_ctx 890 net/mac80211/chan.c (curr_ctx->replace_state == curr_ctx 892 net/mac80211/chan.c !list_empty(&curr_ctx->reserved_vifs)) { curr_ctx 924 net/mac80211/chan.c curr_ctx = ctx; curr_ctx 933 net/mac80211/chan.c if (!curr_ctx || curr_ctx 934 net/mac80211/chan.c (curr_ctx->replace_state == curr_ctx 936 net/mac80211/chan.c !list_empty(&curr_ctx->reserved_vifs)) curr_ctx 943 net/mac80211/chan.c new_ctx->replace_ctx = curr_ctx; curr_ctx 947 net/mac80211/chan.c curr_ctx->replace_ctx = new_ctx; curr_ctx 948 net/mac80211/chan.c curr_ctx->replace_state =