Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
stb0899_drv.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/dvb/frontend.h>
#include "dvb_frontend.h"
#include "stb0899_drv.h"
#include "stb0899_priv.h"
#include "stb0899_reg.h"

Go to the source code of this file.

Functions

 module_param (verbose, int, 0644)
 
int stb0899_read_reg (struct stb0899_state *state, unsigned int reg)
 
u32 _stb0899_read_s2reg (struct stb0899_state *state, u32 stb0899_i2cdev, u32 stb0899_base_addr, u16 stb0899_reg_offset)
 
int stb0899_write_s2reg (struct stb0899_state *state, u32 stb0899_i2cdev, u32 stb0899_base_addr, u16 stb0899_reg_offset, u32 stb0899_data)
 
int stb0899_read_regs (struct stb0899_state *state, unsigned int reg, u8 *buf, u32 count)
 
int stb0899_write_regs (struct stb0899_state *state, unsigned int reg, u8 *data, u32 count)
 
int stb0899_write_reg (struct stb0899_state *state, unsigned int reg, u8 data)
 
int stb0899_i2c_gate_ctrl (struct dvb_frontend *fe, int enable)
 
int stb0899_get_dev_id (struct stb0899_state *state)
 
struct dvb_frontendstb0899_attach (struct stb0899_config *config, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (stb0899_attach)
 
 MODULE_PARM_DESC (verbose,"Set Verbosity level")
 
 MODULE_AUTHOR ("Manu Abraham")
 
 MODULE_DESCRIPTION ("STB0899 Multi-Std frontend")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

u32 _stb0899_read_s2reg ( struct stb0899_state state,
u32  stb0899_i2cdev,
u32  stb0899_base_addr,
u16  stb0899_reg_offset 
)

Definition at line 275 of file stb0899_drv.c.

EXPORT_SYMBOL ( stb0899_attach  )
MODULE_AUTHOR ( "Manu Abraham"  )
MODULE_DESCRIPTION ( "STB0899 Multi-Std frontend"  )
MODULE_LICENSE ( "GPL"  )
module_param ( verbose  ,
int  ,
0644   
)
MODULE_PARM_DESC ( verbose  ,
"Set Verbosity level  
)
struct dvb_frontend* stb0899_attach ( struct stb0899_config config,
struct i2c_adapter i2c 
)
read

Definition at line 1618 of file stb0899_drv.c.

int stb0899_get_dev_id ( struct stb0899_state state)

Definition at line 1263 of file stb0899_drv.c.

int stb0899_i2c_gate_ctrl ( struct dvb_frontend fe,
int  enable 
)

Definition at line 1227 of file stb0899_drv.c.

int stb0899_read_reg ( struct stb0899_state state,
unsigned int  reg 
)

Definition at line 258 of file stb0899_drv.c.

int stb0899_read_regs ( struct stb0899_state state,
unsigned int  reg,
u8 buf,
u32  count 
)

Definition at line 448 of file stb0899_drv.c.

int stb0899_write_reg ( struct stb0899_state state,
unsigned int  reg,
u8  data 
)

Definition at line 542 of file stb0899_drv.c.

int stb0899_write_regs ( struct stb0899_state state,
unsigned int  reg,
u8 data,
u32  count 
)

Definition at line 499 of file stb0899_drv.c.

int stb0899_write_s2reg ( struct stb0899_state state,
u32  stb0899_i2cdev,
u32  stb0899_base_addr,
u16  stb0899_reg_offset,
u32  stb0899_data 
)

Definition at line 375 of file stb0899_drv.c.