[v12,1/3] V4L2: Add seek spacing and RDS CAP bits.
Commit Message
Add spacing field to v4l2_hw_freq_seek.
Add V4L2_TUNER_CAP_RDS_BLOCK_IO, which indicates that the tuner/
transmitter if capable of transmitting/receiving RDS blocks.
Add V4L2_TUNER_CAP_RDS_CONTROLS capability, which indicates that the
RDS data is handled as values of predefined controls like radio text,
program ID and so on.
Signed-off-by: Matti J. Aaltonen <matti.j.aaltonen@nokia.com>
---
include/linux/videodev2.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Comments
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
On Thursday, October 07, 2010 15:16:11 Matti J. Aaltonen wrote:
> Add spacing field to v4l2_hw_freq_seek.
>
> Add V4L2_TUNER_CAP_RDS_BLOCK_IO, which indicates that the tuner/
> transmitter if capable of transmitting/receiving RDS blocks.
>
> Add V4L2_TUNER_CAP_RDS_CONTROLS capability, which indicates that the
> RDS data is handled as values of predefined controls like radio text,
> program ID and so on.
>
> Signed-off-by: Matti J. Aaltonen <matti.j.aaltonen@nokia.com>
> ---
> include/linux/videodev2.h | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
> index 61490c6..eadcda3 100644
> --- a/include/linux/videodev2.h
> +++ b/include/linux/videodev2.h
> @@ -1363,6 +1363,8 @@ struct v4l2_modulator {
> #define V4L2_TUNER_CAP_SAP 0x0020
> #define V4L2_TUNER_CAP_LANG1 0x0040
> #define V4L2_TUNER_CAP_RDS 0x0080
> +#define V4L2_TUNER_CAP_RDS_BLOCK_IO 0x0100
> +#define V4L2_TUNER_CAP_RDS_CONTROLS 0x0200
>
> /* Flags for the 'rxsubchans' field */
> #define V4L2_TUNER_SUB_MONO 0x0001
> @@ -1392,7 +1394,8 @@ struct v4l2_hw_freq_seek {
> enum v4l2_tuner_type type;
> __u32 seek_upward;
> __u32 wrap_around;
> - __u32 reserved[8];
> + __u32 spacing;
> + __u32 reserved[7];
> };
>
> /*
>
@@ -1363,6 +1363,8 @@ struct v4l2_modulator {
#define V4L2_TUNER_CAP_SAP 0x0020
#define V4L2_TUNER_CAP_LANG1 0x0040
#define V4L2_TUNER_CAP_RDS 0x0080
+#define V4L2_TUNER_CAP_RDS_BLOCK_IO 0x0100
+#define V4L2_TUNER_CAP_RDS_CONTROLS 0x0200
/* Flags for the 'rxsubchans' field */
#define V4L2_TUNER_SUB_MONO 0x0001
@@ -1392,7 +1394,8 @@ struct v4l2_hw_freq_seek {
enum v4l2_tuner_type type;
__u32 seek_upward;
__u32 wrap_around;
- __u32 reserved[8];
+ __u32 spacing;
+ __u32 reserved[7];
};
/*