diff options
-rw-r--r-- | include/linux/videodev2.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index eddd5ff99c80..22fc99d58d34 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -1186,6 +1186,7 @@ struct v4l2_modulator { | |||
1186 | #define V4L2_TUNER_CAP_LANG2 0x0020 | 1186 | #define V4L2_TUNER_CAP_LANG2 0x0020 |
1187 | #define V4L2_TUNER_CAP_SAP 0x0020 | 1187 | #define V4L2_TUNER_CAP_SAP 0x0020 |
1188 | #define V4L2_TUNER_CAP_LANG1 0x0040 | 1188 | #define V4L2_TUNER_CAP_LANG1 0x0040 |
1189 | #define V4L2_TUNER_CAP_RDS 0x0080 | ||
1189 | 1190 | ||
1190 | /* Flags for the 'rxsubchans' field */ | 1191 | /* Flags for the 'rxsubchans' field */ |
1191 | #define V4L2_TUNER_SUB_MONO 0x0001 | 1192 | #define V4L2_TUNER_SUB_MONO 0x0001 |
@@ -1193,6 +1194,7 @@ struct v4l2_modulator { | |||
1193 | #define V4L2_TUNER_SUB_LANG2 0x0004 | 1194 | #define V4L2_TUNER_SUB_LANG2 0x0004 |
1194 | #define V4L2_TUNER_SUB_SAP 0x0004 | 1195 | #define V4L2_TUNER_SUB_SAP 0x0004 |
1195 | #define V4L2_TUNER_SUB_LANG1 0x0008 | 1196 | #define V4L2_TUNER_SUB_LANG1 0x0008 |
1197 | #define V4L2_TUNER_SUB_RDS 0x0010 | ||
1196 | 1198 | ||
1197 | /* Values for the 'audmode' field */ | 1199 | /* Values for the 'audmode' field */ |
1198 | #define V4L2_TUNER_MODE_MONO 0x0000 | 1200 | #define V4L2_TUNER_MODE_MONO 0x0000 |
@@ -1218,6 +1220,27 @@ struct v4l2_hw_freq_seek { | |||
1218 | }; | 1220 | }; |
1219 | 1221 | ||
1220 | /* | 1222 | /* |
1223 | * R D S | ||
1224 | */ | ||
1225 | |||
1226 | struct v4l2_rds_data { | ||
1227 | __u8 lsb; | ||
1228 | __u8 msb; | ||
1229 | __u8 block; | ||
1230 | } __attribute__ ((packed)); | ||
1231 | |||
1232 | #define V4L2_RDS_BLOCK_MSK 0x7 | ||
1233 | #define V4L2_RDS_BLOCK_A 0 | ||
1234 | #define V4L2_RDS_BLOCK_B 1 | ||
1235 | #define V4L2_RDS_BLOCK_C 2 | ||
1236 | #define V4L2_RDS_BLOCK_D 3 | ||
1237 | #define V4L2_RDS_BLOCK_C_ALT 4 | ||
1238 | #define V4L2_RDS_BLOCK_INVALID 7 | ||
1239 | |||
1240 | #define V4L2_RDS_BLOCK_CORRECTED 0x40 | ||
1241 | #define V4L2_RDS_BLOCK_ERROR 0x80 | ||
1242 | |||
1243 | /* | ||
1221 | * A U D I O | 1244 | * A U D I O |
1222 | */ | 1245 | */ |
1223 | struct v4l2_audio { | 1246 | struct v4l2_audio { |