Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wis-i2c.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2006 Micronas USA Inc.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License (Version 2) as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software Foundation,
15  * Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
16  */
17 
18 /* Temporary I2C IDs -- these need to be replaced with real registered IDs */
19 #define I2C_DRIVERID_WIS_SAA7115 0xf0f0
20 #define I2C_DRIVERID_WIS_UDA1342 0xf0f1
21 #define I2C_DRIVERID_WIS_SONY_TUNER 0xf0f2
22 #define I2C_DRIVERID_WIS_TW9903 0xf0f3
23 #define I2C_DRIVERID_WIS_SAA7113 0xf0f4
24 #define I2C_DRIVERID_WIS_OV7640 0xf0f5
25 #define I2C_DRIVERID_WIS_TW2804 0xf0f6
26 #define I2C_DRIVERID_S2250 0xf0f7
27 
28 /* Definitions for new video decoder commands */
29 
31  unsigned int width;
32  unsigned int height;
33 };
34 
35 #define DECODER_SET_RESOLUTION _IOW('d', 200, struct video_decoder_resolution)
36 #define DECODER_SET_CHANNEL _IOW('d', 201, int)
37 
38 /* Sony tuner types */
39 
40 #define TUNER_SONY_BTF_PG472Z 200
41 #define TUNER_SONY_BTF_PK467Z 201
42 #define TUNER_SONY_BTF_PB463Z 202