aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorMatti Aaltonen <matti.j.aaltonen@nokia.com>2010-10-07 09:16:11 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 05:55:58 -0400
commit44a81550410ada5b30f0a611d9446dc9cbf4cb59 (patch)
treea2292fd1c5ba3045b9178f97121c23b4094bb03f /include/linux/videodev2.h
parent352a587ccdd4690b4465e29fef91942d8c94826d (diff)
[media] V4L2: Add seek spacing and RDS CAP bits
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> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index b06479f63271..5f6f47044abf 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -1368,6 +1368,8 @@ struct v4l2_modulator {
1368#define V4L2_TUNER_CAP_SAP 0x0020 1368#define V4L2_TUNER_CAP_SAP 0x0020
1369#define V4L2_TUNER_CAP_LANG1 0x0040 1369#define V4L2_TUNER_CAP_LANG1 0x0040
1370#define V4L2_TUNER_CAP_RDS 0x0080 1370#define V4L2_TUNER_CAP_RDS 0x0080
1371#define V4L2_TUNER_CAP_RDS_BLOCK_IO 0x0100
1372#define V4L2_TUNER_CAP_RDS_CONTROLS 0x0200
1371 1373
1372/* Flags for the 'rxsubchans' field */ 1374/* Flags for the 'rxsubchans' field */
1373#define V4L2_TUNER_SUB_MONO 0x0001 1375#define V4L2_TUNER_SUB_MONO 0x0001
@@ -1397,7 +1399,8 @@ struct v4l2_hw_freq_seek {
1397 enum v4l2_tuner_type type; 1399 enum v4l2_tuner_type type;
1398 __u32 seek_upward; 1400 __u32 seek_upward;
1399 __u32 wrap_around; 1401 __u32 wrap_around;
1400 __u32 reserved[8]; 1402 __u32 spacing;
1403 __u32 reserved[7];
1401}; 1404};
1402 1405
1403/* 1406/*