Lines Matching defs:ctx

173 static const struct mtk_mdp_fmt *mtk_mdp_try_fmt_mplane(struct mtk_mdp_ctx *ctx,  in mtk_mdp_try_fmt_mplane()
256 static struct mtk_mdp_frame *mtk_mdp_ctx_get_frame(struct mtk_mdp_ctx *ctx, in mtk_mdp_ctx_get_frame()
275 static int mtk_mdp_try_crop(struct mtk_mdp_ctx *ctx, u32 type, in mtk_mdp_try_crop()
361 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state) in mtk_mdp_ctx_state_lock_set()
368 static bool mtk_mdp_ctx_state_is_set(struct mtk_mdp_ctx *ctx, u32 mask) in mtk_mdp_ctx_state_is_set()
391 struct mtk_mdp_ctx *ctx = q->drv_priv; in mtk_mdp_m2m_start_streaming() local
402 static void *mtk_mdp_m2m_buf_remove(struct mtk_mdp_ctx *ctx, in mtk_mdp_m2m_buf_remove()
413 struct mtk_mdp_ctx *ctx = q->drv_priv; in mtk_mdp_m2m_stop_streaming() local
426 static void mtk_mdp_prepare_addr(struct mtk_mdp_ctx *ctx, in mtk_mdp_prepare_addr()
454 static void mtk_mdp_m2m_get_bufs(struct mtk_mdp_ctx *ctx) in mtk_mdp_m2m_get_bufs()
474 struct mtk_mdp_ctx *ctx; in mtk_mdp_process_done() local
496 struct mtk_mdp_ctx *ctx = in mtk_mdp_m2m_worker() local
535 struct mtk_mdp_ctx *ctx = priv; in mtk_mdp_m2m_device_run() local
544 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vq); in mtk_mdp_m2m_queue_setup() local
560 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in mtk_mdp_m2m_buf_prepare() local
576 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in mtk_mdp_m2m_buf_queue() local
594 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_querycap() local
632 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_fmt_mplane() local
671 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_try_fmt_mplane() local
681 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_fmt_mplane() local
727 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_reqbufs() local
735 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_streamon() local
774 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_selection() local
841 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_selection() local
921 struct mtk_mdp_ctx *ctx = priv; in mtk_mdp_m2m_queue_init() local
955 struct mtk_mdp_ctx *ctx = ctrl_to_ctx(ctrl); in mtk_mdp_s_ctrl() local
995 static int mtk_mdp_ctrls_create(struct mtk_mdp_ctx *ctx) in mtk_mdp_ctrls_create()
1027 static void mtk_mdp_set_default_params(struct mtk_mdp_ctx *ctx) in mtk_mdp_set_default_params()
1054 struct mtk_mdp_ctx *ctx = NULL; in mtk_mdp_m2m_open() local
1142 struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data); in mtk_mdp_m2m_release() local