Commit | Line | Data |
---|---|---|
a6dc60ff KS |
1 | /* |
2 | * cxd2841er_priv.h | |
3 | * | |
4 | * Sony CXD2441ER digital demodulator driver internal definitions | |
5 | * | |
6 | * Copyright 2012 Sony Corporation | |
7 | * Copyright (C) 2014 NetUP Inc. | |
8 | * Copyright (C) 2014 Sergey Kozlov <serjk@netup.ru> | |
9 | * Copyright (C) 2014 Abylay Ospan <aospan@netup.ru> | |
10 | * | |
11 | * This program is free software; you can redistribute it and/or modify | |
12 | * it under the terms of the GNU General Public License as published by | |
13 | * the Free Software Foundation; either version 2 of the License, or | |
14 | * (at your option) any later version. | |
15 | * | |
16 | * This program is distributed in the hope that it will be useful, | |
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | * GNU General Public License for more details. | |
20 | */ | |
21 | ||
22 | #ifndef CXD2841ER_PRIV_H | |
23 | #define CXD2841ER_PRIV_H | |
24 | ||
25 | #define I2C_SLVX 0 | |
26 | #define I2C_SLVT 1 | |
27 | ||
28 | #define CXD2841ER_CHIP_ID 0xa7 | |
29 | ||
30 | #define CXD2841ER_DVBS_POLLING_INVL 10 | |
31 | ||
32 | struct cxd2841er_cnr_data { | |
33 | u32 value; | |
34 | int cnr_x1000; | |
35 | }; | |
36 | ||
37 | enum cxd2841er_dvbt2_profile_t { | |
38 | DVBT2_PROFILE_ANY = 0, | |
39 | DVBT2_PROFILE_BASE = 1, | |
40 | DVBT2_PROFILE_LITE = 2 | |
41 | }; | |
42 | ||
43 | #endif |