Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
saa7134.h File Reference
#include <linux/pci.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <linux/kdev_t.h>
#include <linux/input.h>
#include <linux/notifier.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <asm/io.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-device.h>
#include <media/tuner.h>
#include <media/rc-core.h>
#include <media/ir-kbd-i2c.h>
#include <media/videobuf-dma-sg.h>
#include <sound/core.h>
#include <sound/pcm.h>

Go to the source code of this file.

Data Structures

struct  saa7134_tvnorm
 
struct  saa7134_tvaudio
 
struct  saa7134_format
 
struct  saa7134_card_ir
 
struct  saa7134_input
 
struct  saa7134_board
 
struct  saa7134_pgtable
 
struct  saa7134_thread
 
struct  saa7134_buf
 
struct  saa7134_dmaqueue
 
struct  saa7134_fh
 
struct  saa7134_dmasound
 
struct  saa7134_ts
 
struct  saa7134_mpeg_ops
 
struct  saa7134_dev
 

Macros

#define SAA7134_VERSION   "0, 2, 17"
 
#define UNSET   (-1U)
 
#define SAA7134_BOARD_NOAUTO   UNSET
 
#define SAA7134_BOARD_UNKNOWN   0
 
#define SAA7134_BOARD_PROTEUS_PRO   1
 
#define SAA7134_BOARD_FLYVIDEO3000   2
 
#define SAA7134_BOARD_FLYVIDEO2000   3
 
#define SAA7134_BOARD_EMPRESS   4
 
#define SAA7134_BOARD_MONSTERTV   5
 
#define SAA7134_BOARD_MD9717   6
 
#define SAA7134_BOARD_TVSTATION_RDS   7
 
#define SAA7134_BOARD_CINERGY400   8
 
#define SAA7134_BOARD_MD5044   9
 
#define SAA7134_BOARD_KWORLD   10
 
#define SAA7134_BOARD_CINERGY600   11
 
#define SAA7134_BOARD_MD7134   12
 
#define SAA7134_BOARD_TYPHOON_90031   13
 
#define SAA7134_BOARD_ELSA   14
 
#define SAA7134_BOARD_ELSA_500TV   15
 
#define SAA7134_BOARD_ASUSTeK_TVFM7134   16
 
#define SAA7134_BOARD_VA1000POWER   17
 
#define SAA7134_BOARD_BMK_MPEX_NOTUNER   18
 
#define SAA7134_BOARD_VIDEOMATE_TV   19
 
#define SAA7134_BOARD_CRONOS_PLUS   20
 
#define SAA7134_BOARD_10MOONSTVMASTER   21
 
#define SAA7134_BOARD_MD2819   22
 
#define SAA7134_BOARD_BMK_MPEX_TUNER   23
 
#define SAA7134_BOARD_TVSTATION_DVR   24
 
#define SAA7134_BOARD_ASUSTEK_TVFM7133   25
 
#define SAA7134_BOARD_PINNACLE_PCTV_STEREO   26
 
#define SAA7134_BOARD_MANLI_MTV002   27
 
#define SAA7134_BOARD_MANLI_MTV001   28
 
#define SAA7134_BOARD_TG3000TV   29
 
#define SAA7134_BOARD_ECS_TVP3XP   30
 
#define SAA7134_BOARD_ECS_TVP3XP_4CB5   31
 
#define SAA7134_BOARD_AVACSSMARTTV   32
 
#define SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER   33
 
#define SAA7134_BOARD_NOVAC_PRIMETV7133   34
 
#define SAA7134_BOARD_AVERMEDIA_STUDIO_305   35
 
#define SAA7134_BOARD_UPMOST_PURPLE_TV   36
 
#define SAA7134_BOARD_ITEMS_MTV005   37
 
#define SAA7134_BOARD_CINERGY200   38
 
#define SAA7134_BOARD_FLYTVPLATINUM_MINI   39
 
#define SAA7134_BOARD_VIDEOMATE_TV_PVR   40
 
#define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS   41
 
#define SAA7134_BOARD_SABRENT_SBTTVFM   42
 
#define SAA7134_BOARD_ZOLID_XPERT_TV7134   43
 
#define SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE   44
 
#define SAA7134_BOARD_AVERMEDIA_STUDIO_307   45
 
#define SAA7134_BOARD_AVERMEDIA_CARDBUS   46
 
#define SAA7134_BOARD_CINERGY400_CARDBUS   47
 
#define SAA7134_BOARD_CINERGY600_MK3   48
 
#define SAA7134_BOARD_VIDEOMATE_GOLD_PLUS   49
 
#define SAA7134_BOARD_PINNACLE_300I_DVBT_PAL   50
 
#define SAA7134_BOARD_PROVIDEO_PV952   51
 
#define SAA7134_BOARD_AVERMEDIA_305   52
 
#define SAA7134_BOARD_ASUSTeK_TVFM7135   53
 
#define SAA7134_BOARD_FLYTVPLATINUM_FM   54
 
#define SAA7134_BOARD_FLYDVBTDUO   55
 
#define SAA7134_BOARD_AVERMEDIA_307   56
 
#define SAA7134_BOARD_AVERMEDIA_GO_007_FM   57
 
#define SAA7134_BOARD_ADS_INSTANT_TV   58
 
#define SAA7134_BOARD_KWORLD_VSTREAM_XPERT   59
 
#define SAA7134_BOARD_FLYDVBT_DUO_CARDBUS   60
 
#define SAA7134_BOARD_PHILIPS_TOUGH   61
 
#define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII   62
 
#define SAA7134_BOARD_KWORLD_XPERT   63
 
#define SAA7134_BOARD_FLYTV_DIGIMATRIX   64
 
#define SAA7134_BOARD_KWORLD_TERMINATOR   65
 
#define SAA7134_BOARD_YUAN_TUN900   66
 
#define SAA7134_BOARD_BEHOLD_409FM   67
 
#define SAA7134_BOARD_GOTVIEW_7135   68
 
#define SAA7134_BOARD_PHILIPS_EUROPA   69
 
#define SAA7134_BOARD_VIDEOMATE_DVBT_300   70
 
#define SAA7134_BOARD_VIDEOMATE_DVBT_200   71
 
#define SAA7134_BOARD_RTD_VFG7350   72
 
#define SAA7134_BOARD_RTD_VFG7330   73
 
#define SAA7134_BOARD_FLYTVPLATINUM_MINI2   74
 
#define SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180   75
 
#define SAA7134_BOARD_MONSTERTV_MOBILE   76
 
#define SAA7134_BOARD_PINNACLE_PCTV_110i   77
 
#define SAA7134_BOARD_ASUSTeK_P7131_DUAL   78
 
#define SAA7134_BOARD_SEDNA_PC_TV_CARDBUS   79
 
#define SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV   80
 
#define SAA7134_BOARD_PHILIPS_TIGER   81
 
#define SAA7134_BOARD_MSI_TVATANYWHERE_PLUS   82
 
#define SAA7134_BOARD_CINERGY250PCI   83
 
#define SAA7134_BOARD_FLYDVB_TRIO   84
 
#define SAA7134_BOARD_AVERMEDIA_777   85
 
#define SAA7134_BOARD_FLYDVBT_LR301   86
 
