Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
av7110.h File Reference
#include <linux/interrupt.h>
#include <linux/socket.h>
#include <linux/netdevice.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/dvb/video.h>
#include <linux/dvb/audio.h>
#include <linux/dvb/dmx.h>
#include <linux/dvb/ca.h>
#include <linux/dvb/osd.h>
#include <linux/dvb/net.h>
#include <linux/mutex.h>
#include "dvbdev.h"
#include "demux.h"
#include "dvb_demux.h"
#include "dmxdev.h"
#include "dvb_filter.h"
#include "dvb_net.h"
#include "dvb_ringbuffer.h"
#include "dvb_frontend.h"
#include "ves1820.h"
#include "ves1x93.h"
#include "stv0299.h"
#include "tda8083.h"
#include "sp8870.h"
#include "stv0297.h"
#include "l64781.h"
#include <media/saa7146_vv.h>

Go to the source code of this file.

Data Structures

struct  av7110_p2t
 
struct  dvb_video_events
 
struct  infrared
 
struct  av7110
 

Macros

#define ANALOG_TUNER_VES1820   1
 
#define ANALOG_TUNER_STV0297   2
 
#define dprintk(level, args...)   do { if ((av7110_debug & level)) { printk("dvb-ttpci: %s(): ", __func__); printk(args); } } while (0)
 
#define MAXFILT   32
 
#define MAX_VIDEO_EVENT   8
 
#define DVB_ADAC_TI   0
 
#define DVB_ADAC_CRYSTAL   1
 
#define DVB_ADAC_MSP34x0   2
 
#define DVB_ADAC_MSP34x5   3
 
#define DVB_ADAC_NONE   -1
 
#define AVOUTLEN   (128*1024)
 
#define AOUTLEN   (64*1024)
 
#define BMPLEN   (8*32768+1024)
 
#define BMP_NONE   0
 
#define BMP_LOADING   1
 
#define BMP_LOADED   2
 
#define RP_NONE   0
 
#define RP_VIDEO   1
 
#define RP_AUDIO   2
 
#define RP_AV   3
 
#define TRICK_NONE   0
 
#define TRICK_FAST   1
 
#define TRICK_SLOW   2
 
#define TRICK_FREEZE   3
 
#define MSP_WR_DEM   0x10
 
#define MSP_RD_DEM   0x11
 
#define MSP_WR_DSP   0x12
 
#define MSP_RD_DSP   0x13
 

Enumerations

enum  { AV_PES_STREAM, PS_STREAM, TS_STREAM, PES_STREAM }
 
enum  av7110_video_mode { AV7110_VIDEO_MODE_PAL = 0, AV7110_VIDEO_MODE_NTSC = 1 }
 

Functions

int ChangePIDs (struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, u16 subpid, u16 pcrpid)
 
int av7110_check_ir_config (struct av7110 *av7110, int force)
 
int av7110_ir_init (struct av7110 *av7110)
 
void av7110_ir_exit (struct av7110 *av7110)
 
int i2c_writereg (struct av7110 *av7110, u8 id, u8 reg, u8 val)
 
u8 i2c_readreg (struct av7110 *av7110, u8 id, u8 reg)
 
int msp_writereg (struct av7110 *av7110, u8 dev, u16 reg, u16 val)
 
int av7110_init_analog_module (struct av7110 *av7110)
 
int av7110_init_v4l (struct av7110 *av7110)
 
int av7110_exit_v4l (struct av7110 *av7110)
 

Variables

int av7110_debug
 

Macro Definition Documentation

#define ANALOG_TUNER_STV0297   2

Definition at line 38 of file av7110.h.

#define ANALOG_TUNER_VES1820   1

Definition at line 37 of file av7110.h.

#define AOUTLEN   (64*1024)

Definition at line 135 of file av7110.h.

#define AVOUTLEN   (128*1024)

Definition at line 133 of file av7110.h.

#define BMP_LOADED   2

Definition at line 146 of file av7110.h.

#define BMP_LOADING   1

Definition at line 145 of file av7110.h.

#define BMP_NONE   0

Definition at line 144 of file av7110.h.

#define BMPLEN   (8*32768+1024)

Definition at line 137 of file av7110.h.

#define dprintk (   level,
  args... 
)    do { if ((av7110_debug & level)) { printk("dvb-ttpci: %s(): ", __func__); printk(args); } } while (0)

Definition at line 42 of file av7110.h.

#define DVB_ADAC_CRYSTAL   1

Definition at line 123 of file av7110.h.

#define DVB_ADAC_MSP34x0   2

Definition at line 124 of file av7110.h.

#define DVB_ADAC_MSP34x5   3

Definition at line 125 of file av7110.h.

#define DVB_ADAC_NONE   -1

Definition at line 126 of file av7110.h.

#define DVB_ADAC_TI   0

Definition at line 122 of file av7110.h.

#define MAX_VIDEO_EVENT   8

Definition at line 64 of file av7110.h.

#define MAXFILT   32

Definition at line 45 of file av7110.h.

#define MSP_RD_DEM   0x11

Definition at line 301 of file av7110.h.

#define MSP_RD_DSP   0x13

Definition at line 303 of file av7110.h.

#define MSP_WR_DEM   0x10

Definition at line 300 of file av7110.h.

#define MSP_WR_DSP   0x12

Definition at line 302 of file av7110.h.

#define RP_AUDIO   2

Definition at line 164 of file av7110.h.

#define RP_AV   3

Definition at line 165 of file av7110.h.

#define RP_NONE   0

Definition at line 162 of file av7110.h.

#define RP_VIDEO   1

Definition at line 163 of file av7110.h.

#define TRICK_FAST   1

Definition at line 206 of file av7110.h.

#define TRICK_FREEZE   3

Definition at line 208 of file av7110.h.

#define TRICK_NONE   0

Definition at line 205 of file av7110.h.

#define TRICK_SLOW   2

Definition at line 207 of file av7110.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
AV_PES_STREAM 
PS_STREAM 
TS_STREAM 
PES_STREAM 

Definition at line 47 of file av7110.h.

Enumerator:
AV7110_VIDEO_MODE_PAL 
AV7110_VIDEO_MODE_NTSC 

Definition at line 49 of file av7110.h.

Function Documentation

int av7110_check_ir_config ( struct av7110 av7110,
int  force 
)

Definition at line 221 of file av7110_ir.c.

int av7110_exit_v4l ( struct av7110 av7110)

Definition at line 860 of file av7110_v4l.c.

int av7110_init_analog_module ( struct av7110 av7110)

Definition at line 707 of file av7110_v4l.c.

int av7110_init_v4l ( struct av7110 av7110)

Definition at line 805 of file av7110_v4l.c.

void av7110_ir_exit ( struct av7110 av7110)

Definition at line 388 of file av7110_ir.c.

int av7110_ir_init ( struct av7110 av7110)

Definition at line 327 of file av7110_ir.c.

int ChangePIDs ( struct av7110 av7110,
u16  vpid,
u16  apid,
u16  ttpid,
u16  subpid,
u16  pcrpid 
)

Definition at line 768 of file av7110.c.

u8 i2c_readreg ( struct av7110 av7110,
u8  id,
u8  reg 
)

Definition at line 1448 of file av7110.c.

int i2c_writereg ( struct av7110 av7110,
u8  id,
u8  reg,
u8  val 
)

Definition at line 1436 of file av7110.c.

int msp_writereg ( struct av7110 av7110,
u8  dev,
u16  reg,
u16  val 
)

Definition at line 41 of file av7110_v4l.c.

Variable Documentation

int av7110_debug

Definition at line 78 of file av7110.c.