Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / media / dvb-frontends / cxd2841er_priv.h
blob6a7126480889ab111083e540cddd755533a62a97
1 /*
2 * cxd2841er_priv.h
4 * Sony CXD2441ER digital demodulator driver internal definitions
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>
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.
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.
22 #ifndef CXD2841ER_PRIV_H
23 #define CXD2841ER_PRIV_H
25 #define I2C_SLVX 0
26 #define I2C_SLVT 1
28 #define CXD2837ER_CHIP_ID 0xb1
29 #define CXD2838ER_CHIP_ID 0xb0
30 #define CXD2841ER_CHIP_ID 0xa7
31 #define CXD2843ER_CHIP_ID 0xa4
32 #define CXD2854ER_CHIP_ID 0xc1
34 #define CXD2841ER_DVBS_POLLING_INVL 10
36 struct cxd2841er_cnr_data {
37 u32 value;
38 int cnr_x1000;
41 enum cxd2841er_dvbt2_profile_t {
42 DVBT2_PROFILE_ANY = 0,
43 DVBT2_PROFILE_BASE = 1,
44 DVBT2_PROFILE_LITE = 2
47 #endif