#define SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331   87
 
#define SAA7134_BOARD_TEVION_DVBT_220RF   88
 
#define SAA7134_BOARD_ELSA_700TV   89
 
#define SAA7134_BOARD_KWORLD_ATSC110   90
 
#define SAA7134_BOARD_AVERMEDIA_A169_B   91
 
#define SAA7134_BOARD_AVERMEDIA_A169_B1   92
 
#define SAA7134_BOARD_MD7134_BRIDGE_2   93
 
#define SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS   94
 
#define SAA7134_BOARD_FLYVIDEO3000_NTSC   95
 
#define SAA7134_BOARD_MEDION_MD8800_QUADRO   96
 
#define SAA7134_BOARD_FLYDVBS_LR300   97
 
#define SAA7134_BOARD_PROTEUS_2309   98
 
#define SAA7134_BOARD_AVERMEDIA_A16AR   99
 
#define SAA7134_BOARD_ASUS_EUROPA2_HYBRID   100
 
#define SAA7134_BOARD_PINNACLE_PCTV_310i   101
 
#define SAA7134_BOARD_AVERMEDIA_STUDIO_507   102
 
#define SAA7134_BOARD_VIDEOMATE_DVBT_200A   103
 
#define SAA7134_BOARD_HAUPPAUGE_HVR1110   104
 
#define SAA7134_BOARD_CINERGY_HT_PCMCIA   105
 
#define SAA7134_BOARD_ENCORE_ENLTV   106
 
#define SAA7134_BOARD_ENCORE_ENLTV_FM   107
 
#define SAA7134_BOARD_CINERGY_HT_PCI   108
 
#define SAA7134_BOARD_PHILIPS_TIGER_S   109
 
#define SAA7134_BOARD_AVERMEDIA_M102   110
 
#define SAA7134_BOARD_ASUS_P7131_4871   111
 
#define SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA   112
 
#define SAA7134_BOARD_ECS_TVP3XP_4CB6   113
 
#define SAA7134_BOARD_KWORLD_DVBT_210   114
 
#define SAA7134_BOARD_SABRENT_TV_PCB05   115
 
#define SAA7134_BOARD_10MOONSTVMASTER3   116
 
#define SAA7134_BOARD_AVERMEDIA_SUPER_007   117
 
#define SAA7134_BOARD_BEHOLD_401   118
 
#define SAA7134_BOARD_BEHOLD_403   119
 
#define SAA7134_BOARD_BEHOLD_403FM   120
 
#define SAA7134_BOARD_BEHOLD_405   121
 
#define SAA7134_BOARD_BEHOLD_405FM   122
 
#define SAA7134_BOARD_BEHOLD_407   123
 
#define SAA7134_BOARD_BEHOLD_407FM   124
 
#define SAA7134_BOARD_BEHOLD_409   125
 
#define SAA7134_BOARD_BEHOLD_505FM   126
 
#define SAA7134_BOARD_BEHOLD_507_9FM   127
 
#define SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM   128
 
#define SAA7134_BOARD_BEHOLD_607FM_MK3   129
 
#define SAA7134_BOARD_BEHOLD_M6   130
 
#define SAA7134_BOARD_TWINHAN_DTV_DVB_3056   131
 
#define SAA7134_BOARD_GENIUS_TVGO_A11MCE   132
 
#define SAA7134_BOARD_PHILIPS_SNAKE   133
 
#define SAA7134_BOARD_CREATIX_CTX953   134
 
#define SAA7134_BOARD_MSI_TVANYWHERE_AD11   135
 
#define SAA7134_BOARD_AVERMEDIA_CARDBUS_506   136
 
#define SAA7134_BOARD_AVERMEDIA_A16D   137
 
#define SAA7134_BOARD_AVERMEDIA_M115   138
 
#define SAA7134_BOARD_VIDEOMATE_T750   139
 
#define SAA7134_BOARD_AVERMEDIA_A700_PRO   140
 
#define SAA7134_BOARD_AVERMEDIA_A700_HYBRID   141
 
#define SAA7134_BOARD_BEHOLD_H6   142
 
#define SAA7134_BOARD_BEHOLD_M63   143
 
#define SAA7134_BOARD_BEHOLD_M6_EXTRA   144
 
#define SAA7134_BOARD_AVERMEDIA_M103   145
 
#define SAA7134_BOARD_ASUSTeK_P7131_ANALOG   146
 
#define SAA7134_BOARD_ASUSTeK_TIGER_3IN1   147
 
#define SAA7134_BOARD_ENCORE_ENLTV_FM53   148
 
#define SAA7134_BOARD_AVERMEDIA_M135A   149
 
#define SAA7134_BOARD_REAL_ANGEL_220   150
 
#define SAA7134_BOARD_ADS_INSTANT_HDTV_PCI   151
 
#define SAA7134_BOARD_ASUSTeK_TIGER   152
 
#define SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG   153
 
#define SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS   154
 
#define SAA7134_BOARD_HAUPPAUGE_HVR1150   155
 
#define SAA7134_BOARD_HAUPPAUGE_HVR1120   156
 
#define SAA7134_BOARD_AVERMEDIA_STUDIO_507UA   157
 
#define SAA7134_BOARD_AVERMEDIA_CARDBUS_501   158
 
#define SAA7134_BOARD_BEHOLD_505RDS_MK5   159
 
#define SAA7134_BOARD_BEHOLD_507RDS_MK3   160
 
#define SAA7134_BOARD_BEHOLD_507RDS_MK5   161
 
#define SAA7134_BOARD_BEHOLD_607FM_MK5   162
 
#define SAA7134_BOARD_BEHOLD_609FM_MK3   163
 
#define SAA7134_BOARD_BEHOLD_609FM_MK5   164
 
#define SAA7134_BOARD_BEHOLD_607RDS_MK3   165
 
#define SAA7134_BOARD_BEHOLD_607RDS_MK5   166
 
#define SAA7134_BOARD_BEHOLD_609RDS_MK3   167
 
#define SAA7134_BOARD_BEHOLD_609RDS_MK5   168
 
#define SAA7134_BOARD_VIDEOMATE_S350   169
 
#define SAA7134_BOARD_AVERMEDIA_STUDIO_505   170
 
#define SAA7134_BOARD_BEHOLD_X7   171
 
#define SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM   172
 
#define SAA7134_BOARD_ZOLID_HYBRID_PCI   173
 
#define SAA7134_BOARD_ASUS_EUROPA_HYBRID   174
 
#define SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S   175
 
#define SAA7134_BOARD_BEHOLD_505RDS_MK3   176
 
#define SAA7134_BOARD_HAWELL_HW_404M7   177
 
#define SAA7134_BOARD_BEHOLD_H7   178
 
#define SAA7134_BOARD_BEHOLD_A7   179
 
#define SAA7134_BOARD_AVERMEDIA_M733A   180
 
#define SAA7134_BOARD_TECHNOTREND_BUDGET_T3000   181
 
#define SAA7134_BOARD_KWORLD_PCI_SBTVD_FULLSEG   182
 
#define SAA7134_BOARD_VIDEOMATE_M1F   183
 
#define SAA7134_BOARD_ENCORE_ENLTV_FM3   184
 
