Lines Matching defs:ctx
88 static struct mtk_q_data *mtk_vdec_get_q_data(struct mtk_vcodec_ctx *ctx, in mtk_vdec_get_q_data()
103 static struct vb2_buffer *get_display_buffer(struct mtk_vcodec_ctx *ctx) in get_display_buffer()
153 static struct vb2_buffer *get_free_buffer(struct mtk_vcodec_ctx *ctx) in get_free_buffer()
232 static void clean_display_buffer(struct mtk_vcodec_ctx *ctx) in clean_display_buffer()
241 static void clean_free_buffer(struct mtk_vcodec_ctx *ctx) in clean_free_buffer()
250 static void mtk_vdec_queue_res_chg_event(struct mtk_vcodec_ctx *ctx) in mtk_vdec_queue_res_chg_event()
262 static void mtk_vdec_flush_decoder(struct mtk_vcodec_ctx *ctx) in mtk_vdec_flush_decoder()
275 static void mtk_vdec_update_fmt(struct mtk_vcodec_ctx *ctx, in mtk_vdec_update_fmt()
296 static int mtk_vdec_pic_info_update(struct mtk_vcodec_ctx *ctx) in mtk_vdec_pic_info_update()
344 struct mtk_vcodec_ctx *ctx = container_of(work, struct mtk_vcodec_ctx, in mtk_vdec_worker() local
502 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_decoder_cmd() local
540 void mtk_vdec_unlock(struct mtk_vcodec_ctx *ctx) in mtk_vdec_unlock()
545 void mtk_vdec_lock(struct mtk_vcodec_ctx *ctx) in mtk_vdec_lock()
550 void mtk_vcodec_dec_release(struct mtk_vcodec_ctx *ctx) in mtk_vcodec_dec_release()
556 void mtk_vcodec_dec_set_default_params(struct mtk_vcodec_ctx *ctx) in mtk_vcodec_dec_set_default_params()
604 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_qbuf() local
618 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_dqbuf() local
760 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_selection() local
809 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_selection() local
831 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_fmt() local
899 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes() local
974 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_fmt() local
1065 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(vq); in vb2ops_vdec_queue_setup() local
1101 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_buf_prepare() local
1128 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_buf_queue() local
1243 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_buf_finish() local
1283 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(q); in vb2ops_vdec_start_streaming() local
1294 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(q); in vb2ops_vdec_stop_streaming() local
1343 struct mtk_vcodec_ctx *ctx = priv; in m2mops_vdec_device_run() local
1351 struct mtk_vcodec_ctx *ctx = m2m_priv; in m2mops_vdec_job_ready() local
1370 struct mtk_vcodec_ctx *ctx = priv; in m2mops_vdec_job_abort() local
1377 struct mtk_vcodec_ctx *ctx = ctrl_to_ctx(ctrl); in mtk_vdec_g_v_ctrl() local
1399 int mtk_vcodec_dec_ctrls_setup(struct mtk_vcodec_ctx *ctx) in mtk_vcodec_dec_ctrls_setup()
1481 struct mtk_vcodec_ctx *ctx = priv; in mtk_vcodec_dec_queue_init() local