Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
media
dvb-frontends
ix2505v.h
Go to the documentation of this file.
1
20
#ifndef DVB_IX2505V_H
21
#define DVB_IX2505V_H
22
23
#include <linux/i2c.h>
24
#include "
dvb_frontend.h
"
25
34
struct
ix2505v_config
{
35
u8
tuner_address
;
36
37
/*Baseband AMP gain control 0/1=0dB(default) 2=-2bB 3=-4dB */
38
u8
tuner_gain
;
39
40
/*Charge pump output +/- 0=120 1=260 2=555 3=1200(default) */
41
u8
tuner_chargepump
;
42
43
/* delay after tune */
44
int
min_delay_ms
;
45
46
/* disables reads*/
47
u8
tuner_write_only
;
48
49
};
50
51
#if defined(CONFIG_DVB_IX2505V) || \
52
(defined(CONFIG_DVB_IX2505V_MODULE) && defined(MODULE))
53
extern
struct
dvb_frontend
*
ix2505v_attach
(
struct
dvb_frontend
*fe,
54
const
struct
ix2505v_config
*
config
,
struct
i2c_adapter
*i2c);
55
#else
56
static
inline
struct
dvb_frontend
*
ix2505v_attach
(
struct
dvb_frontend
*fe,
57
const
struct
ix2505v_config
*
config
,
struct
i2c_adapter
*i2c)
58
{
59
printk
(
KERN_WARNING
"%s: driver disabled by Kconfig\n"
, __func__);
60
return
NULL
;
61
}
62
#endif
63
64
#endif
/* DVB_IX2505V_H */
Generated on Thu Jan 10 2013 13:45:42 for Linux Kernel by
1.8.2