#define SAA7134_BOARD_MAGICPRO_PROHDTV_PRO2   185
 
#define SAA7134_BOARD_BEHOLD_501   186
 
#define SAA7134_BOARD_BEHOLD_503FM   187
 
#define SAA7134_BOARD_SENSORAY811_911   188
 
#define SAA7134_BOARD_KWORLD_PC150U   189
 
#define SAA7134_BOARD_ASUSTeK_PS3_100   190
 
#define SAA7134_MAXBOARDS   32
 
#define SAA7134_INPUT_MAX   8
 
#define SAA7134_REMOTE_GPIO   1
 
#define SAA7134_REMOTE_I2C   2
 
#define SET_T_CODE_POLARITY_NON_INVERTED   (1 << 0)
 
#define SET_CLOCK_NOT_DELAYED   (1 << 1)
 
#define SET_CLOCK_INVERTED   (1 << 2)
 
#define SET_VSYNC_OFF   (1 << 3)
 
#define card_has_radio(dev)   (NULL != saa7134_boards[dev->board].radio.name)
 
#define card_is_empress(dev)   (SAA7134_MPEG_EMPRESS == saa7134_boards[dev->board].mpeg)
 
#define card_is_dvb(dev)   (SAA7134_MPEG_DVB == saa7134_boards[dev->board].mpeg)
 
#define card_has_mpeg(dev)   (SAA7134_MPEG_UNUSED != saa7134_boards[dev->board].mpeg)
 
#define card(dev)   (saa7134_boards[dev->board])
 
#define card_in(dev, n)   (saa7134_boards[dev->board].inputs[n])
 
#define RESOURCE_OVERLAY   1
 
#define RESOURCE_VIDEO   2
 
#define RESOURCE_VBI   4
 
#define INTERLACE_AUTO   0
 
#define INTERLACE_ON   1
 
#define INTERLACE_OFF   2
 
#define BUFFER_TIMEOUT   msecs_to_jiffies(500) /* 0.5 seconds */
 
#define TS_BUFFER_TIMEOUT   msecs_to_jiffies(1000) /* 1 second */
 
#define saa_readl(reg)   readl(dev->lmmio + (reg))
 
#define saa_writel(reg, value)   writel((value), dev->lmmio + (reg));
 
#define saa_andorl(reg, mask, value)
 
#define saa_setl(reg, bit)   saa_andorl((reg),(bit),(bit))
 
#define saa_clearl(reg, bit)   saa_andorl((reg),(bit),0)
 
#define saa_readb(reg)   readb(dev->bmmio + (reg))
 
#define saa_writeb(reg, value)   writeb((value), dev->bmmio + (reg));
 
#define saa_andorb(reg, mask, value)
 
#define saa_setb(reg, bit)   saa_andorb((reg),(bit),(bit))
 
#define saa_clearb(reg, bit)   saa_andorb((reg),(bit),0)
 
#define saa_wait(us)   { udelay(us); }
 
#define SAA7134_NORMS
 
#define GRP_EMPRESS   (1)
 
#define saa_call_all(dev, o, f, args...)
 
#define saa_call_empress(dev, o, f, args...)
 
#define SAA7134_PGTABLE_SIZE   4096
 
#define TS_PACKET_SIZE   188 /* TS packets 188 bytes */
 
#define saa7134_input_init1(dev)   ((void)0)
 
#define saa7134_input_fini(dev)   ((void)0)
 
#define saa7134_input_irq(dev)   ((void)0)
 
#define saa7134_probe_i2c_ir(dev)   ((void)0)
 
#define saa7134_ir_start(dev)   ((void)0)
 
#define saa7134_ir_stop(dev)   ((void)0)
 

Enumerations

enum  saa7134_tvaudio_mode {
  TVAUDIO_FM_MONO = 1, TVAUDIO_FM_BG_STEREO = 2, TVAUDIO_FM_SAT_STEREO = 3, TVAUDIO_FM_K_STEREO = 4,
  TVAUDIO_NICAM_AM = 5, TVAUDIO_NICAM_FM = 6
}
 
enum  saa7134_audio_in { TV = 1, LINE1 = 2, LINE2 = 3, LINE2_LEFT }
 
enum  saa7134_video_out { CCIR656 = 1 }
 
enum  saa7134_mpeg_type { SAA7134_MPEG_UNUSED, SAA7134_MPEG_EMPRESS, SAA7134_MPEG_DVB }
 
enum  saa7134_mpeg_ts_type { SAA7134_MPEG_TS_PARALLEL = 0, SAA7134_MPEG_TS_SERIAL }
 

Functions

void saa7134_track_gpio (struct saa7134_dev *dev, char *msg)
 
void saa7134_set_gpio (struct saa7134_dev *dev, int bit_no, int value)
 
int saa7134_pgtable_alloc (struct pci_dev *pci, struct saa7134_pgtable *pt)
 
int saa7134_pgtable_build (struct pci_dev *pci, struct saa7134_pgtable *pt, struct scatterlist *list, unsigned int length, unsigned int startpage)
 
void saa7134_pgtable_free (struct pci_dev *pci, struct saa7134_pgtable *pt)
 
int saa7134_buffer_count (unsigned int size, unsigned int count)
 
int saa7134_buffer_startpage (struct saa7134_buf *buf)
 
unsigned long saa7134_buffer_base (struct saa7134_buf *buf)
 
int saa7134_buffer_queue (struct saa7134_dev *dev, struct saa7134_dmaqueue *q, struct saa7134_buf *buf)
 
void saa7134_buffer_finish (struct saa7134_dev *dev, struct saa7134_dmaqueue *q, unsigned int state)
 
void saa7134_buffer_next (struct saa7134_dev *dev, struct saa7134_dmaqueue *q)
 
void saa7134_buffer_timeout (unsigned long data)
 
void saa7134_dma_free (struct videobuf_queue *q, struct saa7134_buf *buf)
 
int saa7134_set_dmabits (struct saa7134_dev *dev)
 
int saa7134_board_init1 (struct saa7134_dev *dev)
 
int saa7134_board_init2 (struct saa7134_dev *dev)
 
int saa7134_tuner_callback (void *priv, int component, int command, int arg)
 
int saa7134_i2c_register (struct saa7134_dev *dev)
 
int saa7134_i2c_unregister (struct saa7134_dev *dev)
 
int saa7134_s_ctrl_internal (struct saa7134_dev *dev, struct saa7134_fh *fh, struct v4l2_control *c)
 
int saa7134_g_ctrl_internal (struct saa7134_dev *dev, struct saa7134_fh *fh, struct v4l2_control *c)
 
int saa7134_queryctrl (struct file *file, void *priv, struct v4l2_queryctrl *c)
 
int saa7134_s_std_internal (struct saa7134_dev *dev, struct saa7134_fh *fh, v4l2_std_id *id)
 
int saa7134_videoport_init (struct saa7134_dev *dev)
 
void saa7134_set_tvnorm_hw (struct saa7134_dev *dev)
 
int saa7134_video_init1 (struct saa7134_dev *dev)
 
int saa7134_video_init2 (struct saa7134_dev *dev)
 
void saa7134_irq_video_signalchange (struct saa7134_dev *dev)
 
void saa7134_irq_video_done (struct saa7134_dev *dev, unsigned long status)
 
