summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-ts.c
AgeCommit message (Collapse)Author
2008-08-26A simple state machine was added to saa7134_ts.Hans Verkuil
From: Dmitry Belimov <d.belimov@gmail.com> A simple state machine was added to saa7134_ts. It has three states: SAA7134_TS_STOPPED SAA7134_TS_BUFF_DONE SAA7134_TS_STARTED When buffer_setup is run we start the TS initialization: set SAA7134_TS_STOPPED. When all buffers are prepared we write data into DMA register and set SAA7134_TS_BUFF_DONE. When the first buffer is active start TS and set SAA7134_TS_STARTED. When ts_release is called stop TS and set SAA7134_TS_STOPPED. Priority: normal Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-01-27[PATCH] static memoryDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@gmail.com> - Static memory is always initialized with 0. - Replaced in some cases C99 comments for /* */ Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-11-06V4L: videobuf: don't chew up namespace STATE_.*, convert to VIDEOBUF_Brandon Philips
s/STATE_NEEDS_INIT/VIDEOBUF_NEEDS_INIT/g s/STATE_PREPARED/VIDEOBUF_PREPARED/g s/STATE_QUEUED/VIDEOBUF_QUEUED/g s/STATE_ACTIVE/VIDEOBUF_ACTIVE/g s/STATE_DONE/VIDEOBUF_DONE/g s/STATE_ERROR/VIDEOBUF_ERROR/g s/STATE_IDLE/VIDEOBUF_IDLE/g Signed-off-by: Brandon Philips <bphilips@suse.de>
2007-09-27V4L: Add basic support for suspend/resume for saa7134Maxim Levitsky
This adds support for suspend/resume for core of saa7134 Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-23Adapt drivers to use the newer videobuf modulesMauro Carvalho Chehab
PCI-dependent videobuf_foo methods were renamed as videobuf_pci_foo. Also, videobuf_dmabuf is now part of videobuf-dma-sg private struct. So, to access it, a subroutine call is needed. This patch renames all occurences of those function calls to be consistent with the video-buf split. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981 Reviewed-by: Ricardo Cerqueira <v4l@cerqueira.org>
2007-08-21Cleanup: remove linux/moduleparam.h from drivers/media filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This patch removes all occurences of moduleparm.h from drivers/media files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-02Fix v4l-dvb backward compatibilityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Due to several internal API changes on kernel, kernel backward compatibility were lost. Basically, compat.h should be the last include for it to work properly. This patch basically reorders kernel headers to allow backward compat to work fine. Also: Some includes were added after some non-include macros, on old drivers. Better to keep all includes at the beginning of the files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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>
2006-03-10Make video_buf more genericMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Video_buf were concerned to allow PCI devices to be used as video capture devices. This patch extends video_buf features by virtualizing pci-dependent functions and allowing other type of devices to use it. It is still DMA centric, although it may be used also by devices that emulates scatter/gather behavior or a DMA device 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-09-12strip trailing whitespaceMichael Krufky
2005-09-11 - TS DMA buffer synchronization was invertedHartmut Hackmann
- DMA buffer size was not set correctly in the SAA713x Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
2005-07-15 - linux/version.h removed at linux-2.6.13-rc3-mm1.Mauro Carvalho Chehab
- Removed remaining trailing spaces. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-14 - fixed minor bug in DMA IRQ handlerHartmut Hackmann
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-02-03- saa7134 ts fixes by Eric Lammerts + /me.Gerd Knorr
2004-12-10- add moduleparam.h include to many files.Gerd Knorr
- some pinnacle 300i progress (can talk to mt352 now, not working yet through). - misc minor stuff.
2004-11-07- yet another video-buf interface change + fixups.Gerd Knorr
- move more modules to new-style insmod options.
2004-10-19- saa7134 reorganiation for modular mpeg2 stuffGerd Knorr
- splitted some generic dvb code into the new video-buf-dvb module.
2004-10-13- kill trailing whitespaces.Gerd Knorr
2004-10-11- fix poll/select oops.Gerd Knorr
2004-09-23- make video-bufg don't touch struct file any more, pass throughGerd Knorr
a void ptr instead of a file ptr everythere. - add cx22702 fe driver,
2004-09-15- added a bunch of $Id$ tags.Gerd Knorr
2004-09-03- msleep() cleanups from kernel janitors.Gerd Knorr
2004-08-25- merge 2.6.9-rc1 changes (mostly __user stuff).Gerd Knorr
2004-06-23- misc fixes from various people.Gerd Knorr
2004-05-26- saa7134: add Items MuchTV card by Norman Jonas.Gerd Knorr
- saa7134: make ts buffer size configurable by Andrew de Quincey.
2004-05-13- v4l2 support in tuner + tda9887Gerd Knorr
- switch over cx88 + saa7134 to use v4l2 for tuning. - misc tweaks.
2004-02-22Initial revisionGerd Knorr