summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stv0299.c
AgeCommit message (Collapse)Author
2008-09-23Add support for ST STV0288 demodulator and cards with it.Igor M. Liplianin
From: Georg Acher <acher@baycom.de> From: Igor M. Liplianin <liplianin@me.by> Add support for ST STV0288 demodulator and cards with it, such as TeVii S420. Signed-off by: Georg Acher <acher@baycom.de> Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-06-20stv0299: Uncorrected block count and bit error rate fixedOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix uncorrected block counter and bit error rate to follow DVB API spec: - Unsupported controls return -ENOSYS. - UNC must never be set to 0. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20stv0299: Add flag to turn off OP0 outputOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Add flag to turn off OP0 output. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-08media/dvb/frontends replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.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-13stv0299: Fix signedness warning (gcc 4.1.1, kernel 2.6.22)Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix signedness warning (gcc 4.1.1, kernel 2.6.22). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-06Frontends/: make 4 functions staticMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> This patch makes four needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-28Remove remaining static function callsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rewrote _write() calls to use write() op. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-05-14Change dvb_frontend_ops to be a real field instead of a pointer field inside ↵Patrick Boettcher
dvb_frontend From: Patrick Boettcher <pb@linuxtv.org> The dvb_frontend_ops is a pointer inside dvb_frontend. That's why every demod-driver is having a field of dvb_frontend_ops in its private-state-struct and using the reference for filling the pointer-field in dvb_frontend. - It saves at least two lines of code per demod-driver, - reduces object size (one less dereference per frontend_ops-access), - be coherent with dvb_tuner_ops, - makes it a little bit easier for newbies to understand how it works and - avoids stupid mistakes because you would have to copy the dvb_frontend_ops always, before you could assign the static pointer directly, which was dangerous. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-04-28Add missing pll gate control callsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I'd missed some of these out, breaking the av7110 tuning. I then checked for more and added them in where necessary. They may not actually be necessary in all these locations, but if not, they'll simply have no effect. Add small delay to stv0299 pll gate control to fix tuning problems. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert stv0299 to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert to tuner_ops calls. Remove pll function pointers from structure. Remove unneeded tuner calls. Add i2c gate control function. Remove extra exported function. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-12-19Revert one 64-bit fix and improved other 64-bit fixesHans Verkuil
- Reverted objectionable fix in saa7146_hlp.c - Merged in improved dvb 64-bit fixes from Peter Beutner. Signed-off-by: Peter Beutner <p.beutner@gmx.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-23Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>Andrew de Quincy
Port code for SU1278/SH2 (TUA6100) from pre-refactored code
2005-11-07[PATCH] fix missing includesMichael Krufky
I recently picked up my older work to remove unnecessary #includes of sched.h, starting from a patch by Dave Jones to not include sched.h from module.h. This reduces the number of indirect includes of sched.h by ~300. Another ~400 pointless direct includes can be removed after this disentangling (patch to follow later). However, quite a few indirect includes need to be fixed up for this. In order to feed the patches through -mm with as little disturbance as possible, I've split out the fixes I accumulated up to now (complete for i386 and x86_64, more archs to follow later) and post them before the real patch. This way this large part of the patch is kept simple with only adding #includes, and all hunks are independent of each other. So if any hunk rejects or gets in the way of other patches, just drop it. My scripts will pick it up again in the next round. Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-24stv0299_set_frontend(): reduced number of i2c transfers, set register 0x12 ↵Oliver Endriss
from inittab Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-10-03Remove broken stv0299 enhanced tuning codeAndrew de Quincy
2005-09-26From: NooneImportant <nxhxzi702@sneakemail.com>Johannes Stezenbach
Add support to FE_DISHNETWORK_SEND_LEGACY_CMD code to support other frontends besides stv0299. The generic code is a fallback in the case that it doesn't work for some specific frontends (again stv0299 being a good example). Signed-off-by: NooneImportant <nxhxzi702@sneakemail.com> Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-09-04Remove my badly thought out patch. This does need done, but in a proper way.Andrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-07-22Allow the stv0299 to read the BER and UCBLOCKS.Andrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-07-16Pass a pointer to the i2c bus to the pll callbacks (stv0299 only).Andreas Oberritter
It was not possible to tell which i2c bus should be used if an adapter has multiple frontends on multiple i2c buses.
2005-04-05 - remove unnecessary casts in frontendsKenneth Aafloy
2005-04-03patch by NooneImportant:Johannes Stezenbach
The following patch fixes the current stv0299 code that handles FE_DISHNETWORK_SEND_LEGACY_CMD. (This code supports the legacy SW21, SW44, and SW64 switches)
2005-03-09 - kfree(NULL) is safeKenneth Aafloy
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2004-11-09Hopefully fixed the skystar2 problem - hard to spot bug in the init table codeAndrew de Quincy
2004-10-28Imported FE_REFACTORING to HEADAndrew de Quincy
2004-10-25- use c99 initializersMichael Hunold
2004-09-27+NHolger Waechtler
2004-09-27DishNetwork Support based on Jeremy Hall's old patchesHolger Waechtler
2004-09-18- rename way-too-long ""Technisat SkyStar2 driver"" to "SkyStar2"Michael Hunold
2004-08-24- replace dvb_unregister_frontend_new() with dvb_unregister_frontend()Michael Hunold
2004-08-18- forgot to remove all occurences of "#include "dvb_functions.h" which is ↵Michael Hunold
included just everywhere - remove dvb_i2c.[ch], it's not needed anymore - rename dvb_register_frontend_new() to dvb_register_frontend() -
2004-08-18- nuke dvb functions stuffMichael Hunold
2004-07-31merge back various cleanups from mainline kernel:Johannes Stezenbach
- sparse annotiations (viro) - NULL noise removal (viro) - #if where #ifdef should've been (saa7146) (viro) - convert private ABS() to kernel's abs() (rddunlap) - dvb_register_i2c_device() locking fix for -ENOMEM (akpm) - dvb_register_i2c_bus() locking fix for -ENOMEM (akpm)
2004-07-17 - Add missing #include <linux/moduleparam.h>Kenneth Aafloy
2004-07-16 - Adding I2C_DRIVERID for all frontends to dvb_i2c.hKenneth Aafloy
- dvb_dummy_fe conversion to Kernel I2C - Conversion from deprecated MODULE_PARM* to module_param* - Adding/renaming existing *debug* parameter to debug. - Common naming scheme for debug/I2C: dvbfe_*
2004-07-12 - Properly lock the frontend module on open/close.Kenneth Aafloy
- Remove module ref count changes to av7110 and budget-core, as they did not do the right thing.
2004-06-24Uli Luckas' Cinergy1200 patchsets and SAA patches fixing the broken frontend ↵Holger Waechtler
drivers after the kernel-i2c changes
2004-06-22- beautify error and debug messagesMichael Hunold
2004-06-22- accidently inverted BUG_ON() logicMichael Hunold
2004-06-22- more kernel i2c cleanupsMichael Hunold
2004-06-22- don't leak memory, thanks to Kenneth AafløyMichael Hunold
2004-06-21make stv0299_writereg() return -EREMOTEIO on errors, no -1 == -EPERMJohannes Stezenbach
2004-06-07cleanup patch by Kenneth AafløyJohannes Stezenbach
2004-05-03- remove 2.4 compat code, expect for ttusb_dec.cMichael Hunold
(Alex, do you take care of that one?)
2004-05-03Overhaul frontend i2c subsystem because of the recent discussion aboutMichael Hunold
the usage of the syscall interface to load binary firmware used by some frontend drivers. - add dvb_register_frontend_new() and dvb_unregister_frontend_new() which register a frontend driver using the kernel i2c interface instead of the dvb i2c interface. - register kernel i2c interface in av7110/budget driver properly - port stv0299 and ves1x93 to kernel i2c api Other DVB drivers and frontend drivers still can use the old DVB i2c interface.
2004-03-19patch by Kenneth Aafløy to add support for Typhoon DVB-S budget cardJohannes Stezenbach
2004-03-14ALPS BSRU6 needs inversion inverted.Andrew de Quincy
Converted 8space->1tabs (formatting)
2004-03-13Reading inversion with FE_GET_FRONTEND had the inversion the wrong wayAndrew de Quincy
round