int saa7134_ts_init1 (struct saa7134_dev *dev)
 
int saa7134_ts_fini (struct saa7134_dev *dev)
 
void saa7134_irq_ts_done (struct saa7134_dev *dev, unsigned long status)
 
int saa7134_ts_register (struct saa7134_mpeg_ops *ops)
 
void saa7134_ts_unregister (struct saa7134_mpeg_ops *ops)
 
int saa7134_ts_init_hw (struct saa7134_dev *dev)
 
int saa7134_ts_start (struct saa7134_dev *dev)
 
int saa7134_ts_stop (struct saa7134_dev *dev)
 
int saa7134_vbi_init1 (struct saa7134_dev *dev)
 
int saa7134_vbi_fini (struct saa7134_dev *dev)
 
void saa7134_irq_vbi_done (struct saa7134_dev *dev, unsigned long status)
 
int saa7134_tvaudio_rx2mode (u32 rx)
 
void saa7134_tvaudio_setmute (struct saa7134_dev *dev)
 
void saa7134_tvaudio_setinput (struct saa7134_dev *dev, struct saa7134_input *in)
 
void saa7134_tvaudio_setvolume (struct saa7134_dev *dev, int level)
 
int saa7134_tvaudio_getstereo (struct saa7134_dev *dev)
 
void saa7134_tvaudio_init (struct saa7134_dev *dev)
 
int saa7134_tvaudio_init2 (struct saa7134_dev *dev)
 
int saa7134_tvaudio_fini (struct saa7134_dev *dev)
 
int saa7134_tvaudio_do_scan (struct saa7134_dev *dev)
 
int saa7134_tvaudio_close (struct saa7134_dev *dev)
 
int saa_dsp_writel (struct saa7134_dev *dev, int reg, u32 value)
 
void saa7134_enable_i2s (struct saa7134_dev *dev)
 
int saa7134_oss_init1 (struct saa7134_dev *dev)
 
int saa7134_oss_fini (struct saa7134_dev *dev)
 
void saa7134_irq_oss_done (struct saa7134_dev *dev, unsigned long status)
 

Variables

struct list_head saa7134_devlist
 
struct mutex saa7134_devlist_lock
 
int saa7134_no_overlay
 
int(* saa7134_dmasound_init )(struct saa7134_dev *dev)
 
int(* saa7134_dmasound_exit )(struct saa7134_dev *dev)
 
struct saa7134_board saa7134_boards []
 
const unsigned int saa7134_bcount
 
struct pci_device_id __devinitdata saa7134_pci_tbl []
 
unsigned int video_debug
 
struct video_device saa7134_video_template
 
struct video_device saa7134_radio_template
 
struct videobuf_queue_ops saa7134_ts_qops
 
struct videobuf_queue_ops saa7134_vbi_qops
 
struct video_device saa7134_vbi_template
 
struct file_operations saa7134_dsp_fops
 
struct file_operations saa7134_mixer_fops
 

Macro Definition Documentation

#define BUFFER_TIMEOUT   msecs_to_jiffies(500) /* 0.5 seconds */

Definition at line 419 of file saa7134.h.

#define card (   dev)    (saa7134_boards[dev->board])

Definition at line 405 of file saa7134.h.

#define card_has_mpeg (   dev)    (SAA7134_MPEG_UNUSED != saa7134_boards[dev->board].mpeg)

Definition at line 404 of file saa7134.h.

#define card_has_radio (   dev)    (NULL != saa7134_boards[dev->board].radio.name)

Definition at line 401 of file saa7134.h.

#define card_in (   dev,
  n 
)    (saa7134_boards[dev->board].inputs[n])

Definition at line 406 of file saa7134.h.

#define card_is_dvb (   dev)    (SAA7134_MPEG_DVB == saa7134_boards[dev->board].mpeg)

Definition at line 403 of file saa7134.h.

#define card_is_empress (   dev)    (SAA7134_MPEG_EMPRESS == saa7134_boards[dev->board].mpeg)

Definition at line 402 of file saa7134.h.

#define GRP_EMPRESS   (1)

Definition at line 681 of file saa7134.h.

#define INTERLACE_AUTO   0

Definition at line 415 of file saa7134.h.

#define INTERLACE_OFF   2

Definition at line 417 of file saa7134.h.

#define INTERLACE_ON   1

Definition at line 416 of file saa7134.h.

#define RESOURCE_OVERLAY   1

Definition at line 411 of file saa7134.h.

#define RESOURCE_VBI   4

Definition at line 413 of file saa7134.h.

#define RESOURCE_VIDEO   2

Definition at line 412 of file saa7134.h.

#define SAA7134_BOARD_10MOONSTVMASTER   21

Definition at line 165 of file saa7134.h.

#define SAA7134_BOARD_10MOONSTVMASTER3   116

Definition at line 260 of file saa7134.h.

#define SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331   87

Definition at line 231 of file saa7134.h.

#define SAA7134_BOARD_ADS_INSTANT_HDTV_PCI   151

Definition at line 295 of file saa7134.h.

#define SAA7134_BOARD_ADS_INSTANT_TV   58

Definition at line 202 of file saa7134.h.

#define SAA7134_BOARD_ASUS_EUROPA2_HYBRID   100

Definition at line 244 of file saa7134.h.

#define SAA7134_BOARD_ASUS_EUROPA_HYBRID   174

Definition at line 318 of file saa7134.h.

#define SAA7134_BOARD_ASUS_P7131_4871   111

Definition at line 255 of file saa7134.h.

#define SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV   80

Definition at line 224 of file saa7134.h.

#define SAA7134_BOARD_ASUSTeK_P7131_ANALOG   146

Definition at line 290 of file saa7134.h.

#define SAA7134_BOARD_ASUSTeK_P7131_DUAL   78

Definition at line 222 of file saa7134.h.

#define SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA   112

Definition at line 256 of file saa7134.h.

#define SAA7134_BOARD_ASUSTeK_PS3_100   190

Definition at line 334 of file saa7134.h.

#define SAA7134_BOARD_ASUSTeK_TIGER   152

Definition at line 296 of file saa7134.h.

#define SAA7134_BOARD_ASUSTeK_TIGER_3IN1   147

Definition at line 291 of file saa7134.h.

#define SAA7134_BOARD_ASUSTEK_TVFM7133   25

Definition at line 169 of file saa7134.h.

#define SAA7134_BOARD_ASUSTeK_TVFM7134   16

Definition at line 160 of file saa7134.h.

#define SAA7134_BOARD_ASUSTeK_TVFM7135   53

Definition at line 197 of file saa7134.h.

#define SAA7134_BOARD_AVACSSMARTTV   32

Definition at line 176 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_305   52

Definition at line 196 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_307   56

Definition at line 200 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_777   85

Definition at line 229 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_A169_B   91

Definition at line 235 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_A169_B1   92

Definition at line 236 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_A16AR   99

Definition at line 243 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_A16D   137

Definition at line 281 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_A700_HYBRID   141

Definition at line 285 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_A700_PRO   140

Definition at line 284 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180   75

Definition at line 219 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_CARDBUS   46

Definition at line 190 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_CARDBUS_501   158

Definition at line 302 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_CARDBUS_506   136

