Lines Matching defs:ctx
92 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base()
424 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() local
444 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt() local
494 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() local
515 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
547 static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f, in coda_try_fmt_vdoa()
574 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
586 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
650 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() local
749 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out() local
768 static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f, in coda_s_fmt()
843 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap() local
886 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out() local
942 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs() local
962 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf() local
973 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_dqbuf() local
985 void coda_m2m_buf_done(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, in coda_m2m_buf_done()
1001 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_selection() local
1047 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_selection() local
1091 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_try_encoder_cmd() local
1099 static void coda_wake_up_capture_queue(struct coda_ctx *ctx) in coda_wake_up_capture_queue()
1113 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_encoder_cmd() local
1149 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_try_decoder_cmd() local
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() local
1284 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_enum_framesizes() local
1320 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_enum_frameintervals() local
1359 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_parm() local
1442 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_parm() local
1460 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_subscribe_event() local
1524 struct coda_ctx *ctx = m2m_priv; in coda_device_run() local
1532 struct coda_ctx *ctx = container_of(work, struct coda_ctx, pic_run_work); in coda_pic_run_work() local
1575 struct coda_ctx *ctx = m2m_priv; in coda_job_ready() local
1645 struct coda_ctx *ctx = priv; in coda_job_abort() local
1658 static void set_default_params(struct coda_ctx *ctx) in set_default_params()
1716 struct coda_ctx *ctx = vb2_get_drv_priv(vq); in coda_queue_setup() local
1738 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_prepare() local
1789 void coda_update_profile_level_ctrls(struct coda_ctx *ctx, u8 profile_idc, in coda_update_profile_level_ctrls()
1856 static void coda_queue_source_change_event(struct coda_ctx *ctx) in coda_queue_source_change_event()
1869 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_queue() local
1970 struct coda_ctx *ctx = vb2_get_drv_priv(q); in coda_start_streaming() local
2111 struct coda_ctx *ctx = vb2_get_drv_priv(q); in coda_stop_streaming() local
2179 struct coda_ctx *ctx = in coda_s_ctrl() local
2309 static void coda_encode_ctrls(struct coda_ctx *ctx) in coda_encode_ctrls()
2416 static void coda_jpeg_encode_ctrls(struct coda_ctx *ctx) in coda_jpeg_encode_ctrls()
2424 static void coda_decode_ctrls(struct coda_ctx *ctx) in coda_decode_ctrls()
2479 static int coda_ctrls_setup(struct coda_ctx *ctx) in coda_ctrls_setup()
2513 static int coda_queue_init(struct coda_ctx *ctx, struct vb2_queue *vq) in coda_queue_init()
2587 struct coda_ctx *ctx; in coda_open() local
2720 struct coda_ctx *ctx = fh_to_ctx(file->private_data); in coda_release() local