~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to drivers/staging/go7007/wis-i2c.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-08-05 23:00:52 UTC
  • Revision ID: james.westby@ubuntu.com-20090805230052-7xedvqcyk9dnnxb2
Tags: 2.6.31-1.1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#define I2C_DRIVERID_WIS_OV7640         0xf0f5
25
25
#define I2C_DRIVERID_WIS_TW2804         0xf0f6
26
26
#define I2C_DRIVERID_S2250              0xf0f7
27
 
#define I2C_ALGO_GO7007                 0xf00000
28
 
#define I2C_ALGO_GO7007_USB             0xf10000
29
27
 
30
28
/* Flag to indicate that the client needs to be accessed with SCCB semantics */
31
29
/* We re-use the I2C_M_TEN value so the flag passes through the masks in the
32
30
 * core I2C code.  Major kludge, but the I2C layer ain't exactly flexible. */
33
31
#define I2C_CLIENT_SCCB                 0x10
34
32
 
35
 
typedef int (*found_proc) (struct i2c_adapter *, int, int);
36
 
int wis_i2c_add_driver(unsigned int id, found_proc found_proc);
37
 
void wis_i2c_del_driver(found_proc found_proc);
38
 
 
39
 
int wis_i2c_probe_device(struct i2c_adapter *adapter,
40
 
                                unsigned int id, int addr);
41
 
 
42
33
/* Definitions for new video decoder commands */
43
34
 
44
35
struct video_decoder_resolution {