Definition at line 280 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER   33

Definition at line 177 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_GO_007_FM   57

Definition at line 201 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS   154

Definition at line 298 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_M102   110

Definition at line 254 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_M103   145

Definition at line 289 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_M115   138

Definition at line 282 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_M135A   149

Definition at line 293 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_M733A   180

Definition at line 324 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_STUDIO_305   35

Definition at line 179 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_STUDIO_307   45

Definition at line 189 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_STUDIO_505   170

Definition at line 314 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_STUDIO_507   102

Definition at line 246 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_STUDIO_507UA   157

Definition at line 301 of file saa7134.h.

#define SAA7134_BOARD_AVERMEDIA_SUPER_007   117

Definition at line 261 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_401   118

Definition at line 262 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_403   119

Definition at line 263 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_403FM   120

Definition at line 264 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_405   121

Definition at line 265 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_405FM   122

Definition at line 266 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_407   123

Definition at line 267 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_407FM   124

Definition at line 268 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_409   125

Definition at line 269 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_409FM   67

Definition at line 211 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_501   186

Definition at line 330 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_503FM   187

Definition at line 331 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_505FM   126

Definition at line 270 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_505RDS_MK3   176

Definition at line 320 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_505RDS_MK5   159

Definition at line 303 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_507_9FM   127

Definition at line 271 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_507RDS_MK3   160

Definition at line 304 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_507RDS_MK5   161

Definition at line 305 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_607FM_MK3   129

Definition at line 273 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_607FM_MK5   162

Definition at line 306 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_607RDS_MK3   165

Definition at line 309 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_607RDS_MK5   166

Definition at line 310 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_609FM_MK3   163

Definition at line 307 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_609FM_MK5   164

Definition at line 308 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_609RDS_MK3   167

Definition at line 311 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_609RDS_MK5   168

Definition at line 312 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_A7   179

Definition at line 323 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM   128

Definition at line 272 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_H6   142

Definition at line 286 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_H7   178

Definition at line 322 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_M6   130

Definition at line 274 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_M63   143

Definition at line 287 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_M6_EXTRA   144

Definition at line 288 of file saa7134.h.

#define SAA7134_BOARD_BEHOLD_X7   171

Definition at line 315 of file saa7134.h.

#define SAA7134_BOARD_BMK_MPEX_NOTUNER   18

Definition at line 162 of file saa7134.h.

#define SAA7134_BOARD_BMK_MPEX_TUNER   23

Definition at line 167 of file saa7134.h.

#define SAA7134_BOARD_CINERGY200   38

Definition at line 182 of file saa7134.h.

#define SAA7134_BOARD_CINERGY250PCI   83

Definition at line 227 of file saa7134.h.

#define SAA7134_BOARD_CINERGY400   8

Definition at line 152 of file saa7134.h.

#define SAA7134_BOARD_CINERGY400_CARDBUS   47

Definition at line 191 of file saa7134.h.

#define SAA7134_BOARD_CINERGY600   11

Definition at line 155 of file saa7134.h.

#define SAA7134_BOARD_CINERGY600_MK3   48

Definition at line 192 of file saa7134.h.

#define SAA7134_BOARD_CINERGY_HT_PCI   108

Definition at line 252 of file saa7134.h.

#define SAA7134_BOARD_CINERGY_HT_PCMCIA   105

Definition at line 249 of file saa7134.h.

#define SAA7134_BOARD_CREATIX_CTX953   134

Definition at line 278 of file saa7134.h.

#define SAA7134_BOARD_CRONOS_PLUS   20

Definition at line 164 of file saa7134.h.

#define SAA7134_BOARD_ECS_TVP3XP   30

Definition at line 174 of file saa7134.h.

#define SAA7134_BOARD_ECS_TVP3XP_4CB5   31

Definition at line 175 of file saa7134.h.

#define SAA7134_BOARD_ECS_TVP3XP_4CB6   113

Definition at line 257 of file saa7134.h.

#define SAA7134_BOARD_ELSA   14

Definition at line 158 of file saa7134.h.

#define SAA7134_BOARD_ELSA_500TV   15

Definition at line 159 of file saa7134.h.

#define SAA7134_BOARD_ELSA_700TV   89

Definition at line 233 of file saa7134.h.

#define SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE   44

Definition at line 188 of file saa7134.h.

#define SAA7134_BOARD_EMPRESS   4

Definition at line 148 of file saa7134.h.

#define SAA7134_BOARD_ENCORE_ENLTV   106

Definition at line 250 of file saa7134.h.

#define SAA7134_BOARD_ENCORE_ENLTV_FM   107

Definition at line 251 of file saa7134.h.

#define SAA7134_BOARD_ENCORE_ENLTV_FM3   184

Definition at line 328 of file saa7134.h.

#define SAA7134_BOARD_ENCORE_ENLTV_FM53   148

Definition at line 292 of file saa7134.h.

#define SAA7134_BOARD_FLYDVB_TRIO   84

Definition at line 228 of file saa7134.h.

#define SAA7134_BOARD_FLYDVBS_LR300   97

Definition at line 241 of file saa7134.h.

#define SAA7134_BOARD_FLYDVBT_DUO_CARDBUS   60

Definition at line 204 of file saa7134.h.

#define SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS   94

Definition at line 238 of file saa7134.h.

#define SAA7134_BOARD_FLYDVBT_LR301   86

Definition at line 230 of file saa7134.h.

#define SAA7134_BOARD_FLYDVBTDUO   55

Definition at line 199 of file saa7134.h.

#define SAA7134_BOARD_FLYTV_DIGIMATRIX   64

Definition at line 208 of file saa7134.h.

#define SAA7134_BOARD_FLYTVPLATINUM_FM   54

Definition at line 198 of file saa7134.h.

#define SAA7134_BOARD_FLYTVPLATINUM_MINI   39

Definition at line 183 of file saa7134.h.

#define SAA7134_BOARD_FLYTVPLATINUM_MINI2   74

Definition at line 218 of file saa7134.h.

#define SAA7134_BOARD_FLYVIDEO2000   3

Definition at line 147 of file saa7134.h.

#define SAA7134_BOARD_FLYVIDEO3000   2

Definition at line 146 of file saa7134.h.

#define SAA7134_BOARD_FLYVIDEO3000_NTSC   95

Definition at line 239 of file saa7134.h.

#define SAA7134_BOARD_GENIUS_TVGO_A11MCE   132

Definition at line 276 of file saa7134.h.

#define SAA7134_BOARD_GOTVIEW_7135   68

Definition at line 212 of file saa7134.h.

#define SAA7134_BOARD_HAUPPAUGE_HVR1110   104

Definition at line 248 of file saa7134.h.

#define SAA7134_BOARD_HAUPPAUGE_HVR1120   156

Definition at line 300 of file saa7134.h.

#define SAA7134_BOARD_HAUPPAUGE_HVR1150   155

Definition at line 299 of file saa7134.h.

#define SAA7134_BOARD_HAWELL_HW_404M7   177

Definition at line 321 of file saa7134.h.

#define SAA7134_BOARD_ITEMS_MTV005   37

Definition at line 181 of file saa7134.h.

#define SAA7134_BOARD_KWORLD   10

Definition at line 154 of file saa7134.h.

