Home
last modified time | relevance | path

Searched refs:i2c_client (Results 1 – 25 of 32) sorted by relevance

12

/include/linux/
Di2c.h47 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()
[all …]
Di2c-smbus.h47 struct i2c_client *i2c_setup_smbus_alert(struct i2c_adapter *adapter,
49 int i2c_handle_smbus_alert(struct i2c_client *ara);
Dof_i2c.h21 extern struct i2c_client *of_find_i2c_device_by_node(struct device_node *node);
Dleds-pca9532.h32 struct i2c_client *client;
Dregmap.h20 struct i2c_client;
130 struct regmap *regmap_init_i2c(struct i2c_client *i2c,
138 struct regmap *devm_regmap_init_i2c(struct i2c_client *i2c,
/include/linux/mfd/
Dmax8998-private.h151 struct i2c_client *i2c;
152 struct i2c_client *rtc;
169 extern int max8998_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest);
170 extern int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count,
172 extern int max8998_write_reg(struct i2c_client *i2c, u8 reg, u8 value);
173 extern int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count,
175 extern int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask);
D88pm860x.h318 struct i2c_client *client;
319 struct i2c_client *companion; /* companion chip client */
395 extern int pm860x_reg_read(struct i2c_client *, int);
396 extern int pm860x_reg_write(struct i2c_client *, int, unsigned char);
397 extern int pm860x_bulk_read(struct i2c_client *, int, int, unsigned char *);
398 extern int pm860x_bulk_write(struct i2c_client *, int, int, unsigned char *);
399 extern int pm860x_set_bits(struct i2c_client *, int, unsigned char,
401 extern int pm860x_page_reg_read(struct i2c_client *, int);
402 extern int pm860x_page_reg_write(struct i2c_client *, int, unsigned char);
403 extern int pm860x_page_bulk_read(struct i2c_client *, int, int,
[all …]
Dmax8925.h197 struct i2c_client *i2c;
198 struct i2c_client *adc;
199 struct i2c_client *rtc;
245 extern int max8925_reg_read(struct i2c_client *, int);
246 extern int max8925_reg_write(struct i2c_client *, int, unsigned char);
247 extern int max8925_bulk_read(struct i2c_client *, int, int, unsigned char *);
248 extern int max8925_bulk_write(struct i2c_client *, int, int, unsigned char *);
249 extern int max8925_set_bits(struct i2c_client *, int, unsigned char,
Dmax8997-private.h317 struct i2c_client *i2c; /* 0xcc / PMIC, Battery Control, and FLASH */
318 struct i2c_client *rtc; /* slave addr 0x0c */
319 struct i2c_client *haptic; /* slave addr 0x90 */
320 struct i2c_client *muic; /* slave addr 0x4a */
349 extern int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest);
350 extern int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count,
352 extern int max8997_write_reg(struct i2c_client *i2c, u8 reg, u8 value);
353 extern int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count,
355 extern int max8997_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask);
Dtps6507x.h158 struct i2c_client *i2c_client; member
Dabx500.h106 struct i2c_client *i2c_client; member
107 struct i2c_client *testreg_client;
Dtps6105x.h92 struct i2c_client *client;
/include/linux/input/
Dgp2ap002a00f.h18 int (*hw_setup)(struct i2c_client *client);
19 int (*hw_shutdown)(struct i2c_client *client);
Dauo-pixcir-ts.h49 void (*init_hw)(struct i2c_client *);
50 void (*exit_hw)(struct i2c_client *);
Dadp5589.h175 struct i2c_client; /* forward declaration */
179 int (*setup)(struct i2c_client *client,
182 int (*teardown)(struct i2c_client *client,
/include/linux/i2c/
Dpcf857x.h35 int (*setup)(struct i2c_client *client,
38 int (*teardown)(struct i2c_client *client,
Dmax732x.h15 int (*setup)(struct i2c_client *client,
18 int (*teardown)(struct i2c_client *client,
Dpca953x.h21 int (*setup)(struct i2c_client *client,
24 int (*teardown)(struct i2c_client *client,
Dtps65010.h175 struct i2c_client;
199 int (*setup)(struct i2c_client *client, void *context);
200 int (*teardown)(struct i2c_client *client, void *context);
Dadp5588.h156 struct i2c_client; /* forward declaration */
162 int (*setup)(struct i2c_client *client,
165 int (*teardown)(struct i2c_client *client,
/include/media/
Dtveeprom.h35 void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
38 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);
Dv4l2-common.h105 struct i2c_client; /* forward reference */
106 int v4l2_chip_match_i2c_client(struct i2c_client *c, const struct v4l2_dbg_match *match);
107 int v4l2_chip_ident_i2c_client(struct i2c_client *c, struct v4l2_dbg_chip_ident *chip,
117 struct i2c_client;
137 void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client,
Dir-kbd-i2c.h12 struct i2c_client *c;
/include/drm/
Ddrm_encoder_slave.h123 int (*encoder_init)(struct i2c_client *client,
135 static inline struct i2c_client *drm_i2c_encoder_get_client(struct drm_encoder *encoder) in drm_i2c_encoder_get_client()
137 return (struct i2c_client *)to_encoder_slave(encoder)->bus_priv; in drm_i2c_encoder_get_client()
/include/linux/nfc/
Dpn544.h89 int (*request_resources) (struct i2c_client *client);

12