Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cxd2820r_priv.h File Reference
#include <linux/dvb/version.h>
#include "dvb_frontend.h"
#include "dvb_math.h"
#include "cxd2820r.h"
#include <linux/gpio.h>

Go to the source code of this file.

Data Structures

struct  reg_val_mask
 
struct  cxd2820r_priv
 

Macros

#define GPIO_COUNT   3
 

Functions

int cxd2820r_gpio (struct dvb_frontend *fe, u8 *gpio)
 
int cxd2820r_wr_reg_mask (struct cxd2820r_priv *priv, u32 reg, u8 val, u8 mask)
 
int cxd2820r_wr_regs (struct cxd2820r_priv *priv, u32 reginfo, u8 *val, int len)
 
u32 cxd2820r_div_u64_round_closest (u64 dividend, u32 divisor)
 
int cxd2820r_rd_regs (struct cxd2820r_priv *priv, u32 reginfo, u8 *val, int len)
 
int cxd2820r_wr_reg (struct cxd2820r_priv *priv, u32 reg, u8 val)
 
int cxd2820r_rd_reg (struct cxd2820r_priv *priv, u32 reg, u8 *val)
 
int cxd2820r_get_frontend_c (struct dvb_frontend *fe)
 
int cxd2820r_set_frontend_c (struct dvb_frontend *fe)
 
int cxd2820r_read_status_c (struct dvb_frontend *fe, fe_status_t *status)
 
int cxd2820r_read_ber_c (struct dvb_frontend *fe, u32 *ber)
 
int cxd2820r_read_signal_strength_c (struct dvb_frontend *fe, u16 *strength)
 
int cxd2820r_read_snr_c (struct dvb_frontend *fe, u16 *snr)
 
int cxd2820r_read_ucblocks_c (struct dvb_frontend *fe, u32 *ucblocks)
 
int cxd2820r_init_c (struct dvb_frontend *fe)
 
int cxd2820r_sleep_c (struct dvb_frontend *fe)
 
int cxd2820r_get_tune_settings_c (struct dvb_frontend *fe, struct dvb_frontend_tune_settings *s)
 
int cxd2820r_get_frontend_t (struct dvb_frontend *fe)
 
int cxd2820r_set_frontend_t (struct dvb_frontend *fe)
 
int cxd2820r_read_status_t (struct dvb_frontend *fe, fe_status_t *status)
 
int cxd2820r_read_ber_t (struct dvb_frontend *fe, u32 *ber)
 
int cxd2820r_read_signal_strength_t (struct dvb_frontend *fe, u16 *strength)
 
int cxd2820r_read_snr_t (struct dvb_frontend *fe, u16 *snr)
 
int cxd2820r_read_ucblocks_t (struct dvb_frontend *fe, u32 *ucblocks)
 
int cxd2820r_init_t (struct dvb_frontend *fe)
 
int cxd2820r_sleep_t (struct dvb_frontend *fe)
 
int cxd2820r_get_tune_settings_t (struct dvb_frontend *fe, struct dvb_frontend_tune_settings *s)
 
int cxd2820r_get_frontend_t2 (struct dvb_frontend *fe)
 
int cxd2820r_set_frontend_t2 (struct dvb_frontend *fe)
 
int cxd2820r_read_status_t2 (struct dvb_frontend *fe, fe_status_t *status)
 
int cxd2820r_read_ber_t2 (struct dvb_frontend *fe, u32 *ber)
 
int cxd2820r_read_signal_strength_t2 (struct dvb_frontend *fe, u16 *strength)
 
int cxd2820r_read_snr_t2 (struct dvb_frontend *fe, u16 *snr)
 
int cxd2820r_read_ucblocks_t2 (struct dvb_frontend *fe, u32 *ucblocks)
 
int cxd2820r_init_t2 (struct dvb_frontend *fe)
 
int cxd2820r_sleep_t2 (struct dvb_frontend *fe)
 
int cxd2820r_get_tune_settings_t2 (struct dvb_frontend *fe, struct dvb_frontend_tune_settings *s)
 

Variables

int cxd2820r_debug
 

Macro Definition Documentation

#define GPIO_COUNT   3

Definition at line 45 of file cxd2820r_priv.h.

Function Documentation

u32 cxd2820r_div_u64_round_closest ( u64  dividend,
u32  divisor 
)

Definition at line 231 of file cxd2820r_core.c.

int cxd2820r_get_frontend_c ( struct dvb_frontend fe)

Definition at line 103 of file cxd2820r_c.c.

int cxd2820r_get_frontend_t ( struct dvb_frontend fe)

Definition at line 140 of file cxd2820r_t.c.

int cxd2820r_get_frontend_t2 ( struct dvb_frontend fe)

Definition at line 154 of file cxd2820r_t2.c.

int cxd2820r_get_tune_settings_c ( struct dvb_frontend fe,
struct dvb_frontend_tune_settings s 
)

Definition at line 335 of file cxd2820r_c.c.