#define SAA7134_BOARD_KWORLD_ATSC110   90

Definition at line 234 of file saa7134.h.

#define SAA7134_BOARD_KWORLD_DVBT_210   114

Definition at line 258 of file saa7134.h.

#define SAA7134_BOARD_KWORLD_PC150U   189

Definition at line 333 of file saa7134.h.

#define SAA7134_BOARD_KWORLD_PCI_SBTVD_FULLSEG   182

Definition at line 326 of file saa7134.h.

#define SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG   153

Definition at line 297 of file saa7134.h.

#define SAA7134_BOARD_KWORLD_TERMINATOR   65

Definition at line 209 of file saa7134.h.

#define SAA7134_BOARD_KWORLD_VSTREAM_XPERT   59

Definition at line 203 of file saa7134.h.

#define SAA7134_BOARD_KWORLD_XPERT   63

Definition at line 207 of file saa7134.h.

#define SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S   175

Definition at line 319 of file saa7134.h.

#define SAA7134_BOARD_MAGICPRO_PROHDTV_PRO2   185

Definition at line 329 of file saa7134.h.

#define SAA7134_BOARD_MANLI_MTV001   28

Definition at line 172 of file saa7134.h.

#define SAA7134_BOARD_MANLI_MTV002   27

Definition at line 171 of file saa7134.h.

#define SAA7134_BOARD_MD2819   22

Definition at line 166 of file saa7134.h.

#define SAA7134_BOARD_MD5044   9

Definition at line 153 of file saa7134.h.

#define SAA7134_BOARD_MD7134   12

Definition at line 156 of file saa7134.h.

#define SAA7134_BOARD_MD7134_BRIDGE_2   93

Definition at line 237 of file saa7134.h.

#define SAA7134_BOARD_MD9717   6

Definition at line 150 of file saa7134.h.

#define SAA7134_BOARD_MEDION_MD8800_QUADRO   96

Definition at line 240 of file saa7134.h.

#define SAA7134_BOARD_MONSTERTV   5

Definition at line 149 of file saa7134.h.

#define SAA7134_BOARD_MONSTERTV_MOBILE   76

Definition at line 220 of file saa7134.h.

#define SAA7134_BOARD_MSI_TVANYWHERE_AD11   135

Definition at line 279 of file saa7134.h.

#define SAA7134_BOARD_MSI_TVATANYWHERE_PLUS   82

Definition at line 226 of file saa7134.h.

#define SAA7134_BOARD_NOAUTO   UNSET

Definition at line 143 of file saa7134.h.

#define SAA7134_BOARD_NOVAC_PRIMETV7133   34

Definition at line 178 of file saa7134.h.

#define SAA7134_BOARD_PHILIPS_EUROPA   69

Definition at line 213 of file saa7134.h.

#define SAA7134_BOARD_PHILIPS_SNAKE   133

Definition at line 277 of file saa7134.h.

#define SAA7134_BOARD_PHILIPS_TIGER   81

Definition at line 225 of file saa7134.h.

#define SAA7134_BOARD_PHILIPS_TIGER_S   109

Definition at line 253 of file saa7134.h.

#define SAA7134_BOARD_PHILIPS_TOUGH   61

Definition at line 205 of file saa7134.h.

#define SAA7134_BOARD_PINNACLE_300I_DVBT_PAL   50

Definition at line 194 of file saa7134.h.

#define SAA7134_BOARD_PINNACLE_PCTV_110i   77

Definition at line 221 of file saa7134.h.

#define SAA7134_BOARD_PINNACLE_PCTV_310i   101

Definition at line 245 of file saa7134.h.

#define SAA7134_BOARD_PINNACLE_PCTV_STEREO   26

Definition at line 170 of file saa7134.h.

#define SAA7134_BOARD_PROTEUS_2309   98

Definition at line 242 of file saa7134.h.

#define SAA7134_BOARD_PROTEUS_PRO   1

Definition at line 145 of file saa7134.h.

#define SAA7134_BOARD_PROVIDEO_PV952   51

Definition at line 195 of file saa7134.h.

#define SAA7134_BOARD_REAL_ANGEL_220   150

Definition at line 294 of file saa7134.h.

#define SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM   172

Definition at line 316 of file saa7134.h.

#define SAA7134_BOARD_RTD_VFG7330   73

Definition at line 217 of file saa7134.h.

#define SAA7134_BOARD_RTD_VFG7350   72

Definition at line 216 of file saa7134.h.

#define SAA7134_BOARD_SABRENT_SBTTVFM   42

Definition at line 186 of file saa7134.h.

#define SAA7134_BOARD_SABRENT_TV_PCB05   115

Definition at line 259 of file saa7134.h.

#define SAA7134_BOARD_SEDNA_PC_TV_CARDBUS   79

Definition at line 223 of file saa7134.h.

#define SAA7134_BOARD_SENSORAY811_911   188

Definition at line 332 of file saa7134.h.

#define SAA7134_BOARD_TECHNOTREND_BUDGET_T3000   181

Definition at line 325 of file saa7134.h.

#define SAA7134_BOARD_TEVION_DVBT_220RF   88

Definition at line 232 of file saa7134.h.

#define SAA7134_BOARD_TG3000TV   29

Definition at line 173 of file saa7134.h.

#define SAA7134_BOARD_TVSTATION_DVR   24

Definition at line 168 of file saa7134.h.

#define SAA7134_BOARD_TVSTATION_RDS   7

Definition at line 151 of file saa7134.h.

#define SAA7134_BOARD_TWINHAN_DTV_DVB_3056   131

Definition at line 275 of file saa7134.h.

#define SAA7134_BOARD_TYPHOON_90031   13

Definition at line 157 of file saa7134.h.

#define SAA7134_BOARD_UNKNOWN   0

Definition at line 144 of file saa7134.h.

#define SAA7134_BOARD_UPMOST_PURPLE_TV   36

Definition at line 180 of file saa7134.h.

#define SAA7134_BOARD_VA1000POWER   17

Definition at line 161 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_DVBT_200   71

Definition at line 215 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_DVBT_200A   103

Definition at line 247 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_DVBT_300   70

Definition at line 214 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_GOLD_PLUS   49

Definition at line 193 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_M1F   183

Definition at line 327 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_S350   169

Definition at line 313 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_T750   139

Definition at line 283 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_TV   19

Definition at line 163 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS   41

Definition at line 185 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII   62

Definition at line 206 of file saa7134.h.

#define SAA7134_BOARD_VIDEOMATE_TV_PVR   40

Definition at line 184 of file saa7134.h.

#define SAA7134_BOARD_YUAN_TUN900   66

Definition at line 210 of file saa7134.h.

#define SAA7134_BOARD_ZOLID_HYBRID_PCI   173

Definition at line 317 of file saa7134.h.

#define SAA7134_BOARD_ZOLID_XPERT_TV7134   43

Definition at line 187 of file saa7134.h.

#define saa7134_input_fini (   dev)    ((void)0)

Definition at line 850 of file saa7134.h.

#define saa7134_input_init1 (   dev)    ((void)0)

Definition at line 849 of file saa7134.h.

#define saa7134_input_irq (   dev)    ((void)0)

Definition at line 851 of file saa7134.h.

