Lines Matching defs:ctx

687 static struct mxc_jpeg_q_data *mxc_jpeg_get_q_data(struct mxc_jpeg_ctx *ctx,  in mxc_jpeg_get_q_data()
700 struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(raw_buf->vb2_queue); in mxc_jpeg_addrs() local
727 static void notify_eos(struct mxc_jpeg_ctx *ctx) in notify_eos()
737 static void notify_src_chg(struct mxc_jpeg_ctx *ctx) in notify_src_chg()
821 static void mxc_jpeg_check_and_set_last_buffer(struct mxc_jpeg_ctx *ctx, in mxc_jpeg_check_and_set_last_buffer()
833 static void mxc_jpeg_job_finish(struct mxc_jpeg_ctx *ctx, enum vb2_buffer_state state, bool reset) in mxc_jpeg_job_finish()
883 struct mxc_jpeg_ctx *ctx; in mxc_jpeg_dec_irq() local
1162 struct mxc_jpeg_ctx *ctx, in mxc_jpeg_config_dec_desc()
1231 struct mxc_jpeg_ctx *ctx, in mxc_jpeg_config_enc_desc()
1325 static void mxc_jpeg_set_last_buffer(struct mxc_jpeg_ctx *ctx) in mxc_jpeg_set_last_buffer()
1339 static bool mxc_jpeg_source_change(struct mxc_jpeg_ctx *ctx, in mxc_jpeg_source_change()
1406 struct mxc_jpeg_ctx *ctx = priv; in mxc_jpeg_job_ready() local
1414 struct mxc_jpeg_ctx *ctx = container_of(dwork, struct mxc_jpeg_ctx, task_timer); in mxc_jpeg_device_run_timeout() local
1430 struct mxc_jpeg_ctx *ctx = priv; in mxc_jpeg_device_run() local
1524 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(fh); in mxc_jpeg_decoder_cmd() local
1557 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(fh); in mxc_jpeg_encoder_cmd() local
1592 struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(q); in mxc_jpeg_queue_setup() local
1624 struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(q); in mxc_jpeg_start_streaming() local
1649 struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(q); in mxc_jpeg_stop_streaming() local
1804 static int mxc_jpeg_parse(struct mxc_jpeg_ctx *ctx, struct vb2_buffer *vb) in mxc_jpeg_parse()
1889 struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in mxc_jpeg_buf_queue() local
1935 struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in mxc_jpeg_buf_prepare() local
1975 struct mxc_jpeg_ctx *ctx = priv; in mxc_jpeg_queue_init() local
2006 static void mxc_jpeg_set_default_params(struct mxc_jpeg_ctx *ctx) in mxc_jpeg_set_default_params()
2037 struct mxc_jpeg_ctx *ctx = in mxc_jpeg_s_ctrl() local
2057 static void mxc_jpeg_encode_ctrls(struct mxc_jpeg_ctx *ctx) in mxc_jpeg_encode_ctrls()
2063 static int mxc_jpeg_ctrls_setup(struct mxc_jpeg_ctx *ctx) in mxc_jpeg_ctrls_setup()
2090 struct mxc_jpeg_ctx *ctx; in mxc_jpeg_open() local
2159 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(priv); in mxc_jpeg_enum_fmt_vid_cap() local
2199 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(priv); in mxc_jpeg_enum_fmt_vid_out() local
2212 static u32 mxc_jpeg_get_fmt_type(struct mxc_jpeg_ctx *ctx, u32 type) in mxc_jpeg_get_fmt_type()
2220 static u32 mxc_jpeg_get_default_fourcc(struct mxc_jpeg_ctx *ctx, u32 type) in mxc_jpeg_get_default_fourcc()
2228 static u32 mxc_jpeg_try_fourcc(struct mxc_jpeg_ctx *ctx, u32 fourcc) in mxc_jpeg_try_fourcc()
2250 struct mxc_jpeg_ctx *ctx, struct mxc_jpeg_q_data *q_data) in mxc_jpeg_try_fmt()
2340 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(priv); in mxc_jpeg_try_fmt_vid_cap() local
2359 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(priv); in mxc_jpeg_try_fmt_vid_out() local
2372 static void mxc_jpeg_s_parsed_fmt(struct mxc_jpeg_ctx *ctx, struct v4l2_format *f) in mxc_jpeg_s_parsed_fmt()
2388 static int mxc_jpeg_s_fmt(struct mxc_jpeg_ctx *ctx, in mxc_jpeg_s_fmt()
2418 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(priv); in mxc_jpeg_s_fmt_vid_out() local
2453 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(priv); in mxc_jpeg_g_fmt_vid() local
2491 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(fh); in mxc_jpeg_dec_g_selection() local
2520 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(fh); in mxc_jpeg_enc_g_selection() local
2548 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(fh); in mxc_jpeg_g_selection() local
2558 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(fh); in mxc_jpeg_s_selection() local
2638 struct mxc_jpeg_ctx *ctx = mxc_jpeg_fh_to_ctx(file->private_data); in mxc_jpeg_release() local