Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wis-sony-tuner.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <linux/slab.h>
#include <media/tuner.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include "wis-i2c.h"

Go to the source code of this file.

Data Structures

struct  sony_tunertype
 
struct  wis_sony_tuner
 

Macros

#define IF_I2C_ADDR   0x43
 
#define MPX_I2C_ADDR   0x44
 
#define MPX_NUM_MODES   ARRAY_SIZE(mpx_audio_modes)
 

Functions

 module_param_string (force_band, force_band_str, sizeof(force_band_str), 0644)
 
 module_param (force_mpx_mode, int, 0644)
 
 MODULE_DEVICE_TABLE (i2c, wis_sony_tuner_id)
 
 module_init (wis_sony_tuner_init)
 
 module_exit (wis_sony_tuner_cleanup)
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define IF_I2C_ADDR   0x43

Definition at line 34 of file wis-sony-tuner.c.

#define MPX_I2C_ADDR   0x44

Definition at line 35 of file wis-sony-tuner.c.

#define MPX_NUM_MODES   ARRAY_SIZE(mpx_audio_modes)

Definition at line 219 of file wis-sony-tuner.c.

Function Documentation

MODULE_DEVICE_TABLE ( i2c  ,
wis_sony_tuner_id   
)
module_exit ( wis_sony_tuner_cleanup  )
module_init ( wis_sony_tuner_init  )
MODULE_LICENSE ( "GPL v2 )
module_param ( force_mpx_mode  ,
int  ,
0644   
)
module_param_string ( force_band  ,
force_band_str  ,
sizeof(force_band_str)  ,
0644   
)

Variable Documentation

u16 acb

Definition at line 184 of file wis-sony-tuner.c.

enum { ... } audio_mode
u16 fm_prescale

Definition at line 185 of file wis-sony-tuner.c.

u16 modus

Definition at line 182 of file wis-sony-tuner.c.

u16 nicam_prescale

Definition at line 186 of file wis-sony-tuner.c.

u16 scart_prescale

Definition at line 187 of file wis-sony-tuner.c.

u16 source

Definition at line 183 of file wis-sony-tuner.c.

u16 system

Definition at line 188 of file wis-sony-tuner.c.

u16 volume

Definition at line 189 of file wis-sony-tuner.c.