summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9840.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-09-06 20:40:25 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-09-06 20:40:25 +0200
commit1a32a5be39cea73551fba337ecdaceb87b0adbf8 (patch)
tree037ccae4d818b7e17699194a622fbcbd82fd5efa /linux/drivers/media/video/tda9840.h
parent4b7714205d8f31418880011e0d338a9ee0350b26 (diff)
downloadmediapointer-dvb-s2-1a32a5be39cea73551fba337ecdaceb87b0adbf8.tar.gz
mediapointer-dvb-s2-1a32a5be39cea73551fba337ecdaceb87b0adbf8.tar.bz2
mxb/tda9840: cleanups, use module saa7115 instead of saa7111.
From: Hans Verkuil <hverkuil@xs4all.nl> Cleanup tda9840 and use a v4l2 API to get the tuner subchannels. Do some cleanups in mxb and switch to saa7115 instead of the saa7111 module. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/tda9840.h')
-rw-r--r--linux/drivers/media/video/tda9840.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/linux/drivers/media/video/tda9840.h b/linux/drivers/media/video/tda9840.h
index 7da8432cd..dc12ae7ca 100644
--- a/linux/drivers/media/video/tda9840.h
+++ b/linux/drivers/media/video/tda9840.h
@@ -3,24 +3,6 @@
#define I2C_ADDR_TDA9840 0x42
-#define TDA9840_DETECT _IOR('v',1,int)
-/* return values for TDA9840_DETCT */
-#define TDA9840_MONO_DETECT 0x0
-#define TDA9840_DUAL_DETECT 0x1
-#define TDA9840_STEREO_DETECT 0x2
-#define TDA9840_INCORRECT_DETECT 0x3
-
-#define TDA9840_SWITCH _IOW('v',2,int)
-/* modes than can be set with TDA9840_SWITCH */
-#define TDA9840_SET_MUTE 0x00
-#define TDA9840_SET_MONO 0x10
-#define TDA9840_SET_STEREO 0x2a
-#define TDA9840_SET_LANG1 0x12
-#define TDA9840_SET_LANG2 0x1e
-#define TDA9840_SET_BOTH 0x1a
-#define TDA9840_SET_BOTH_R 0x16
-#define TDA9840_SET_EXTERNAL 0x7a
-
/* values may range between +2.5 and -2.0;
the value has to be multiplied with 10 */
#define TDA9840_LEVEL_ADJUST _IOW('v',3,int)
@@ -29,7 +11,4 @@
the value has to be multiplied with 10 */
#define TDA9840_STEREO_ADJUST _IOW('v',4,int)
-/* currently not implemented */
-#define TDA9840_TEST _IOW('v',5,int)
-
#endif