Lines Matching refs:coda_ctx
58 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh)
86 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base()
381 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap()
424 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt()
445 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
472 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
484 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
544 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap()
593 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out()
620 static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f) in coda_s_fmt()
658 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap()
671 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out()
701 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs()
721 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf()
726 static bool coda_buf_is_end_of_stream(struct coda_ctx *ctx, in coda_buf_is_end_of_stream()
740 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_dqbuf()
761 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_selection()
820 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_decoder_cmd()
883 void coda_set_gdi_regs(struct coda_ctx *ctx) in coda_set_gdi_regs()
910 struct coda_ctx *ctx = m2m_priv; in coda_device_run()
918 struct coda_ctx *ctx = container_of(work, struct coda_ctx, pic_run_work); in coda_pic_run_work()
956 struct coda_ctx *ctx = m2m_priv; in coda_job_ready()
1028 struct coda_ctx *ctx = priv; in coda_job_abort()
1038 struct coda_ctx *ctx = m2m_priv; in coda_lock()
1046 struct coda_ctx *ctx = m2m_priv; in coda_unlock()
1060 static void coda_set_tiled_map_type(struct coda_ctx *ctx, int tiled_map_type) in coda_set_tiled_map_type()
1086 static void set_default_params(struct coda_ctx *ctx) in set_default_params()
1136 struct coda_ctx *ctx = vb2_get_drv_priv(vq); in coda_queue_setup()
1157 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_prepare()
1175 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_queue()
1244 struct coda_ctx *ctx = vb2_get_drv_priv(q); in coda_start_streaming()
1339 struct coda_ctx *ctx = vb2_get_drv_priv(q); in coda_stop_streaming()
1404 struct coda_ctx *ctx = in coda_s_ctrl()
1405 container_of(ctrl->handler, struct coda_ctx, ctrls); in coda_s_ctrl()
1491 static void coda_encode_ctrls(struct coda_ctx *ctx) in coda_encode_ctrls()
1538 static void coda_jpeg_encode_ctrls(struct coda_ctx *ctx) in coda_jpeg_encode_ctrls()
1546 static int coda_ctrls_setup(struct coda_ctx *ctx) in coda_ctrls_setup()
1571 static int coda_queue_init(struct coda_ctx *ctx, struct vb2_queue *vq) in coda_queue_init()
1648 struct coda_ctx *ctx = NULL; in coda_open()
1765 struct coda_ctx *ctx = fh_to_ctx(file->private_data); in coda_release()