#define SAA7134_INPUT_MAX   8

Definition at line 337 of file saa7134.h.

#define saa7134_ir_start (   dev)    ((void)0)

Definition at line 853 of file saa7134.h.

#define saa7134_ir_stop (   dev)    ((void)0)

Definition at line 854 of file saa7134.h.

#define SAA7134_MAXBOARDS   32

Definition at line 336 of file saa7134.h.

#define SAA7134_NORMS
Value:
(\
V4L2_STD_PAL | V4L2_STD_PAL_N | \
V4L2_STD_PAL_Nc | V4L2_STD_SECAM | \
V4L2_STD_NTSC | V4L2_STD_PAL_M | \
V4L2_STD_PAL_60)

Definition at line 675 of file saa7134.h.

#define SAA7134_PGTABLE_SIZE   4096

Definition at line 711 of file saa7134.h.

#define saa7134_probe_i2c_ir (   dev)    ((void)0)

Definition at line 852 of file saa7134.h.

#define SAA7134_REMOTE_GPIO   1

Definition at line 342 of file saa7134.h.

#define SAA7134_REMOTE_I2C   2

Definition at line 343 of file saa7134.h.

#define SAA7134_VERSION   "0, 2, 17"

Definition at line 22 of file saa7134.h.

#define saa_andorb (   reg,
  mask,
  value 
)
Value:
writeb((readb(dev->bmmio+(reg)) & ~(mask)) |\
((value) & (mask)), dev->bmmio+(reg))

Definition at line 667 of file saa7134.h.

#define saa_andorl (   reg,
  mask,
  value 
)
Value:
writel((readl(dev->lmmio+(reg)) & ~(mask)) |\
((value) & (mask)), dev->lmmio+(reg))

Definition at line 659 of file saa7134.h.

#define saa_call_all (   dev,
  o,
  f,
  args... 
)
Value:
do { \
if (dev->gate_ctrl) \
dev->gate_ctrl(dev, 1); \
v4l2_device_call_all(&(dev)->v4l2_dev, 0, o, f , ##args); \
if (dev->gate_ctrl) \
dev->gate_ctrl(dev, 0); \
} while (0)

Definition at line 682 of file saa7134.h.

#define saa_call_empress (   dev,
  o,
  f,
  args... 
)
Value:
({ \
long _rc; \
if (dev->gate_ctrl) \
dev->gate_ctrl(dev, 1); \
_rc = v4l2_device_call_until_err(&(dev)->v4l2_dev, \
GRP_EMPRESS, o, f , ##args); \
if (dev->gate_ctrl) \
dev->gate_ctrl(dev, 0); \
_rc; \
})

Definition at line 690 of file saa7134.h.

#define saa_clearb (   reg,
  bit 
)    saa_andorb((reg),(bit),0)

Definition at line 671 of file saa7134.h.

#define saa_clearl (   reg,
  bit 
)    saa_andorl((reg),(bit),0)

Definition at line 663 of file saa7134.h.

#define saa_readb (   reg)    readb(dev->bmmio + (reg))

Definition at line 665 of file saa7134.h.

#define saa_readl (   reg)    readl(dev->lmmio + (reg))

Definition at line 657 of file saa7134.h.

#define saa_setb (   reg,
  bit 
)    saa_andorb((reg),(bit),(bit))

Definition at line 670 of file saa7134.h.

#define saa_setl (   reg,
  bit 
)    saa_andorl((reg),(bit),(bit))

Definition at line 662 of file saa7134.h.

#define saa_wait (   us)    { udelay(us); }

Definition at line 673 of file saa7134.h.

#define saa_writeb (   reg,
  value 
)    writeb((value), dev->bmmio + (reg));

Definition at line 666 of file saa7134.h.

#define saa_writel (   reg,
  value 
)    writel((value), dev->lmmio + (reg));

Definition at line 658 of file saa7134.h.

#define SET_CLOCK_INVERTED   (1 << 2)

Definition at line 350 of file saa7134.h.

#define SET_CLOCK_NOT_DELAYED   (1 << 1)

Definition at line 349 of file saa7134.h.

#define SET_T_CODE_POLARITY_NON_INVERTED   (1 << 0)

Definition at line 348 of file saa7134.h.

#define SET_VSYNC_OFF   (1 << 3)

Definition at line 351 of file saa7134.h.

#define TS_BUFFER_TIMEOUT   msecs_to_jiffies(1000) /* 1 second */

Definition at line 420 of file saa7134.h.

#define TS_PACKET_SIZE   188 /* TS packets 188 bytes */

Definition at line 780 of file saa7134.h.

#define UNSET   (-1U)

Definition at line 48 of file saa7134.h.

Enumeration Type Documentation

Enumerator:
TV 
LINE1 
LINE2 
LINE2_LEFT 

Definition at line 62 of file saa7134.h.

Enumerator:
SAA7134_MPEG_TS_PARALLEL 
SAA7134_MPEG_TS_SERIAL 

Definition at line 367 of file saa7134.h.

Enumerator:
SAA7134_MPEG_UNUSED 
SAA7134_MPEG_EMPRESS 
SAA7134_MPEG_DVB 

Definition at line 361 of file saa7134.h.

Enumerator:
TVAUDIO_FM_MONO 
TVAUDIO_FM_BG_STEREO 
TVAUDIO_FM_SAT_STEREO 
TVAUDIO_FM_K_STEREO 
TVAUDIO_NICAM_AM 
TVAUDIO_NICAM_FM 

Definition at line 53 of file saa7134.h.

Enumerator:
CCIR656 

Definition at line 69 of file saa7134.h.

Function Documentation

int saa7134_board_init1 ( struct saa7134_dev dev)

Definition at line 7336 of file saa7134-cards.c.

int saa7134_board_init2 ( struct saa7134_dev dev)

Definition at line 7666 of file saa7134-cards.c.

unsigned long saa7134_buffer_base ( struct saa7134_buf buf)

Definition at line 209 of file saa7134-core.c.

int saa7134_buffer_count ( unsigned int  size,
unsigned int  count 
)

Definition at line 194 of file saa7134-core.c.

void saa7134_buffer_finish ( struct saa7134_dev dev,
struct saa7134_dmaqueue q,
unsigned int  state 
)

Definition at line 302 of file saa7134-core.c.

void saa7134_buffer_next ( struct saa7134_dev dev,
struct saa7134_dmaqueue q 
)

Definition at line 316 of file saa7134-core.c.

int saa7134_buffer_queue ( struct saa7134_dev dev,
struct saa7134_dmaqueue q,
struct saa7134_buf buf 
)

Definition at line 274 of file saa7134-core.c.

int saa7134_buffer_startpage ( struct saa7134_buf buf)

Definition at line 204 of file saa7134-core.c.

void saa7134_buffer_timeout ( unsigned long  data)

Definition at line 349 of file saa7134-core.c.

void saa7134_dma_free ( struct videobuf_queue q,
struct saa7134_buf buf 
)

Definition at line 261 of file saa7134-core.c.

void saa7134_enable_i2s ( struct saa7134_dev dev)

Definition at line 871 of file saa7134-tvaudio.c.

int saa7134_g_ctrl_internal ( struct saa7134_dev dev,
struct saa7134_fh fh,
struct v4l2_control c 
)

