sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / drivers / media / tuners / it913x.h
blob33de53d4a566e1dd63b0de7e6883b7ebb16d7fe7
1 /*
2 * ITE Tech IT9137 silicon tuner driver
4 * Copyright (C) 2011 Malcolm Priestley (tvboxspy@gmail.com)
5 * IT9137 Copyright (C) ITE Tech Inc.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.=
23 #ifndef IT913X_H
24 #define IT913X_H
26 #include "dvb_frontend.h"
29 * I2C address
30 * 0x38, 0x3a, 0x3c, 0x3e
32 struct it913x_config {
34 * pointer to DVB frontend
36 struct dvb_frontend *fe;
39 * chip version
40 * 1 = IT9135 AX
41 * 2 = IT9135 BX
43 unsigned int chip_ver:2;
46 * tuner role
48 #define IT913X_ROLE_SINGLE 0
49 #define IT913X_ROLE_DUAL_MASTER 1
50 #define IT913X_ROLE_DUAL_SLAVE 2
51 unsigned int role:2;
54 #endif