Lines Matching defs:ctx
50 struct cal_ctx *ctx = video_drvdata(file); in cal_querycap() local
63 struct cal_ctx *ctx = video_drvdata(file); in cal_g_fmt_vid_cap() local
75 static const struct cal_format_info *find_format_by_pix(struct cal_ctx *ctx, in find_format_by_pix()
90 static const struct cal_format_info *find_format_by_code(struct cal_ctx *ctx, in find_format_by_code()
108 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_enum_fmt_vid_cap() local
121 static int __subdev_get_format(struct cal_ctx *ctx, in __subdev_get_format()
143 static int __subdev_set_format(struct cal_ctx *ctx, in __subdev_set_format()
164 static void cal_calc_format_size(struct cal_ctx *ctx, in cal_calc_format_size()
195 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_try_fmt_vid_cap() local
255 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_s_fmt_vid_cap() local
306 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_enum_framesizes() local
366 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_enum_frameintervals() local
393 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_g_parm() local
400 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_s_parm() local
464 static void cal_mc_try_fmt(struct cal_ctx *ctx, struct v4l2_format *f, in cal_mc_try_fmt()
521 struct cal_ctx *ctx = video_drvdata(file); in cal_mc_try_fmt_vid_cap() local
530 struct cal_ctx *ctx = video_drvdata(file); in cal_mc_s_fmt_vid_cap() local
549 struct cal_ctx *ctx = video_drvdata(file); in cal_mc_enum_framesizes() local
604 struct cal_ctx *ctx = vb2_get_drv_priv(vq); in cal_queue_setup() local
626 struct cal_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in cal_buffer_prepare() local
645 struct cal_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in cal_buffer_queue() local
656 static void cal_release_buffers(struct cal_ctx *ctx, in cal_release_buffers()
687 static int cal_video_check_format(struct cal_ctx *ctx) in cal_video_check_format()
709 struct cal_ctx *ctx = vb2_get_drv_priv(vq); in cal_start_streaming() local
776 struct cal_ctx *ctx = vb2_get_drv_priv(vq); in cal_stop_streaming() local
815 static int cal_ctx_v4l2_init_formats(struct cal_ctx *ctx) in cal_ctx_v4l2_init_formats()
889 static int cal_ctx_v4l2_init_mc_format(struct cal_ctx *ctx) in cal_ctx_v4l2_init_mc_format()
916 int cal_ctx_v4l2_register(struct cal_ctx *ctx) in cal_ctx_v4l2_register()
968 void cal_ctx_v4l2_unregister(struct cal_ctx *ctx) in cal_ctx_v4l2_unregister()
976 int cal_ctx_v4l2_init(struct cal_ctx *ctx) in cal_ctx_v4l2_init()
1040 void cal_ctx_v4l2_cleanup(struct cal_ctx *ctx) in cal_ctx_v4l2_cleanup()