summaryrefslogtreecommitdiff
path: root/linux/include/media/saa7146.h
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2004-11-21 22:36:55 +0000
committerJohannes Stezenbach <devnull@localhost>2004-11-21 22:36:55 +0000
commit83702e44e68343db073aec7f666e5207046d7af2 (patch)
treed804111bb9b3e2c170884eb7d1c4bd54e7c1d59e /linux/include/media/saa7146.h
parent61f76e43e1717def1801bd3c5ee7c67a289e43a5 (diff)
downloadmediapointer-dvb-s2-83702e44e68343db073aec7f666e5207046d7af2.tar.gz
mediapointer-dvb-s2-83702e44e68343db073aec7f666e5207046d7af2.tar.bz2
- prefix IER_DISABLE and IER_ENABLE with SAA7146_
- add SAA7146_ISR_CLEAR - use those consistently in the ttpci driver
Diffstat (limited to 'linux/include/media/saa7146.h')
-rw-r--r--linux/include/media/saa7146.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h
index 9d99d044b..38667239f 100644
--- a/linux/include/media/saa7146.h
+++ b/linux/include/media/saa7146.h
@@ -63,10 +63,12 @@ extern unsigned int saa7146_debug;
#define DEB_INT(x) if (0!=(DEBUG_VARIABLE&0x20)) { DEBUG_PROLOG; printk x; } /* interrupt debug messages */
#define DEB_CAP(x) if (0!=(DEBUG_VARIABLE&0x40)) { DEBUG_PROLOG; printk x; } /* capture debug messages */
-#define IER_DISABLE(x,y) \
+#define SAA7146_IER_DISABLE(x,y) \
saa7146_write(x, IER, saa7146_read(x, IER) & ~(y));
-#define IER_ENABLE(x,y) \
+#define SAA7146_IER_ENABLE(x,y) \
saa7146_write(x, IER, saa7146_read(x, IER) | (y));
+#define SAA7146_ISR_CLEAR(x,y) \
+ saa7146_write(x, ISR, (y));
struct saa7146_dev;
struct saa7146_extension;