diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-07-19 10:29:20 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2009-07-19 10:29:20 +0200 |
commit | 2f2fb3516ed879fd5591730ade5d05328d3afaa5 (patch) | |
tree | df668d4ee324e295577b123a8e3ebd9a1e6a9ab1 /linux/drivers/media/video/gspca/gspca.h | |
parent | e85e9d72ef3cca1749a676ac0e0a99506f2e87c3 (diff) | |
download | mediapointer-dvb-s2-2f2fb3516ed879fd5591730ade5d05328d3afaa5.tar.gz mediapointer-dvb-s2-2f2fb3516ed879fd5591730ade5d05328d3afaa5.tar.bz2 |
gspca - main: Support for vidioc_g_chip_ident and vidioc_g/s_register.
From: Brian Johnson <brijohn@gmail.com>
Priority: high
Signed-off-by: Brian Johnson <brijohn@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/gspca.h')
-rw-r--r-- | linux/drivers/media/video/gspca/gspca.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.h b/linux/drivers/media/video/gspca/gspca.h index 0508a23b9..70b1fd830 100644 --- a/linux/drivers/media/video/gspca/gspca.h +++ b/linux/drivers/media/video/gspca/gspca.h @@ -69,6 +69,10 @@ typedef void (*cam_v_op) (struct gspca_dev *); typedef int (*cam_cf_op) (struct gspca_dev *, const struct usb_device_id *); typedef int (*cam_jpg_op) (struct gspca_dev *, struct v4l2_jpegcompression *); +typedef int (*cam_reg_op) (struct gspca_dev *, + struct v4l2_dbg_register *); +typedef int (*cam_ident_op) (struct gspca_dev *, + struct v4l2_dbg_chip_ident *); typedef int (*cam_streamparm_op) (struct gspca_dev *, struct v4l2_streamparm *); typedef int (*cam_qmnu_op) (struct gspca_dev *, @@ -107,6 +111,11 @@ struct sd_desc { cam_qmnu_op querymenu; cam_streamparm_op get_streamparm; cam_streamparm_op set_streamparm; +#ifdef CONFIG_VIDEO_ADV_DEBUG + cam_reg_op set_register; + cam_reg_op get_register; +#endif + cam_ident_op get_chip_ident; }; /* packet types when moving from iso buf to frame buf */ |