Home
last modified time | relevance | path

Searched refs:curr_ctx (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-ctxld.c250 int curr_ctx = ctxld->current_ctx; in dcss_ctxld_enable_locked() local
262 sb_hp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_HP]; in dcss_ctxld_enable_locked()
263 sb_lp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_LP]; in dcss_ctxld_enable_locked()
264 db_cnt = ctxld->ctx_size[curr_ctx][CTX_DB]; in dcss_ctxld_enable_locked()
268 ctxld->sb_lp[curr_ctx] != ctxld->sb_hp[curr_ctx] + sb_hp_cnt) { in dcss_ctxld_enable_locked()
271 sb_lp_adjusted = ctxld->sb_hp[curr_ctx] + sb_hp_cnt; in dcss_ctxld_enable_locked()
273 memcpy(sb_lp_adjusted, ctxld->sb_lp[curr_ctx], in dcss_ctxld_enable_locked()
277 db_base = db_cnt ? ctxld->db_paddr[curr_ctx] : 0; in dcss_ctxld_enable_locked()
288 sb_base = sb_count ? ctxld->sb_paddr[curr_ctx] : 0; in dcss_ctxld_enable_locked()
335 int curr_ctx = ctxld->current_ctx; in dcss_ctxld_write_irqsafe() local
[all …]
/linux/drivers/media/platform/chips-media/coda/
H A Dimx-vdoa.c78 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/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c95 struct v4l2_m2m_ctx *curr_ctx; member
238 if (m2m_dev->curr_ctx) in v4l2_m2m_get_curr_priv()
239 ret = m2m_dev->curr_ctx->priv; in v4l2_m2m_get_curr_priv()
260 if (NULL != m2m_dev->curr_ctx) { in v4l2_m2m_try_run()
278 m2m_dev->curr_ctx = list_first_entry(&m2m_dev->job_queue, in v4l2_m2m_try_run()
280 m2m_dev->curr_ctx->job_flags |= TRANS_RUNNING; in v4l2_m2m_try_run()
283 dprintk("Running job on m2m_ctx: %p\n", m2m_dev->curr_ctx); in v4l2_m2m_try_run()
284 m2m_dev->m2m_ops->device_run(m2m_dev->curr_ctx->priv); in v4l2_m2m_try_run()
475 if (!m2m_dev->curr_ctx || m2m_dev->curr_ctx != m2m_ctx) { in _v4l2_m2m_job_finish()
480 list_del(&m2m_dev->curr_ctx->queue); in _v4l2_m2m_job_finish()
[all …]
/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_util.c141 subdev_dev->curr_ctx = ctx; in mtk_vcodec_set_curr_ctx()
143 vdec_dev->curr_ctx = ctx; in mtk_vcodec_set_curr_ctx()
164 ctx = subdev_dev->curr_ctx; in mtk_vcodec_get_curr_ctx()
166 ctx = vdec_dev->curr_ctx; in mtk_vcodec_get_curr_ctx()
/linux/net/mac80211/
H A Dchan.c872 struct ieee80211_chanctx *curr_ctx = NULL; in ieee80211_assign_link_chanctx() local
883 curr_ctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_assign_link_chanctx()
885 drv_unassign_vif_chanctx(local, sdata, link->conf, curr_ctx); in ieee80211_assign_link_chanctx()
911 if (curr_ctx && ieee80211_chanctx_num_assigned(local, curr_ctx) > 0) { in ieee80211_assign_link_chanctx()
912 ieee80211_recalc_chanctx_chantype(local, curr_ctx); in ieee80211_assign_link_chanctx()
913 ieee80211_recalc_smps_chanctx(local, curr_ctx); in ieee80211_assign_link_chanctx()
914 ieee80211_recalc_radar_chanctx(local, curr_ctx); in ieee80211_assign_link_chanctx()
915 ieee80211_recalc_chanctx_min_def(local, curr_ctx, NULL, false); in ieee80211_assign_link_chanctx()
1120 struct ieee80211_chanctx *curr_ctx) in ieee80211_replace_chanctx() argument
1126 if (!curr_ctx || (curr_ctx->replace_state == in ieee80211_replace_chanctx()
[all …]
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_if.c64 ctx->dev->curr_ctx = ctx; in venc_if_encode()
77 ctx->dev->curr_ctx = NULL; in venc_if_encode()
H A Dmtk_vcodec_enc_drv.h198 struct mtk_vcodec_enc_ctx *curr_ctx; member
/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_core.h90 struct mtk_jpeg_ctx *curr_ctx; member
101 struct mtk_jpeg_ctx *curr_ctx; member
H A Dmtk_jpeg_enc_hw.c196 ctx = jpeg->hw_param.curr_ctx; in mtk_jpegenc_put_buf()
269 ctx = jpeg->hw_param.curr_ctx; in mtk_jpegenc_hw_irq_handler()
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_cmd_v6.c74 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()
H A Ds5p_mfc_cmd_v5.c79 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()
H A Ds5p_mfc_opr_v5.c1158 dev->curr_ctx = ctx->num; in s5p_mfc_run_res_change()
1170 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_frame()
1186 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_frame()
1243 dev->curr_ctx = ctx->num; in s5p_mfc_run_enc_frame()
1264 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_dec()
1280 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_enc()
1308 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_dec_buffers()
H A Ds5p_mfc_opr_v6.c1821 dev->curr_ctx = ctx->num; in s5p_mfc_set_flush()
1947 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_last_frames()
1960 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_frame()
1979 dev->curr_ctx = ctx->num; in s5p_mfc_run_dec_frame()
2047 dev->curr_ctx = ctx->num; in s5p_mfc_run_enc_frame()
2065 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_dec()
2080 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_enc()
2099 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_dec_buffers()
2120 dev->curr_ctx = ctx->num; in s5p_mfc_run_init_enc_buffers()
H A Ds5p_mfc_common.h333 int curr_ctx; member
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_hw.h52 struct mtk_vcodec_dec_ctx *curr_ctx; member
H A Dmtk_vcodec_dec_drv.h274 struct mtk_vcodec_dec_ctx *curr_ctx; member
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-v4l2.c210 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()