diff options
author | Michael Hunold <devnull@localhost> | 2003-11-20 10:50:15 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-11-20 10:50:15 +0000 |
commit | bbff4037e33929d1353b8f065862d9fc66ef05a9 (patch) | |
tree | 9c54699a1dc4072a7d6660b81928b26e15a5c623 /linux/include/media | |
parent | 73ee18fbc6b15911cd9c4f47bc90d2212e2d09dd (diff) | |
download | mediapointer-dvb-s2-bbff4037e33929d1353b8f065862d9fc66ef05a9.tar.gz mediapointer-dvb-s2-bbff4037e33929d1353b8f065862d9fc66ef05a9.tar.bz2 |
- move saa7146_set_gpio() from saa7146_vv to saa7146_core
- add "new" saa7146_wait_for_debi_done() function, remove other versions
from av7110 and budget.ci
- make budget-ci use this gpio function and the new wait_...() function,
therefore fix
BORROWED_FROM_AV7110_H_BUT_REALLY_BELONGS_IN_SAA7146_DEFS_H remark
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/saa7146.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index 24e392cc3..f06db5313 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -165,6 +165,7 @@ void saa7146_pgtable_free(struct pci_dev *pci, struct saa7146_pgtable *pt); int saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *pt, struct scatterlist *list, int length ); char *saa7146_vmalloc_build_pgtable(struct pci_dev *pci, long length, struct saa7146_pgtable *pt); void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data); +int saa7146_wait_for_debi_done(struct saa7146_dev *dev); /* some memory sizes */ #define SAA7146_I2C_MEM ( 1*PAGE_SIZE) @@ -187,6 +188,9 @@ void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data); #define SAA7146_GPIO_OUTLO 0x40 #define SAA7146_GPIO_OUTHI 0x50 +/* debi defines */ +#define DEBINOSWAP 0x000e0000 + /* define for the register programming sequencer (rps) */ #define CMD_NOP 0x00000000 /* No operation */ #define CMD_CLR_EVENT 0x00000000 /* Clear event */ |