Lines Matching defs:ctx

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() local
424 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() local
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() local
593 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out() local
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() local
671 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out() local
701 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs() local
721 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf() local
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() local
761 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_selection() local
820 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_decoder_cmd() local
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() local
918 struct coda_ctx *ctx = container_of(work, struct coda_ctx, pic_run_work); in coda_pic_run_work() local
956 struct coda_ctx *ctx = m2m_priv; in coda_job_ready() local
1028 struct coda_ctx *ctx = priv; in coda_job_abort() local
1038 struct coda_ctx *ctx = m2m_priv; in coda_lock() local
1046 struct coda_ctx *ctx = m2m_priv; in coda_unlock() local
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() local
1157 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_prepare() local
1175 struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in coda_buf_queue() local
1244 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
1404 struct coda_ctx *ctx = in coda_s_ctrl() local
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() local
1765 struct coda_ctx *ctx = fh_to_ctx(file->private_data); in coda_release() local