Lines Matching refs:i2c_client
47 struct i2c_client;
62 extern int i2c_master_send(const struct i2c_client *client, const char *buf,
64 extern int i2c_master_recv(const struct i2c_client *client, char *buf,
84 extern s32 i2c_smbus_read_byte(const struct i2c_client *client);
85 extern s32 i2c_smbus_write_byte(const struct i2c_client *client, u8 value);
86 extern s32 i2c_smbus_read_byte_data(const struct i2c_client *client,
88 extern s32 i2c_smbus_write_byte_data(const struct i2c_client *client,
90 extern s32 i2c_smbus_read_word_data(const struct i2c_client *client,
92 extern s32 i2c_smbus_write_word_data(const struct i2c_client *client,
96 i2c_smbus_read_word_swapped(const struct i2c_client *client, u8 command) in i2c_smbus_read_word_swapped()
104 i2c_smbus_write_word_swapped(const struct i2c_client *client, in i2c_smbus_write_word_swapped()
111 extern s32 i2c_smbus_read_block_data(const struct i2c_client *client,
113 extern s32 i2c_smbus_write_block_data(const struct i2c_client *client,
116 extern s32 i2c_smbus_read_i2c_block_data(const struct i2c_client *client,
118 extern s32 i2c_smbus_write_i2c_block_data(const struct i2c_client *client,
172 int (*probe)(struct i2c_client *, const struct i2c_device_id *);
173 int (*remove)(struct i2c_client *);
176 void (*shutdown)(struct i2c_client *);
177 int (*suspend)(struct i2c_client *, pm_message_t mesg);
178 int (*resume)(struct i2c_client *);
185 void (*alert)(struct i2c_client *, unsigned int data);
190 int (*command)(struct i2c_client *client, unsigned int cmd, void *arg);
196 int (*detect)(struct i2c_client *, struct i2c_board_info *);
220 struct i2c_client { struct
232 #define to_i2c_client(d) container_of(d, struct i2c_client, dev) argument
234 extern struct i2c_client *i2c_verify_client(struct device *dev);
236 static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj) in kobj_to_i2c_client()
242 static inline void *i2c_get_clientdata(const struct i2c_client *dev) in i2c_get_clientdata()
247 static inline void i2c_set_clientdata(struct i2c_client *dev, void *data) in i2c_set_clientdata()
302 extern struct i2c_client *
311 extern struct i2c_client *
323 extern struct i2c_client *
326 extern void i2c_unregister_device(struct i2c_client *);
457 extern struct i2c_client *i2c_use_client(struct i2c_client *client);
458 extern void i2c_release_client(struct i2c_client *client);