Lines Matching refs:fh

375 	struct v4l2_fh		fh;  member
872 return container_of(file->private_data, struct vpe_ctx, fh); in file2ctx()
890 if (v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx) < needed) in job_ready()
893 if (v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx) < needed) in job_ready()
1104 ctx->src_vbs[2] = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run()
1106 ctx->src_vbs[1] = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run()
1110 ctx->src_vbs[0] = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in device_run()
1112 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run()
1335 v4l2_m2m_job_finish(dev->m2m_dev, ctx->fh.m2m_ctx); in vpe_irq()
1396 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in vpe_g_fmt()
1528 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in __vpe_s_fmt()
1649 static int vpe_g_selection(struct file *file, void *fh, in vpe_g_selection() argument
1710 static int vpe_s_selection(struct file *file, void *fh, in vpe_s_selection() argument
1867 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in vpe_buf_queue()
1983 v4l2_fh_init(&ctx->fh, video_devdata(file)); in vpe_open()
1984 file->private_data = &ctx->fh; in vpe_open()
1993 ctx->fh.ctrl_handler = hdl; in vpe_open()
2021 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, &queue_init); in vpe_open()
2023 if (IS_ERR(ctx->fh.m2m_ctx)) { in vpe_open()
2024 ret = PTR_ERR(ctx->fh.m2m_ctx); in vpe_open()
2028 v4l2_fh_add(&ctx->fh); in vpe_open()
2043 ctx, ctx->fh.m2m_ctx); in vpe_open()
2050 v4l2_fh_exit(&ctx->fh); in vpe_open()
2078 v4l2_fh_del(&ctx->fh); in vpe_release()
2079 v4l2_fh_exit(&ctx->fh); in vpe_release()
2081 v4l2_m2m_ctx_release(ctx->fh.m2m_ctx); in vpe_release()