Definition at line 1117 of file saa7134-video.c.

int saa7134_i2c_register ( struct saa7134_dev dev)

Definition at line 403 of file saa7134-i2c.c.

int saa7134_i2c_unregister ( struct saa7134_dev dev)

Definition at line 424 of file saa7134-i2c.c.

void saa7134_irq_oss_done ( struct saa7134_dev dev,
unsigned long  status 
)
void saa7134_irq_ts_done ( struct saa7134_dev dev,
unsigned long  status 
)

Definition at line 300 of file saa7134-ts.c.

void saa7134_irq_vbi_done ( struct saa7134_dev dev,
unsigned long  status 
)

Definition at line 228 of file saa7134-vbi.c.

void saa7134_irq_video_done ( struct saa7134_dev dev,
unsigned long  status 
)

Definition at line 2624 of file saa7134-video.c.

void saa7134_irq_video_signalchange ( struct saa7134_dev dev)

Definition at line 2590 of file saa7134-video.c.

int saa7134_oss_fini ( struct saa7134_dev dev)
int saa7134_oss_init1 ( struct saa7134_dev dev)
int saa7134_pgtable_alloc ( struct pci_dev pci,
struct saa7134_pgtable pt 
)

Definition at line 221 of file saa7134-core.c.

int saa7134_pgtable_build ( struct pci_dev pci,
struct saa7134_pgtable pt,
struct scatterlist list,
unsigned int  length,
unsigned int  startpage 
)

Definition at line 235 of file saa7134-core.c.

void saa7134_pgtable_free ( struct pci_dev pci,
struct saa7134_pgtable pt 
)

Definition at line 251 of file saa7134-core.c.

int saa7134_queryctrl ( struct file file,
void priv,
struct v4l2_queryctrl c 
)

Definition at line 1726 of file saa7134-video.c.

int saa7134_s_ctrl_internal ( struct saa7134_dev dev,
struct saa7134_fh fh,
struct v4l2_control c 
)

Definition at line 1172 of file saa7134-video.c.

int saa7134_s_std_internal ( struct saa7134_dev dev,
struct saa7134_fh fh,
v4l2_std_id id 
)

Definition at line 1831 of file saa7134-video.c.

int saa7134_set_dmabits ( struct saa7134_dev dev)

Definition at line 374 of file saa7134-core.c.

void saa7134_set_gpio ( struct saa7134_dev dev,
int  bit_no,
int  value 
)

Definition at line 120 of file saa7134-core.c.

void saa7134_set_tvnorm_hw ( struct saa7134_dev dev)

Definition at line 623 of file saa7134-video.c.

void saa7134_track_gpio ( struct saa7134_dev dev,
char msg 
)

Definition at line 104 of file saa7134-core.c.

int saa7134_ts_fini ( struct saa7134_dev dev)

Definition at line 294 of file saa7134-ts.c.

int saa7134_ts_init1 ( struct saa7134_dev dev)

Definition at line 195 of file saa7134-ts.c.

int saa7134_ts_init_hw ( struct saa7134_dev dev)

Definition at line 179 of file saa7134-ts.c.

int saa7134_ts_register ( struct saa7134_mpeg_ops ops)

Definition at line 1294 of file saa7134-core.c.

int saa7134_ts_start ( struct saa7134_dev dev)

Definition at line 246 of file saa7134-ts.c.

int saa7134_ts_stop ( struct saa7134_dev dev)

Definition at line 225 of file saa7134-ts.c.

void saa7134_ts_unregister ( struct saa7134_mpeg_ops ops)

Definition at line 1306 of file saa7134-core.c.

int saa7134_tuner_callback ( void priv,
int  component,
int  command,
int  arg 
)

Definition at line 7280 of file saa7134-cards.c.

int saa7134_tvaudio_close ( struct saa7134_dev dev)

Definition at line 1043 of file saa7134-tvaudio.c.

int saa7134_tvaudio_do_scan ( struct saa7134_dev dev)

Definition at line 1060 of file saa7134-tvaudio.c.

int saa7134_tvaudio_fini ( struct saa7134_dev dev)

Definition at line 1050 of file saa7134-tvaudio.c.

int saa7134_tvaudio_getstereo ( struct saa7134_dev dev)

Definition at line 963 of file saa7134-tvaudio.c.

void saa7134_tvaudio_init ( struct saa7134_dev dev)

Definition at line 980 of file saa7134-tvaudio.c.

int saa7134_tvaudio_init2 ( struct saa7134_dev dev)

Definition at line 1012 of file saa7134-tvaudio.c.

int saa7134_tvaudio_rx2mode ( u32  rx)

Definition at line 907 of file saa7134-tvaudio.c.

void saa7134_tvaudio_setinput ( struct saa7134_dev dev,
struct saa7134_input in 
)

Definition at line 935 of file saa7134-tvaudio.c.

void saa7134_tvaudio_setmute ( struct saa7134_dev dev)

Definition at line 921 of file saa7134-tvaudio.c.

void saa7134_tvaudio_setvolume ( struct saa7134_dev dev,
int  level 
)

Definition at line 952 of file saa7134-tvaudio.c.

int saa7134_vbi_fini ( struct saa7134_dev dev)

Definition at line 222 of file saa7134-vbi.c.

int saa7134_vbi_init1 ( struct saa7134_dev dev)

Definition at line 207 of file saa7134-vbi.c.

int saa7134_video_init1 ( struct saa7134_dev dev)

Definition at line 2509 of file saa7134-video.c.

int saa7134_video_init2 ( struct saa7134_dev dev)

Definition at line 2580 of file saa7134-video.c.

int saa7134_videoport_init ( struct saa7134_dev dev)

Definition at line 2544 of file saa7134-video.c.

int saa_dsp_writel ( struct saa7134_dev dev,
int  reg,
u32  value 
)

Definition at line 698 of file saa7134-tvaudio.c.

Variable Documentation

const unsigned int saa7134_bcount

Definition at line 5779 of file saa7134-cards.c.

struct saa7134_board saa7134_boards[]

Definition at line 56 of file saa7134-cards.c.

struct list_head saa7134_devlist
struct mutex saa7134_devlist_lock
int(* saa7134_dmasound_exit)(struct saa7134_dev *dev)

Definition at line 99 of file saa7134-core.c.

int(* saa7134_dmasound_init)(struct saa7134_dev *dev)

Definition at line 98 of file saa7134-core.c.

struct file_operations saa7134_dsp_fops
struct file_operations saa7134_mixer_fops
int saa7134_no_overlay

Definition at line 67 of file saa7134-core.c.

struct pci_device_id __devinitdata saa7134_pci_tbl[]

Definition at line 5784 of file saa7134-cards.c.

struct video_device saa7134_radio_template

Definition at line 2503 of file saa7134-video.c.

struct videobuf_queue_ops saa7134_ts_qops

Definition at line 160 of file saa7134-ts.c.

struct videobuf_queue_ops saa7134_vbi_qops

Definition at line 198 of file saa7134-vbi.c.

struct video_device saa7134_vbi_template
struct video_device saa7134_video_template

Definition at line 2495 of file saa7134-video.c.

unsigned int video_debug

Definition at line 37 of file saa7134-video.c.