summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-reg.h
AgeCommit message (Collapse)Author
2007-08-18cx88-alsa: Change order of interrupt enabling, fix spurious IRQsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Currently the driver turns on audio interrupts, then sets the audio interrupt mask to select which interrupts to get. One could received unwanted interrupts since the mask is set _after_ interrupts have already been turned on. Change the order of the operations, and clear any audio interrupt status bits that are already set for good measure. Before changing the SRAM FIFO parameters, make sure the FIFO isn't being used. This shouldn't happen with just the ALSA driver, as it should never try to turn on FIFO/RISC/DMA while they are already on. However, the V4L driver needs to turn the audio FIFO on for analog audio output to work (undocumented cx88 bug). The FIFO parameters are in an inconsistent state while they are updated, and this results in many FIFO sync error IRQs if the FIFO is in use while it's in this inconsistent state. Also create and use a bunch of symbolic constants for audio interrupt mask bits. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-08-18cx88: Add symbolic names for the PCI interrupt bitsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Used for the PCI_INTMSK and PCI_INT_STAT registers. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-04-11Since we are not using CVS, $Id makes no sense anymoreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-17 *cx88-reg.h:Mauro Carvalho Chehab
- Added some registers to control PCI controller at CX2388x chips. * cx88-tvaudio.c: - BTSC Lang1 now is set to auto_stereo mode. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-07scripts/buildpatch:Mauro Carvalho Chehab
- Added code to eliminate #if 0 and #if 1 when submiting pathes to new kernel. Miscelaneous CodingStyle stuff. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-03Mauro Chehab:Mauro Carvalho Chehab
* cx88-cards.c: - changed tuner number by it's name as defined on tuner.h. * scripts/make_kern_diff.sh - now it also makes diff for include files. Catalin Climov <catalin@climov.com>: * cx88-blackbird.c: - Blackbird firmware API cleanup, symbolic constants for param values. - improved readability and comprehensibility for api calls. * cx88-cards.c: - PVR2000 & MEC gpio fixes. * cx88-tvaudio.c: - enable sound input from external adc * cx88-video.c: - initialize the hue, contrast and brightness controls to default values * cx88-mpeg.c: - s/cx_write/cx_set for MO_TS_INTMSK, MO_DEV_CNTRL2, MO_TS_DMACNTRL
2004-10-13- kill trailing whitespaces.Gerd Knorr
2004-09-15- added a bunch of $Id$ tags.Gerd Knorr
2004-07-30- cx88: started going over the blackbird code.Gerd Knorr
2004-04-13- cx88: some tvaudio code from dscaler cvs (btsc + nicam).Gerd Knorr
2004-03-25- fix register #define.Gerd Knorr
2004-02-22Initial revisionGerd Knorr