/third_party/uboot/u-boot-2020.01/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 | 152 struct i2c_msg msg; in atsha204a_send() 165 struct i2c_msg msg; in atsha204a_recv()
|
/third_party/uboot/u-boot-2020.01/drivers/i2c/ |
D | xilinx_xiic.c | 107 struct i2c_msg *msg, int nmsgs) in xiic_read_rx() 141 struct i2c_msg *msg, int nmsgs) in xiic_fill_tx_fifo() 179 static int xilinx_xiic_read_common(struct udevice *dev, struct i2c_msg *msg, in xilinx_xiic_read_common() 214 static int xilinx_xiic_write_common(struct udevice *dev, struct i2c_msg *msg, in xilinx_xiic_write_common() 267 static int xilinx_xiic_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in xilinx_xiic_xfer()
|
D | i2c-versatile.c | 138 struct i2c_msg *msg) in versatile_i2c_send_slave_addr() 184 struct i2c_msg *msg) in versatile_i2c_message_xfer() 211 struct i2c_msg *msg, int nmsgs) in versatile_i2c_xfer() 229 struct i2c_msg msg = { .addr = chip, .flags = chip_flags, in versatile_i2c_chip_probe()
|
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 | 52 struct i2c_msg *msg; /* Current I2C message */ 151 static void meson_i2c_do_start(struct meson_i2c *i2c, struct i2c_msg *msg) in meson_i2c_do_start() 163 static int meson_i2c_xfer_msg(struct meson_i2c *i2c, struct i2c_msg *msg, in meson_i2c_xfer_msg() 212 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 | 115 static int rcar_iic_read_common(struct udevice *dev, struct i2c_msg *msg) in rcar_iic_read_common() 148 static int rcar_iic_write_common(struct udevice *dev, struct i2c_msg *msg) in rcar_iic_write_common() 179 static int rcar_iic_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in rcar_iic_xfer()
|
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 | 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 | rcar_i2c.c | 156 static int rcar_i2c_read_common(struct udevice *dev, struct i2c_msg *msg) in rcar_i2c_read_common() 182 static int rcar_i2c_write_common(struct udevice *dev, struct i2c_msg *msg) in rcar_i2c_write_common() 206 static int rcar_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in rcar_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 | cros_ec_ldo.c | 19 static int cros_ec_ldo_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_ldo_xfer()
|
D | ihs_i2c.c | 298 static int ihs_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in ihs_i2c_xfer() 300 struct i2c_msg *dmsg, *omsg, dummy; in ihs_i2c_xfer() 302 memset(&dummy, 0, sizeof(struct i2c_msg)); in ihs_i2c_xfer()
|
D | sandbox_i2c.c | 47 static int sandbox_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in sandbox_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 | 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 | 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 | fsl_i2c.c | 607 static int fsl_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) 610 struct i2c_msg *dmsg, *omsg, dummy; 612 memset(&dummy, 0, sizeof(struct i2c_msg));
|
D | mvtwsi.c | 841 static int mvtwsi_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) 844 struct i2c_msg *dmsg, *omsg, dummy; 846 memset(&dummy, 0, sizeof(struct i2c_msg));
|
/third_party/uboot/u-boot-2020.01/include/ |
D | i2c.h | 100 struct i2c_msg { struct 117 struct i2c_msg *msgs; 205 int dm_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs); 292 int (*xfer)(struct udevice *bus, struct i2c_msg *msg, int nmsgs); 459 void i2c_dump_msgs(struct i2c_msg *msg, int nmsgs);
|
D | cros_ec.h | 396 struct i2c_msg; 405 int cros_ec_i2c_tunnel(struct udevice *dev, int port, struct i2c_msg *msg,
|
/third_party/uboot/u-boot-2020.01/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()
|
/third_party/uboot/u-boot-2020.01/drivers/rtc/ |
D | pcf2127.c | 29 struct i2c_msg msg; in pcf2127_read_reg()
|