Lines Matching refs:file

1602 static int bttv_s_std(struct file *file, void *priv, v4l2_std_id id)
1604 struct bttv *btv = video_drvdata(file);
1617 static int bttv_g_std(struct file *file, void *priv, v4l2_std_id *id)
1619 struct bttv *btv = video_drvdata(file);
1625 static int bttv_querystd(struct file *file, void *f, v4l2_std_id *id)
1627 struct bttv *btv = video_drvdata(file);
1636 static int bttv_enum_input(struct file *file, void *priv,
1639 struct bttv *btv = video_drvdata(file);
1669 static int bttv_g_input(struct file *file, void *priv, unsigned int *i)
1671 struct bttv *btv = video_drvdata(file);
1678 static int bttv_s_input(struct file *file, void *priv, unsigned int i)
1680 struct bttv *btv = video_drvdata(file);
1689 static int bttv_s_tuner(struct file *file, void *priv,
1692 struct bttv *btv = video_drvdata(file);
1707 static int bttv_g_frequency(struct file *file, void *priv,
1710 struct bttv *btv = video_drvdata(file);
1743 static int bttv_s_frequency(struct file *file, void *priv,
1746 struct bttv *btv = video_drvdata(file);
1755 static int bttv_log_status(struct file *file, void *f)
1757 struct video_device *vdev = video_devdata(file);
1758 struct bttv *btv = video_drvdata(file);
1766 static int bttv_g_register(struct file *file, void *f,
1769 struct bttv *btv = video_drvdata(file);
1779 static int bttv_s_register(struct file *file, void *f,
1782 struct bttv *btv = video_drvdata(file);
1986 static int bttv_g_fmt_vid_cap(struct file *file, void *priv,
1989 struct bttv *btv = video_drvdata(file);
2012 static int bttv_try_fmt_vid_cap(struct file *file, void *priv,
2016 struct bttv *btv = video_drvdata(file);
2067 static int bttv_s_fmt_vid_cap(struct file *file, void *priv,
2072 struct bttv *btv = video_drvdata(file);
2081 retval = bttv_try_fmt_vid_cap(file, priv, f);
2114 static int bttv_querycap(struct file *file, void *priv,
2117 struct bttv *btv = video_drvdata(file);
2145 static int bttv_enum_fmt_vid_cap(struct file *file, void *priv,
2164 static int bttv_g_parm(struct file *file, void *f,
2167 struct bttv *btv = video_drvdata(file);
2178 static int bttv_g_tuner(struct file *file, void *priv,
2181 struct bttv *btv = video_drvdata(file);
2200 static int bttv_g_pixelaspect(struct file *file, void *priv,
2203 struct bttv *btv = video_drvdata(file);
2213 static int bttv_g_selection(struct file *file, void *f, struct v4l2_selection *sel)
2215 struct bttv *btv = video_drvdata(file);
2237 static int bttv_s_selection(struct file *file, void *f, struct v4l2_selection *sel)
2239 struct bttv *btv = video_drvdata(file);
2368 static int radio_open(struct file *file)
2370 struct video_device *vdev = video_devdata(file);
2371 struct bttv *btv = video_drvdata(file);
2372 int ret = v4l2_fh_open(file);
2386 static int radio_release(struct file *file)
2388 struct bttv *btv = video_drvdata(file);
2398 v4l2_fh_release(file);
2403 static int radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t)
2405 struct bttv *btv = video_drvdata(file);
2424 static int radio_s_tuner(struct file *file, void *priv,
2427 struct bttv *btv = video_drvdata(file);
2437 static int radio_s_hw_freq_seek(struct file *file, void *priv,
2440 struct bttv *btv = video_drvdata(file);
2443 return snd_tea575x_s_hw_freq_seek(file, &btv->tea, a);
2448 static int radio_enum_freq_bands(struct file *file, void *priv,
2451 struct bttv *btv = video_drvdata(file);
2459 static ssize_t radio_read(struct file *file, char __user *data,
2462 struct bttv *btv = video_drvdata(file);
2466 cmd.nonblocking = file->f_flags & O_NONBLOCK;
2468 cmd.instance = file;
2477 static __poll_t radio_poll(struct file *file, poll_table *wait)
2479 struct bttv *btv = video_drvdata(file);
2481 __poll_t rc = v4l2_ctrl_poll(file, wait);
2484 cmd.instance = file;