/external/u-boot/drivers/misc/ |
D | cros_ec_i2c.c | 59 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 …]
|
D | atsha204a-i2c.c | 151 struct i2c_msg msg; in atsha204a_send() 164 struct i2c_msg msg; in atsha204a_recv()
|
/external/u-boot/drivers/i2c/ |
D | i2c-uclass.c | 27 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()
|
D | meson_i2c.c | 47 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()
|
D | intel_i2c.c | 204 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()
|
D | rcar_iic.c | 113 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()
|
D | lpc32xx_i2c.c | 297 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));
|
D | at91_i2c.c | 45 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()
|
D | rcar_i2c.c | 139 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()
|
D | ihs_i2c.c | 294 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()
|
D | cros_ec_tunnel.c | 24 static int cros_ec_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_i2c_xfer()
|
D | mv_i2c.c | 536 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()
|
D | cros_ec_ldo.c | 19 static int cros_ec_ldo_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_ldo_xfer()
|
D | stm32f7_i2c.c | 258 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()
|
D | s3c24x0_i2c.c | 226 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()
|
D | fsl_i2c.c | 606 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));
|
D | mvtwsi.c | 830 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));
|
D | sandbox_i2c.c | 65 static int sandbox_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in sandbox_i2c_xfer()
|
/external/u-boot/include/ |
D | i2c.h | 98 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);
|
D | cros_ec.h | 392 struct i2c_msg; 401 int cros_ec_i2c_tunnel(struct udevice *dev, int port, struct i2c_msg *msg,
|
/external/syzkaller/sys/linux/ |
D | i2c.txt | 38 msgs ptr[in, array[i2c_msg]] 42 i2c_msg {
|
/external/kernel-headers/original/uapi/linux/ |
D | i2c-dev.h | 66 struct i2c_msg __user *msgs; /* pointers to i2c_msgs */
|
D | i2c.h | 69 struct i2c_msg { struct
|
/external/u-boot/drivers/video/bridge/ |
D | ps862x.c | 40 struct i2c_msg msg; in ps8622_write()
|
D | anx6345.c | 26 struct i2c_msg msg; in anx6345_write() 49 struct i2c_msg msg[2]; in anx6345_read()
|