Lines Matching refs:file
179 static int cal_querycap(struct file *file, void *priv,
182 struct cal_ctx *ctx = video_drvdata(file);
192 static int cal_enum_fmt_vid_cap(struct file *file, void *priv,
195 struct cal_ctx *ctx = video_drvdata(file);
285 static int cal_g_fmt_vid_cap(struct file *file, void *priv,
288 struct cal_ctx *ctx = video_drvdata(file);
295 static int cal_try_fmt_vid_cap(struct file *file, void *priv,
298 struct cal_ctx *ctx = video_drvdata(file);
354 static int cal_s_fmt_vid_cap(struct file *file, void *priv,
357 struct cal_ctx *ctx = video_drvdata(file);
368 ret = cal_try_fmt_vid_cap(file, priv, f);
399 static int cal_enum_framesizes(struct file *file, void *fh,
402 struct cal_ctx *ctx = video_drvdata(file);
436 static int cal_enum_input(struct file *file, void *priv,
447 static int cal_g_input(struct file *file, void *priv, unsigned int *i)
453 static int cal_s_input(struct file *file, void *priv, unsigned int i)
459 static int cal_enum_frameintervals(struct file *file, void *priv,
462 struct cal_ctx *ctx = video_drvdata(file);