Lines Matching defs:ctx
86 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base()
330 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() local
368 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() local
389 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
416 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
428 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
488 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() local
537 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out() local
564 static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f) in coda_s_fmt()
618 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap() local
631 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out() local
661 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs() local
681 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf() local
686 static bool coda_buf_is_end_of_stream(struct coda_ctx *ctx, in coda_buf_is_end_of_stream()
697 void coda_m2m_buf_done(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, in coda_m2m_buf_done()
716 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_selection() local
775 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_decoder_cmd() local
796 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_parm() local
879 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_parm() local
945 struct coda_ctx *ctx = m2m_priv; in coda_device_run() local
953 struct coda_ctx *ctx = container_of(work, struct coda_ctx, pic_run_work); in coda_pic_run_work() local
991 struct coda_ctx *ctx = m2m_priv; in coda_job_ready() local
1054 struct coda_ctx *ctx = priv; in coda_job_abort() local
1064 struct coda_ctx *ctx = m2m_priv; in coda_lock() local
1072 struct coda_ctx *ctx = m2m_priv; in coda_unlock() local
1086 static void set_default_params(struct coda_ctx *ctx) in set_default_params()
1138 struct coda_ctx *ctx = vb2_get_drv_priv(vq); in coda_queue_setup() local
1159 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_prepare() local
1178 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_queue() local
1247 struct coda_ctx *ctx = vb2_get_drv_priv(q); in coda_start_streaming() local
1339 struct coda_ctx *ctx = vb2_get_drv_priv(q); in coda_stop_streaming() local
1408 struct coda_ctx *ctx = in coda_s_ctrl() local
1501 static void coda_encode_ctrls(struct coda_ctx *ctx) in coda_encode_ctrls()
1556 static void coda_jpeg_encode_ctrls(struct coda_ctx *ctx) in coda_jpeg_encode_ctrls()
1564 static int coda_ctrls_setup(struct coda_ctx *ctx) in coda_ctrls_setup()
1589 static int coda_queue_init(struct coda_ctx *ctx, struct vb2_queue *vq) in coda_queue_init()
1666 struct coda_ctx *ctx = NULL; in coda_open() local
1784 struct coda_ctx *ctx = fh_to_ctx(file->private_data); in coda_release() local