diff options
author | Andrew de Quincy <devnull@localhost> | 2004-04-20 23:23:32 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-04-20 23:23:32 +0000 |
commit | 293b5af7d5f78c01617ad8b2eb83c903b98fed61 (patch) | |
tree | add76452f23a8375ab3dab451b748102291b8ab0 /linux/drivers/media/dvb/ttpci/budget.h | |
parent | ab23c50c5c766e5f78f3d9f15e1fd155ccf92073 (diff) | |
download | mediapointer-dvb-s2-293b5af7d5f78c01617ad8b2eb83c903b98fed61.tar.gz mediapointer-dvb-s2-293b5af7d5f78c01617ad8b2eb83c903b98fed61.tar.bz2 |
Now switches SAA7146 video input port on CAM insertion/removal
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget.h')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget.h b/linux/drivers/media/dvb/ttpci/budget.h index b0d315a0f..a89f2e567 100644 --- a/linux/drivers/media/dvb/ttpci/budget.h +++ b/linux/drivers/media/dvb/ttpci/budget.h @@ -47,11 +47,14 @@ struct budget { struct semaphore pid_mutex; int ci_present; + int video_port; u8 tsf; u32 ttbp; int feeding; + spinlock_t feedlock; + struct dvb_adapter *dvb_adapter; void *priv; }; @@ -77,11 +80,15 @@ static struct saa7146_pci_extension_data x_var = { \ #define BUDGET_PATCH 3 #define BUDGET_FS_ACTIVY 4 +#define BUDGET_VIDEO_PORTA 0 +#define BUDGET_VIDEO_PORTB 1 + extern int ttpci_budget_init (struct budget *budget, struct saa7146_dev* dev, struct saa7146_pci_extension_data *info); extern int ttpci_budget_deinit (struct budget *budget); extern void ttpci_budget_irq10_handler (struct saa7146_dev* dev, u32 *isr); +extern void ttpci_budget_set_video_port(struct saa7146_dev* dev, int video_port); #endif |