Lines Matching refs:jpu_ctx
216 struct jpu_ctx *curr;
283 struct jpu_ctx { struct
492 static struct jpu_ctx *ctrl_to_ctx(struct v4l2_ctrl *c) in ctrl_to_ctx()
494 return container_of(c->handler, struct jpu_ctx, ctrl_handler); in ctrl_to_ctx()
497 static struct jpu_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
499 return container_of(fh, struct jpu_ctx, fh); in fh_to_ctx()
671 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_querycap()
733 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_cap()
742 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_out()
747 static struct jpu_q_data *jpu_get_q_data(struct jpu_ctx *ctx, in jpu_get_q_data()
777 static int __jpu_try_fmt(struct jpu_ctx *ctx, struct jpu_fmt **fmtinfo, in __jpu_try_fmt()
847 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_try_fmt()
858 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_s_fmt()
888 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_g_fmt()
904 struct jpu_ctx *ctx = ctrl_to_ctx(ctrl); in jpu_s_ctrl()
921 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_streamon()
981 static int jpu_controls_create(struct jpu_ctx *ctx) in jpu_controls_create()
1023 struct jpu_ctx *ctx = vb2_get_drv_priv(vq); in jpu_queue_setup()
1049 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in jpu_buf_prepare()
1086 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in jpu_buf_queue()
1136 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in jpu_buf_finish()
1160 struct jpu_ctx *ctx = vb2_get_drv_priv(vq); in jpu_start_streaming()
1169 struct jpu_ctx *ctx = vb2_get_drv_priv(vq); in jpu_stop_streaming()
1200 struct jpu_ctx *ctx = priv; in jpu_queue_init()
1239 struct jpu_ctx *ctx; in jpu_open()
1301 struct jpu_ctx *ctx = fh_to_ctx(file->private_data); in jpu_release()
1331 static void jpu_cleanup(struct jpu_ctx *ctx, bool reset) in jpu_cleanup()
1356 struct jpu_ctx *ctx = priv; in jpu_device_run()
1500 struct jpu_ctx *ctx = priv; in jpu_job_abort()
1521 struct jpu_ctx *curr_ctx; in jpu_irq_handler()