Home | History | Annotate | Download | only in linux

Lines Matching refs:i2c_client

50 struct i2c_client;
60 extern int i2c_master_send(struct i2c_client *,const char* ,int);
61 extern int i2c_master_recv(struct i2c_client *,char* ,int);
71 extern int i2c_slave_send(struct i2c_client *,char*,int);
72 extern int i2c_slave_recv(struct i2c_client *,char*,int);
89 extern s32 i2c_smbus_write_quick(struct i2c_client * client, u8 value);
90 extern s32 i2c_smbus_read_byte(struct i2c_client * client);
91 extern s32 i2c_smbus_write_byte(struct i2c_client * client, u8 value);
92 extern s32 i2c_smbus_read_byte_data(struct i2c_client * client, u8 command);
93 extern s32 i2c_smbus_write_byte_data(struct i2c_client * client,
95 extern s32 i2c_smbus_read_word_data(struct i2c_client * client, u8 command);
96 extern s32 i2c_smbus_write_word_data(struct i2c_client * client,
98 extern s32 i2c_smbus_write_block_data(struct i2c_client * client,
102 extern s32 i2c_smbus_read_i2c_block_data(struct i2c_client * client,
104 extern s32 i2c_smbus_write_i2c_block_data(struct i2c_client * client,
135 int (*detach_client)(struct i2c_client *);
140 int (*command)(struct i2c_client *client,unsigned int cmd, void *arg);
150 * i2c_client identifies a single device (i.e. chip) that is connected to an
154 struct i2c_client {
168 #define to_i2c_client(d) container_of(d, struct i2c_client, dev)
170 static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj)
175 static inline void *i2c_get_clientdata (struct i2c_client *dev)
180 static inline void i2c_set_clientdata (struct i2c_client *dev, void *data)
227 int (*client_register)(struct i2c_client *);
228 int (*client_unregister)(struct i2c_client *);
308 extern int i2c_attach_client(struct i2c_client *);
309 extern int i2c_detach_client(struct i2c_client *);
314 extern int i2c_use_client(struct i2c_client *);
315 extern int i2c_release_client(struct i2c_client *);
317 /* call the i2c_client->command() of all attached clients with
337 extern int i2c_control(struct i2c_client *,unsigned int, unsigned long);