Lines Matching defs:file

1129 static int npcm_video_querycap(struct file *file, void *fh,
1138 static int npcm_video_enum_format(struct file *file, void *fh,
1141 struct npcm_video *video = video_drvdata(file);
1155 static int npcm_video_try_format(struct file *file, void *fh,
1158 struct npcm_video *video = video_drvdata(file);
1178 static int npcm_video_get_format(struct file *file, void *fh,
1181 struct npcm_video *video = video_drvdata(file);
1187 static int npcm_video_set_format(struct file *file, void *fh,
1190 struct npcm_video *video = video_drvdata(file);
1193 ret = npcm_video_try_format(file, fh, f);
1206 static int npcm_video_enum_input(struct file *file, void *fh,
1209 struct npcm_video *video = video_drvdata(file);
1222 static int npcm_video_get_input(struct file *file, void *fh, unsigned int *i)
1229 static int npcm_video_set_input(struct file *file, void *fh, unsigned int i)
1237 static int npcm_video_set_dv_timings(struct file *file, void *fh,
1240 struct npcm_video *video = video_drvdata(file);
1261 static int npcm_video_get_dv_timings(struct file *file, void *fh,
1264 struct npcm_video *video = video_drvdata(file);
1272 static int npcm_video_query_dv_timings(struct file *file, void *fh,
1275 struct npcm_video *video = video_drvdata(file);
1284 static int npcm_video_enum_dv_timings(struct file *file, void *fh,
1291 static int npcm_video_dv_timings_cap(struct file *file, void *fh,
1396 static int npcm_video_open(struct file *file)
1398 struct npcm_video *video = video_drvdata(file);
1402 rc = v4l2_fh_open(file);
1408 if (v4l2_fh_is_singular_file(file))
1415 static int npcm_video_release(struct file *file)
1417 struct npcm_video *video = video_drvdata(file);
1421 if (v4l2_fh_is_singular_file(file))
1424 rc = _vb2_fop_release(file, NULL);