Lines Matching refs:coda_ctx

57 #define fh_to_ctx(__fh)	container_of(__fh, struct coda_ctx, fh)
92 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base()
425 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap()
445 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt()
495 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt()
516 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
548 static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f, in coda_try_fmt_vdoa()
575 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
587 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
656 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap()
762 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out()
781 static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f, in coda_s_fmt()
856 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap()
908 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out()
964 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs()
984 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf()
995 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_dqbuf()
1007 void coda_m2m_buf_done(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, in coda_m2m_buf_done()
1023 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_selection()
1069 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_selection()
1110 static void coda_wake_up_capture_queue(struct coda_ctx *ctx) in coda_wake_up_capture_queue()
1124 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_encoder_cmd()
1157 static bool coda_mark_last_meta(struct coda_ctx *ctx) in coda_mark_last_meta()
1177 static bool coda_mark_last_dst_buf(struct coda_ctx *ctx) in coda_mark_last_dst_buf()
1205 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_decoder_cmd()
1284 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_enum_framesizes()
1317 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_enum_frameintervals()
1356 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_parm()
1439 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_parm()
1457 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_subscribe_event()
1521 struct coda_ctx *ctx = m2m_priv; in coda_device_run()
1529 struct coda_ctx *ctx = container_of(work, struct coda_ctx, pic_run_work); in coda_pic_run_work()
1569 struct coda_ctx *ctx = m2m_priv; in coda_job_ready()
1639 struct coda_ctx *ctx = priv; in coda_job_abort()
1652 static void set_default_params(struct coda_ctx *ctx) in set_default_params()
1715 struct coda_ctx *ctx = vb2_get_drv_priv(vq); in coda_queue_setup()
1737 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_prepare()
1788 void coda_update_profile_level_ctrls(struct coda_ctx *ctx, u8 profile_idc, in coda_update_profile_level_ctrls()
1855 static void coda_queue_source_change_event(struct coda_ctx *ctx) in coda_queue_source_change_event()
1868 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_queue()
1969 struct coda_ctx *ctx = vb2_get_drv_priv(q); in coda_start_streaming()
2113 struct coda_ctx *ctx = vb2_get_drv_priv(q); in coda_stop_streaming()
2181 struct coda_ctx *ctx = in coda_s_ctrl()
2182 container_of(ctrl->handler, struct coda_ctx, ctrls); in coda_s_ctrl()
2311 static void coda_encode_ctrls(struct coda_ctx *ctx) in coda_encode_ctrls()
2418 static void coda_jpeg_encode_ctrls(struct coda_ctx *ctx) in coda_jpeg_encode_ctrls()
2426 static void coda_decode_ctrls(struct coda_ctx *ctx) in coda_decode_ctrls()
2490 static int coda_ctrls_setup(struct coda_ctx *ctx) in coda_ctrls_setup()
2530 static int coda_queue_init(struct coda_ctx *ctx, struct vb2_queue *vq) in coda_queue_init()
2604 struct coda_ctx *ctx; in coda_open()
2738 struct coda_ctx *ctx = fh_to_ctx(file->private_data); in coda_release()