Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
mxb.c File Reference
#include <media/saa7146_vv.h>
#include <media/tuner.h>
#include <media/v4l2-common.h>
#include <media/saa7115.h>
#include <linux/module.h>
#include "tea6415c.h"
#include "tea6420.h"

Go to the source code of this file.

Data Structures

struct  mxb_routing
 
struct  mxb
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DEBUG_VARIABLE   debug
 
#define MXB_AUDIOS   6
 
#define I2C_SAA7111A   0x24
 
#define I2C_TDA9840   0x42
 
#define I2C_TEA6415C   0x43
 
#define I2C_TEA6420_1   0x4c
 
#define I2C_TEA6420_2   0x4d
 
#define I2C_TUNER   0x60
 
#define MXB_BOARD_CAN_DO_VBI(dev)   (dev->revision != 0)
 
#define MXB_INPUTS   4
 
#define saa7111a_call(mxb, o, f, args...)   v4l2_subdev_call(mxb->saa7111a, o, f, ##args)
 
#define tda9840_call(mxb, o, f, args...)   v4l2_subdev_call(mxb->tda9840, o, f, ##args)
 
#define tea6415c_call(mxb, o, f, args...)   v4l2_subdev_call(mxb->tea6415c, o, f, ##args)
 
#define tuner_call(mxb, o, f, args...)   v4l2_subdev_call(mxb->tuner, o, f, ##args)
 
#define call_all(dev, o, f, args...)   v4l2_device_call_until_err(&dev->v4l2_dev, 0, o, f, ##args)
 

Enumerations

enum  { TUNER, AUX1, AUX3, AUX3_YC }
 

Functions

 module_param (freq, int, 0644)
 
 MODULE_PARM_DESC (freq,"initial frequency the tuner will be tuned to while setup")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Turn on/off device debugging (default:off).")
 
 MODULE_DEVICE_TABLE (pci, pci_tbl)
 
 module_init (mxb_init_module)
 
 module_exit (mxb_cleanup_module)
 
 MODULE_DESCRIPTION ("video4linux-2 driver for the Siemens-Nixdorf 'Multimedia eXtension board'")
 
 MODULE_AUTHOR ("Michael Hunold <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define call_all (   dev,
  o,
  f,
  args... 
)    v4l2_device_call_until_err(&dev->v4l2_dev, 0, o, f, ##args)

Definition at line 181 of file mxb.c.

#define DEBUG_VARIABLE   debug

Definition at line 26 of file mxb.c.

#define I2C_SAA7111A   0x24

Definition at line 39 of file mxb.c.

#define I2C_TDA9840   0x42

Definition at line 40 of file mxb.c.

#define I2C_TEA6415C   0x43

Definition at line 41 of file mxb.c.

#define I2C_TEA6420_1   0x4c

Definition at line 42 of file mxb.c.

#define I2C_TEA6420_2   0x4d

Definition at line 43 of file mxb.c.

#define I2C_TUNER   0x60

Definition at line 44 of file mxb.c.

#define MXB_AUDIOS   6

Definition at line 37 of file mxb.c.

#define MXB_BOARD_CAN_DO_VBI (   dev)    (dev->revision != 0)

Definition at line 46 of file mxb.c.

#define MXB_INPUTS   4

Definition at line 62 of file mxb.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 24 of file mxb.c.

#define saa7111a_call (   mxb,
  o,
  f,
  args... 
)    v4l2_subdev_call(mxb->saa7111a, o, f, ##args)

Definition at line 173 of file mxb.c.

#define tda9840_call (   mxb,
  o,
  f,
  args... 
)    v4l2_subdev_call(mxb->tda9840, o, f, ##args)

Definition at line 175 of file mxb.c.

#define tea6415c_call (   mxb,
  o,
  f,
  args... 
)    v4l2_subdev_call(mxb->tea6415c, o, f, ##args)

Definition at line 177 of file mxb.c.

#define tuner_call (   mxb,
  o,
  f,
  args... 
)    v4l2_subdev_call(mxb->tuner, o, f, ##args)

Definition at line 179 of file mxb.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
TUNER 
AUX1 
AUX3 
AUX3_YC 

Definition at line 63 of file mxb.c.

Function Documentation

MODULE_AUTHOR ( "Michael Hunold <[email protected]>"  )
MODULE_DESCRIPTION ( "video4linux-2 driver for the Siemens-Nixdorf 'Multimedia eXtension board'"  )
MODULE_DEVICE_TABLE ( pci  ,
pci_tbl   
)
module_exit ( mxb_cleanup_module  )
module_init ( mxb_init_module  )
MODULE_LICENSE ( "GPL"  )
module_param ( freq  ,
int  ,
0644   
)
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( freq  ,
"initial frequency the tuner will be tuned to while setup  
)
MODULE_PARM_DESC ( debug  ,
"Turn on/off device debugging (default:off)."   
)

Variable Documentation

char data[9]

Definition at line 291 of file mxb.c.

int hps_source

Definition at line 79 of file mxb.c.

int hps_sync

Definition at line 80 of file mxb.c.

int length

Definition at line 290 of file mxb.c.