int cxd2820r_get_tune_settings_t ( struct dvb_frontend fe,
struct dvb_frontend_tune_settings s 
)

Definition at line 441 of file cxd2820r_t.c.

int cxd2820r_get_tune_settings_t2 ( struct dvb_frontend fe,
struct dvb_frontend_tune_settings s 
)

Definition at line 415 of file cxd2820r_t2.c.

int cxd2820r_gpio ( struct dvb_frontend fe,
u8 gpio 
)

Definition at line 171 of file cxd2820r_core.c.

int cxd2820r_init_c ( struct dvb_frontend fe)

Definition at line 291 of file cxd2820r_c.c.

int cxd2820r_init_t ( struct dvb_frontend fe)

Definition at line 397 of file cxd2820r_t.c.

int cxd2820r_init_t2 ( struct dvb_frontend fe)
int cxd2820r_rd_reg ( struct cxd2820r_priv priv,
u32  reg,
u8 val 
)

Definition at line 145 of file cxd2820r_core.c.

int cxd2820r_rd_regs ( struct cxd2820r_priv priv,
u32  reginfo,
u8 val,
int  len 
)

Definition at line 113 of file cxd2820r_core.c.

int cxd2820r_read_ber_c ( struct dvb_frontend fe,
u32 ber 
)

Definition at line 153 of file cxd2820r_c.c.

int cxd2820r_read_ber_t ( struct dvb_frontend fe,
u32 ber 
)

Definition at line 257 of file cxd2820r_t.c.

int cxd2820r_read_ber_t2 ( struct dvb_frontend fe,
u32 ber 
)

Definition at line 298 of file cxd2820r_t2.c.

int cxd2820r_read_signal_strength_c ( struct dvb_frontend fe,
u16 strength 
)

Definition at line 187 of file cxd2820r_c.c.

int cxd2820r_read_signal_strength_t ( struct dvb_frontend fe,
u16 strength 
)

Definition at line 291 of file cxd2820r_t.c.

int cxd2820r_read_signal_strength_t2 ( struct dvb_frontend fe,
u16 strength 
)

Definition at line 325 of file cxd2820r_t2.c.

int cxd2820r_read_snr_c ( struct dvb_frontend fe,
u16 snr 
)

Definition at line 217 of file cxd2820r_c.c.

int cxd2820r_read_snr_t ( struct dvb_frontend fe,
u16 snr 
)

Definition at line 315 of file cxd2820r_t.c.

int cxd2820r_read_snr_t2 ( struct dvb_frontend fe,
u16 snr 
)

Definition at line 349 of file cxd2820r_t2.c.

int cxd2820r_read_status_c ( struct dvb_frontend fe,
fe_status_t status 
)

Definition at line 261 of file cxd2820r_c.c.

int cxd2820r_read_status_t ( struct dvb_frontend fe,
fe_status_t status 
)

Definition at line 351 of file cxd2820r_t.c.

int cxd2820r_read_status_t2 ( struct dvb_frontend fe,
fe_status_t status 
)

Definition at line 269 of file cxd2820r_t2.c.

int cxd2820r_read_ucblocks_c ( struct dvb_frontend fe,
u32 ucblocks 
)

Definition at line 254 of file cxd2820r_c.c.

int cxd2820r_read_ucblocks_t ( struct dvb_frontend fe,
u32 ucblocks 
)

Definition at line 344 of file cxd2820r_t.c.

int cxd2820r_read_ucblocks_t2 ( struct dvb_frontend fe,
u32 ucblocks 
)

Definition at line 378 of file cxd2820r_t2.c.

int cxd2820r_set_frontend_c ( struct dvb_frontend fe)

Definition at line 24 of file cxd2820r_c.c.

int cxd2820r_set_frontend_t ( struct dvb_frontend fe)

Definition at line 24 of file cxd2820r_t.c.

int cxd2820r_set_frontend_t2 ( struct dvb_frontend fe)

Definition at line 24 of file cxd2820r_t2.c.

int cxd2820r_sleep_c ( struct dvb_frontend fe)

Definition at line 306 of file cxd2820r_c.c.

int cxd2820r_sleep_t ( struct dvb_frontend fe)

Definition at line 412 of file cxd2820r_t.c.

int cxd2820r_sleep_t2 ( struct dvb_frontend fe)

Definition at line 385 of file cxd2820r_t2.c.

int cxd2820r_wr_reg ( struct cxd2820r_priv priv,
u32  reg,
u8  val 
)

Definition at line 139 of file cxd2820r_core.c.

int cxd2820r_wr_reg_mask ( struct cxd2820r_priv priv,
u32  reg,
u8  val,
u8  mask 
)

Definition at line 151 of file cxd2820r_core.c.

int cxd2820r_wr_regs ( struct cxd2820r_priv priv,
u32  reginfo,
u8 val,
int  len 
)

Definition at line 87 of file cxd2820r_core.c.

Variable Documentation

int cxd2820r_debug