blob: 729257b50ebffb779635532ce947e2545afb6789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
#ifndef __AML_DEMOD_GT_H__
#define __AML_DEMOD_GT_H__
#include "dvb_frontend.h"
struct amlfe_exp_config {
/*config by aml_fe ?*/
/* */
int set_mode;
};
struct amlfe_demod_config {
int dev_id;
u32 ts;
struct i2c_adapter *i2c_adap;
int i2c_addr;
int reset_gpio;
int reset_value;
};
/* For configure different tuners */
/* It can add fields as extensions */
struct tuner_config {
u8 id;
u8 i2c_addr;
u8 xtal; /* 0: 16MHz, 1: 24MHz, 3: 27MHz */
u8 xtal_cap;
u8 xtal_mode;
};
static inline struct dvb_frontend* aml_dtvdm_attach (const struct amlfe_exp_config *config) {
return NULL;
}
static inline struct dvb_frontend* si2151_attach (struct dvb_frontend *fe,struct i2c_adapter *i2c, struct tuner_config *cfg)
{
return NULL;
}
static inline struct dvb_frontend* mxl661_attach (struct dvb_frontend *fe,struct i2c_adapter *i2c, struct tuner_config *cfg)
{
return NULL;
}
static inline struct dvb_frontend* si2159_attach (struct dvb_frontend *fe,struct i2c_adapter *i2c, struct tuner_config *cfg)
{
return NULL;
}
static inline struct dvb_frontend* r842_attach (struct dvb_frontend *fe, struct i2c_adapter *i2c, struct tuner_config *cfg)
{
return NULL;
}
static inline struct dvb_frontend* r840_attach (struct dvb_frontend *fe, struct i2c_adapter *i2c, struct tuner_config *cfg)
{
return NULL;
}
static inline struct dvb_frontend* atbm8881_attach (const struct amlfe_demod_config *config)
{
return NULL;
}
#endif /*__AML_DEMOD_GT_H__*/
|