Searched defs:i2c_driver (Results 1 – 3 of 3) sorted by relevance
64 struct i2c_driver struct66 char name[32]; /* some useful label */67 int id; /* device type ID */68 unsigned char addr_l, addr_h; /* address range of the chip */70 int (*attach)(struct i2c_device *device);71 int (*detach)(struct i2c_device *device);72 int (*command)(struct i2c_device *device,unsigned int cmd, void *arg);75 struct i2c_device *devices[I2C_DEVICE_MAX];76 int devcount;
117 struct i2c_driver { struct118 char name[32];119 int id;120 unsigned int flags; /* div., see below */128 int (*attach_adapter)(struct i2c_adapter *);135 int (*detach_client)(struct i2c_client *);140 int (*command)(struct i2c_client *client,unsigned int cmd, void *arg);171 struct i2c_driver *driver; /* and our access routines */ argument
251 static struct parport_driver i2c_driver = { variable