Home
last modified time | relevance | path

Searched refs:i2c_msg (Results 1 – 25 of 44) sorted by relevance

12

/external/u-boot/drivers/misc/
Dcros_ec_i2c.c59 struct i2c_msg i2c_msg[2]; in cros_ec_i2c_packet() local
62 i2c_msg[0].addr = chip->chip_addr; in cros_ec_i2c_packet()
63 i2c_msg[0].flags = 0; in cros_ec_i2c_packet()
64 i2c_msg[1].addr = chip->chip_addr; in cros_ec_i2c_packet()
65 i2c_msg[1].flags = I2C_M_RD; in cros_ec_i2c_packet()
68 i2c_msg[0].len = out_bytes + 1; in cros_ec_i2c_packet()
69 i2c_msg[0].buf = dev->dout; in cros_ec_i2c_packet()
76 i2c_msg[1].len = in_bytes + 2; in cros_ec_i2c_packet()
77 i2c_msg[1].buf = dev->din; in cros_ec_i2c_packet()
79 ret = dm_i2c_xfer(udev, &i2c_msg[0], 2); in cros_ec_i2c_packet()
[all …]
Datsha204a-i2c.c151 struct i2c_msg msg; in atsha204a_send()
164 struct i2c_msg msg; in atsha204a_recv()
/external/u-boot/drivers/i2c/
Di2c-uclass.c27 void i2c_dump_msgs(struct i2c_msg *msg, int nmsgs) in i2c_dump_msgs()
32 struct i2c_msg *m = &msg[i]; in i2c_dump_msgs()
53 uint8_t offset_buf[], struct i2c_msg *msg) in i2c_setup_offset()
77 struct i2c_msg msg[2], *ptr; in i2c_read_bytewise()
106 struct i2c_msg msg[1]; in i2c_write_bytewise()
129 struct i2c_msg msg[2], *ptr; in dm_i2c_read()
160 struct i2c_msg msg[1]; in dm_i2c_write()
210 int dm_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in dm_i2c_xfer()
253 struct i2c_msg msg[1]; in i2c_probe_chip()
Dmeson_i2c.c47 struct i2c_msg *msg; /* Current I2C message */
146 static void meson_i2c_do_start(struct meson_i2c *i2c, struct i2c_msg *msg) in meson_i2c_do_start()
158 static int meson_i2c_xfer_msg(struct meson_i2c *i2c, struct i2c_msg *msg, in meson_i2c_xfer_msg()
207 static int meson_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in meson_i2c_xfer()
Dintel_i2c.c204 static int intel_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in intel_i2c_xfer()
207 struct i2c_msg *dmsg, *omsg, dummy; in intel_i2c_xfer()
211 memset(&dummy, 0, sizeof(struct i2c_msg)); in intel_i2c_xfer()
Drcar_iic.c113 static int rcar_iic_read_common(struct udevice *dev, struct i2c_msg *msg) in rcar_iic_read_common()
146 static int rcar_iic_write_common(struct udevice *dev, struct i2c_msg *msg) in rcar_iic_write_common()
177 static int rcar_iic_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in rcar_iic_xfer()
Dlpc32xx_i2c.c297 static int lpc32xx_i2c_xfer(struct udevice *bus, struct i2c_msg *msg,
301 struct i2c_msg *dmsg, *omsg, dummy;
304 memset(&dummy, 0, sizeof(struct i2c_msg));
Dat91_i2c.c45 static int at91_i2c_xfer_msg(struct at91_i2c_bus *bus, struct i2c_msg *msg) in at91_i2c_xfer_msg()
107 static int at91_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in at91_i2c_xfer()
111 struct i2c_msg *m_start = msg; in at91_i2c_xfer()
Drcar_i2c.c139 static int rcar_i2c_read_common(struct udevice *dev, struct i2c_msg *msg) in rcar_i2c_read_common()
169 static int rcar_i2c_write_common(struct udevice *dev, struct i2c_msg *msg) in rcar_i2c_write_common()
197 static int rcar_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in rcar_i2c_xfer()
Dihs_i2c.c294 static int ihs_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in ihs_i2c_xfer()
296 struct i2c_msg *dmsg, *omsg, dummy; in ihs_i2c_xfer()
298 memset(&dummy, 0, sizeof(struct i2c_msg)); in ihs_i2c_xfer()
Dcros_ec_tunnel.c24 static int cros_ec_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_i2c_xfer()
Dmv_i2c.c536 static int mv_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in mv_i2c_xfer()
539 struct i2c_msg *dmsg, *omsg, dummy; in mv_i2c_xfer()
541 memset(&dummy, 0, sizeof(struct i2c_msg)); in mv_i2c_xfer()
Dcros_ec_ldo.c19 static int cros_ec_ldo_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_ldo_xfer()
Dstm32f7_i2c.c258 struct i2c_msg *msg, bool stop) in stm32_i2c_message_start()
302 struct i2c_msg *msg, bool stop) in stm32_i2c_handle_reload()
395 struct i2c_msg *msg, bool stop) in stm32_i2c_message_xfer()
467 static int stm32_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in stm32_i2c_xfer()
Ds3c24x0_i2c.c226 static int s3c24x0_do_msg(struct s3c24x0_i2c_bus *i2c_bus, struct i2c_msg *msg, in s3c24x0_do_msg()
278 static int s3c24x0_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in s3c24x0_i2c_xfer()
Dfsl_i2c.c606 static int fsl_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs)
609 struct i2c_msg *dmsg, *omsg, dummy;
611 memset(&dummy, 0, sizeof(struct i2c_msg));
Dmvtwsi.c830 static int mvtwsi_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs)
833 struct i2c_msg *dmsg, *omsg, dummy;
835 memset(&dummy, 0, sizeof(struct i2c_msg));
Dsandbox_i2c.c65 static int sandbox_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in sandbox_i2c_xfer()
/external/u-boot/include/
Di2c.h98 struct i2c_msg { struct
115 struct i2c_msg *msgs;
203 int dm_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs);
370 int (*xfer)(struct udevice *bus, struct i2c_msg *msg, int nmsgs);
537 void i2c_dump_msgs(struct i2c_msg *msg, int nmsgs);
Dcros_ec.h392 struct i2c_msg;
401 int cros_ec_i2c_tunnel(struct udevice *dev, int port, struct i2c_msg *msg,
/external/syzkaller/sys/linux/
Di2c.txt38 msgs ptr[in, array[i2c_msg]]
42 i2c_msg {
/external/kernel-headers/original/uapi/linux/
Di2c-dev.h66 struct i2c_msg __user *msgs; /* pointers to i2c_msgs */
Di2c.h69 struct i2c_msg { struct
/external/u-boot/drivers/video/bridge/
Dps862x.c40 struct i2c_msg msg; in ps8622_write()
Danx6345.c26 struct i2c_msg msg; in anx6345_write()
49 struct i2c_msg msg[2]; in anx6345_read()

12