summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110.h
AgeCommit message (Collapse)Author
2008-09-04dvb-ttpci: Support full-ts hardware modificationOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Add support for the 'full-ts' hardware modification. On full-featured cards the data throughput is limited by the hardware design. The full-ts mod removes this bottleneck, i.e. the card is able to deliver the complete transport stream of a transponder. For details see http://www.escape-edv.de/endriss/dvb-full-ts-mod Priority: normal Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-07-08v4l-dvb: remove support for kernels < 2.6.16Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-20av7110: Removed some obsolete definitions and one unused variableOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Removed some obsolete definitions and one unused variable. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-08media/dvb/ttpci 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-10-31saa7146/budget*/dvb-ttpci: Remove V4L1 codeOliver Endriss
From: Marco Schluessler <marco@lordzodiac.de> Remove V4L1 code. Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-07-13dvb-ttpci: re-initialize aspect ratio and pan scan after arm crashOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Re-initialize aspect ratio and pan scan after arm crash. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-25dvb-ttpci: Infrared remote control refactoringOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Infrared remote control support rewritten. Now each device provides its own event device, keymap, protocol, inversion and address setting. EVIOCGKEYCODE and EVIOCSKEYCODE ioctls are supported to read/modify a keymap. Keymaps may be loaded using - input tools (keyb etc.) - av7110_loadkeys (obsolete, for backward compatibility) New command line parameters: - ir_protocol: select infrared protocol: 0 RC5, 1 RCMM (default) - ir_inversion: signal inversion: 0 not inverted (default), 1 inverted - ir_device_mask: bitmask of infrared devices (default: accept all) Those parameters may be set anytime. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-08kthread API conversion for dvb_frontend and av7110Mauro Carvalho Chehab
From: Herbert Poetzl <herbert@13thfloor.at> dvb kernel_thread to kthread API port. It is running fine here, including module load/unload and software suspend (which doesn't work as expected with or without this patch :). I didn't convert the dvb_ca_en50221 as I do not have such an interface, but if the conversion process is fine with the v4l-dvb maintainers, it should not be a problem to send a patch for that too ... Signed-off-by: Herbert Poetzl <herbert@13thfloor.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-28dvb-ttpci: Fixed unregistering the vbi deviceOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fixed unregistering the vbi device for cards without analog tuner. Thanks to Marco Schluessler <marco@lordzodiac.de> for pointing out this bug. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-07-19[PATCH] devfs: Remove the devfs_fs_kernel.h file from the treeMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> Also fixes up all files that #include it. kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-06sem2mutex: drivers/media/, #2Mauro Carvalho Chehab
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Kernel-sync from patch 3318b Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-22drivers/media/dvb/: possible cleanupsMichael Krufky
From: Adrian Bunk <bunk@stusta.de> - make needlessly global code static - #if 0 the following unused global functions: - b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq() - b2c2/flexcop-dma.c: flexcop_dma_config_packet_count() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-08WSS output interface for av7110Oliver Endriss
- implemented v4l2 api for sliced vbi data output to pass WSS data from userspace to the av7110 Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-03av7110 driver: improved recovery from ARM crash and crash detectionOliver Endriss
Improved recovery from ARM crash and the way a crash is detected. Minor white space clean-up, debug output fixed. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
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-14fixed mpeg audio on spdif from Nexus-CA card (rev 2.3),Oliver Endriss
definitions for sound chip MSP3415 Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-08-11improved remote control support for av7110-based cards:Oliver Endriss
- extended rc5 protocol, firmware >= 0x2620 required - key-up timer slightly adjusted - completely moved remote control code to av7110_ir.c - support for multiple ir receivers - for now, all av7110 cards share the same ir configuration and event device
2005-06-19- propagate more errors back to caller or log them, mainly inJohannes Stezenbach
av7110.c and av7110_av.c - fix error message in StartHWFilter - do not StopHWFilter for handle 0xffff Signed-off-by: Wolfgang Rohdewald <wolfgang@rohdewald.de>
2005-06-13From: Wolfgang Rohdewald <wolfgang@rohdewald.de>Johannes Stezenbach
- make sure ERESTARTSYS will be propagated - ReleaseBitmap: starting with Firmware 261e, also release when BMP_LOADING - removes unused #define BMP_LOADINGS - in many cases changed the return value from -1 to something more meaningful like ETIMEDOUT, EINVAL - changed syslog message timeout waiting for COMMAND such that it indicates what command did not complete - reduce # of arguments for LoadBitmap and BlitBitmap - av7110_osd_cmd: remove the out: label Signed-off-by: Wolfgang Rohdewald <wolfgang@rohdewald.de>
2005-04-23patch by Adrian Bunk:Johannes Stezenbach
- make needlessly global code static - #if 0 the following unused global functions: - ttpci/av7110_hw.c: av7110_reset_arm - ttpci/av7110_hw.c: av7110_send_ci_cmd - frontends/mt352.[ch]: drop mt352_read Signed-off-by: Adrian Bunk <bunk@stusta.de>
2005-03-17ttpci: follow dvb_register_adapter changes in dvbdev.[ch]Andreas Oberritter
2005-03-10patch by Anssi Hannula: add support for Technotrend PCI DVB-TJohannes Stezenbach
(0x13c2,0x0008, Grundig 29504-401 (LSI L64781 Based) frontend)
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2005-02-17Janitoring - error handling during attachJohannes Stezenbach
- av7110_arm_sync(): small helper to factor out some code; - av7110_attach() does not check the status code returned by all the functions is uses; - balance the error path in av7110_attach and have it easy to check. Please check it; - if everything is correctly balanced, device_initialized is not needed anymore in struct av7110; - av7110_detach(): no need to cast a void * pointer; - av7110_detach(): die #ifdef, die ! - change the returned value of av7110_av_exit() as it can't fail; - change the returned value of av7110_ca_init() as it can fail. Removed extraneous casts while are it; - check for failure of vmalloc() in ci_ll_init(). Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2005-01-08a bunch of cleanupsJohannes Stezenbach
- mostly whitespace etc. - removed now unsused struct dvb_net_priv.name field
2005-01-08patch by Emard:Johannes Stezenbach
budgetpatch integrated into dvb-ttpci: enables full ts option running in parallel with all previous functions of dvb-ttpci. This is done by opening DMA3 channel at port B and registering it as second demux named demux1 demux1 has full ts capability and is accompanied by net1 and dvr1 but has no frontend device. It uses frontend0 which is in hardware permanently connected to both demux0 and demux1. net1 can create its full ts network devices, they are named dvb010, dv010 etc. Devices created by net0 remain named dvb0_0 etc as before. kernel parameter for dvb-ttpci: budgetpatch=0,1,2 0-no budgetpatch 1-autodetect 2-alywas autodetect resets saa7146. Avoid on systems that don't like resetting of saa7146.
2004-12-26- clean up debi irq/tasklet handling to make it work on SMPJohannes Stezenbach
- misc. changes to av7110_send_fw_cmd() error handling done along the way
2004-12-01preliminary fix of broken av7110_fe_lock_fix() workaround:Oliver Endriss
- call av7110_fe_lock_fix() from set_frontend ioctl - clear pids only once - sleep 50ms after clearing pids
2004-11-21make debitype and debilen volatile; this shouldn't be necessaryJohannes Stezenbach
as debiirq and gpioirq should not run concurrently, but...
2004-11-19More support for the new Nexus-CA cardAndrew de Quincy
2004-11-09Added support for stv0297 based cardsAndrew de Quincy
2004-10-28Imported FE_REFACTORING to HEADAndrew de Quincy
2004-09-20- remove stupid DEB_* debugging macro horror from av7110 and budget drivers, ↵Michael Hunold
replace them with dprintk(level, msg) instead - remove whitespace and linefeed violations all over the place
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- remove dvb i2c code (all drivers are ported to kernel i2c)Michael Hunold
- remove dvb i2c frontend (un)register code (all drivers use non-i2c frontend calls now) - add i2c driver ids for all frontends to dvb_frontend.h (should be submitted to i2c-id.h) - fix usage of i2c driver ids in dst, ves1x93, nxt6000 drivers - remove dvb i2c functionality from av7110 and budget drivers - remove dvb i2c functionality from Skystar2 driver - fix up kernel Makefile - add a FE_ATSC case to avoid compiler warning (print warning message instead)
2004-07-29 - Fix videodev has no release callback.Kenneth Aafloy
NOTE: Michael, please remember to change the other drivers when submitting to Andrew.
2004-07-29- timeout variable in arm_thread() must be int, not unsigned longMichael Hunold
- replace home-brewn waiting stuff in osd code with wait_event_interruptible_timeout() - put a semaphore around osd calls to make sure they're properly serialized
2004-06-24- put audio/video initialization into separate function init_av7110_av()Michael Hunold
- call this function after system initialization and after arm crash to restore the previous state Thanks to Soeren Sonnenburg <bugreports@nn7.de> for this patch.
2004-05-03- fix include file order in ttpci-driverMichael Hunold
- convert tda1004x driver to kernel i2c, implement untested firmware loading
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-01-05- removed some unused fields from struct av7110Johannes Stezenbach
- retab
2004-01-05Split av7110.c into a few separate modules:Johannes Stezenbach
- av7110.c: initialization and demux stuff - av7110_hw.c: lowlevel hardware access and firmware interface - av7110_ca.c: CI and ECD - av7110_av.c: audio/video MPEG decoder and remuxing stuff - av7110_v4l.c: v4l interface It's all still ugly and needs lots of namespace and coding-style cleanups. It's probably broken, too. But it's a start. (My main motivation is easier porting to the V4 API).
2003-12-24- rename "hack" commentary to "support for analog module of dvb-c" (as it is ↵Michael Hunold
in 2.6.0)
2003-12-21- apply dvb-ttpci/av7110 firmware removal from 2.6.0 patch here, too, but:Michael Hunold
the firmware is still compiled into the driver for 2.4 by default, the necessary files are created dynamically from the firmware file. get it from http://www.linuxtv.org/download/dvb/dvb-ttpci-01.fw - revamp fdump utility to be smarter when the source file isn't there
2003-10-13Fixed distortions when switching channel while recordingKlaus Schmidinger
2003-10-06- add some debug and safety checks for video/vbi capture buffer handlingMichael Hunold
- fix init/exit of vbi capable devices - add new flag SAA7146_USE_PORT_B_FOR_VBI, so we can distinguish on which video port to apply the vbi workaround - add del_timer(...) for vbi capture queue and vbi_read timers, otherwise the kernel timer schedule oopses - add vbi device handling for dvb-c cards with analog module (does not work yet, have to setup the saa7113 decoder differently)
2003-09-28some work for DVB-C analog module:Johannes Stezenbach
- experimentally fix frequency offset - initialize msp3400 for analog TV sound
2003-06-15Improved performance when setting palette with full 256 color OSD (untested, ↵Klaus Schmidinger
see DVB for tested version)
2003-06-03Here comes the "dvb-c analog module hack"Michael Hunold
- if the analog module is detected, the saa7113 is initialized and some more v4l2 ioctls are available. you can use "xawtv" now to switch between "dvb" and "analog" input. when you are one the "analog" input, you can tune in analog channels with the cursor keys via v4l2. currently, this is a big hack -- tuning is not mutually exclusive, so "szap" and v4l2 tuning can interfere with each other. the demodulator address is hardcoded to 0x09. Other changes: - changed the saa7146 ioctl parameters, give out the data of the current device open "fh" (=> "file handle"), not the pointer to the device structure "dev". It is "dev = fh->dev". Some stuff does not work: - analog audio does not work. does the msp3400 need to be reprogrammed? - one field is "missing", so the picture is very bad and capturing does not work neither. this needs to be investigated by looking at the programming the windows driver uses for the saa7146