Lines Matching refs:fh

277 static int gsc_m2m_querycap(struct file *file, void *fh,  in gsc_m2m_querycap()  argument
280 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querycap()
299 static int gsc_m2m_g_fmt_mplane(struct file *file, void *fh, in gsc_m2m_g_fmt_mplane() argument
302 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_g_fmt_mplane()
307 static int gsc_m2m_try_fmt_mplane(struct file *file, void *fh, in gsc_m2m_try_fmt_mplane() argument
310 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_try_fmt_mplane()
315 static int gsc_m2m_s_fmt_mplane(struct file *file, void *fh, in gsc_m2m_s_fmt_mplane() argument
318 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_s_fmt_mplane()
324 ret = gsc_m2m_try_fmt_mplane(file, fh, f); in gsc_m2m_s_fmt_mplane()
361 static int gsc_m2m_reqbufs(struct file *file, void *fh, in gsc_m2m_reqbufs() argument
364 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_reqbufs()
382 static int gsc_m2m_expbuf(struct file *file, void *fh, in gsc_m2m_expbuf() argument
385 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_expbuf()
389 static int gsc_m2m_querybuf(struct file *file, void *fh, in gsc_m2m_querybuf() argument
392 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querybuf()
396 static int gsc_m2m_qbuf(struct file *file, void *fh, in gsc_m2m_qbuf() argument
399 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_qbuf()
403 static int gsc_m2m_dqbuf(struct file *file, void *fh, in gsc_m2m_dqbuf() argument
406 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_dqbuf()
410 static int gsc_m2m_streamon(struct file *file, void *fh, in gsc_m2m_streamon() argument
413 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamon()
426 static int gsc_m2m_streamoff(struct file *file, void *fh, in gsc_m2m_streamoff() argument
429 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamoff()
448 static int gsc_m2m_g_selection(struct file *file, void *fh, in gsc_m2m_g_selection() argument
452 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_g_selection()
485 static int gsc_m2m_s_selection(struct file *file, void *fh, in gsc_m2m_s_selection() argument
489 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_s_selection()
630 v4l2_fh_init(&ctx->fh, gsc->m2m.vfd); in gsc_m2m_open()
636 ctx->fh.ctrl_handler = &ctx->ctrl_handler; in gsc_m2m_open()
637 file->private_data = &ctx->fh; in gsc_m2m_open()
638 v4l2_fh_add(&ctx->fh); in gsc_m2m_open()
668 v4l2_fh_del(&ctx->fh); in gsc_m2m_open()
669 v4l2_fh_exit(&ctx->fh); in gsc_m2m_open()
688 v4l2_fh_del(&ctx->fh); in gsc_m2m_release()
689 v4l2_fh_exit(&ctx->fh); in gsc_m2m_release()