diff options
Diffstat (limited to 'linux/drivers/media/common/saa7146.h')
-rw-r--r-- | linux/drivers/media/common/saa7146.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/common/saa7146.h b/linux/drivers/media/common/saa7146.h index 44f3ce2c2..fd1cb221d 100644 --- a/linux/drivers/media/common/saa7146.h +++ b/linux/drivers/media/common/saa7146.h @@ -201,6 +201,13 @@ void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data); #define CMD_O_FID_A MASK_12 #define CMD_E_FID_A MASK_11 +/* some events and command modifiers for rps1 squarewave generator */ +#define EVT_HS (1<<15) // Source Line Threshold reached +#define EVT_VBI_B (1<<9) // VSYNC Event +#define RPS_OAN (1<<27) // 1: OR events, 0: AND events +#define RPS_INV (1<<26) // Invert (compound) event +#define GPIO3_MSK 0xFF000000 // GPIO #3 control bits + /* Bit mask constants */ #define MASK_00 0x00000001 /* Mask value for bit 0 */ #define MASK_01 0x00000002 /* Mask value for bit 1 */ |