Lines Matching refs:jpu_ctx
198 struct jpu_ctx *curr;
254 * struct jpu_ctx - the device context data
263 struct jpu_ctx {
478 static struct jpu_ctx *ctrl_to_ctx(struct v4l2_ctrl *c)
480 return container_of(c->handler, struct jpu_ctx, ctrl_handler);
483 static struct jpu_ctx *fh_to_ctx(struct v4l2_fh *fh)
485 return container_of(fh, struct jpu_ctx, fh);
659 struct jpu_ctx *ctx = fh_to_ctx(priv);
717 struct jpu_ctx *ctx = fh_to_ctx(priv);
726 struct jpu_ctx *ctx = fh_to_ctx(priv);
731 static struct jpu_q_data *jpu_get_q_data(struct jpu_ctx *ctx,
761 static int __jpu_try_fmt(struct jpu_ctx *ctx, struct jpu_fmt **fmtinfo,
826 struct jpu_ctx *ctx = fh_to_ctx(priv);
837 struct jpu_ctx *ctx = fh_to_ctx(priv);
867 struct jpu_ctx *ctx = fh_to_ctx(priv);
883 struct jpu_ctx *ctx = ctrl_to_ctx(ctrl);
900 struct jpu_ctx *ctx = fh_to_ctx(priv);
960 static int jpu_controls_create(struct jpu_ctx *ctx)
1000 struct jpu_ctx *ctx = vb2_get_drv_priv(vq);
1030 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
1067 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
1117 struct jpu_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
1141 struct jpu_ctx *ctx = vb2_get_drv_priv(vq);
1150 struct jpu_ctx *ctx = vb2_get_drv_priv(vq);
1179 struct jpu_ctx *ctx = priv;
1220 struct jpu_ctx *ctx;
1284 struct jpu_ctx *ctx = fh_to_ctx(file->private_data);
1314 static void jpu_cleanup(struct jpu_ctx *ctx, bool reset)
1339 struct jpu_ctx *ctx = priv;
1488 struct jpu_ctx *curr_ctx;