/u-boot/drivers/misc/ |
A D | cros_ec_i2c.c | 60 struct i2c_msg i2c_msg[2]; in cros_ec_i2c_packet() local 64 i2c_msg[0].flags = 0; in cros_ec_i2c_packet() 66 i2c_msg[1].flags = I2C_M_RD; in cros_ec_i2c_packet() 70 i2c_msg[0].buf = dev->dout; in cros_ec_i2c_packet() 78 i2c_msg[1].buf = dev->din; in cros_ec_i2c_packet() 116 struct i2c_msg i2c_msg[2]; in cros_ec_i2c_command() local 142 i2c_msg[0].len = out_bytes; in cros_ec_i2c_command() 143 i2c_msg[0].buf = dev->dout; in cros_ec_i2c_command() 144 i2c_msg[0].flags = 0; in cros_ec_i2c_command() 179 i2c_msg[1].len = in_bytes; in cros_ec_i2c_command() [all …]
|
A D | atsha204a-i2c.c | 155 struct i2c_msg msg; in atsha204a_send() 168 struct i2c_msg msg; in atsha204a_recv()
|
/u-boot/drivers/i2c/ |
A D | i2c-versatile.c | 140 struct i2c_msg *msg) in versatile_i2c_send_slave_addr() 186 struct i2c_msg *msg) in versatile_i2c_message_xfer() 213 struct i2c_msg *msg, int nmsgs) in versatile_i2c_xfer() 231 struct i2c_msg msg = { .addr = chip, .flags = chip_flags, in versatile_i2c_chip_probe()
|
A D | xilinx_xiic.c | 108 struct i2c_msg *msg, int nmsgs) in xiic_read_rx() 142 struct i2c_msg *msg, int nmsgs) in xiic_fill_tx_fifo() 180 static int xilinx_xiic_read_common(struct udevice *dev, struct i2c_msg *msg, in xilinx_xiic_read_common() 215 static int xilinx_xiic_write_common(struct udevice *dev, struct i2c_msg *msg, in xilinx_xiic_write_common() 268 static int xilinx_xiic_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in xilinx_xiic_xfer()
|
A D | i2c-uclass.c | 32 void i2c_dump_msgs(struct i2c_msg *msg, int nmsgs) in i2c_dump_msgs() 37 struct i2c_msg *m = &msg[i]; in i2c_dump_msgs() 58 uint8_t offset_buf[], struct i2c_msg *msg) in i2c_setup_offset() 85 struct i2c_msg msg[2], *ptr; in i2c_read_bytewise() 114 struct i2c_msg msg[1]; in i2c_write_bytewise() 137 struct i2c_msg msg[2], *ptr; in dm_i2c_read() 168 struct i2c_msg msg[1]; in dm_i2c_write() 218 int dm_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in dm_i2c_xfer() 261 struct i2c_msg msg[1]; in i2c_probe_chip()
|
A D | meson_i2c.c | 56 struct i2c_msg *msg; /* Current I2C message */ 155 static void meson_i2c_do_start(struct meson_i2c *i2c, struct i2c_msg *msg) in meson_i2c_do_start() 167 static int meson_i2c_xfer_msg(struct meson_i2c *i2c, struct i2c_msg *msg, in meson_i2c_xfer_msg() 216 static int meson_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in meson_i2c_xfer()
|
A D | intel_i2c.c | 205 static int intel_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in intel_i2c_xfer() 208 struct i2c_msg *dmsg, *omsg, dummy; in intel_i2c_xfer() 212 memset(&dummy, 0, sizeof(struct i2c_msg)); in intel_i2c_xfer()
|
A D | cros_ec_tunnel.c | 25 static int cros_ec_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_i2c_xfer()
|
A D | rcar_iic.c | 117 static int rcar_iic_read_common(struct udevice *dev, struct i2c_msg *msg) in rcar_iic_read_common() 150 static int rcar_iic_write_common(struct udevice *dev, struct i2c_msg *msg) in rcar_iic_write_common() 181 static int rcar_iic_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in rcar_iic_xfer()
|
A D | cros_ec_ldo.c | 20 static int cros_ec_ldo_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_ldo_xfer()
|
A D | lpc32xx_i2c.c | 302 static int lpc32xx_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, 306 struct i2c_msg *dmsg, *omsg, dummy; 309 memset(&dummy, 0, sizeof(struct i2c_msg));
|
A D | at91_i2c.c | 47 static int at91_i2c_xfer_msg(struct at91_i2c_bus *bus, struct i2c_msg *msg) in at91_i2c_xfer_msg() 113 static int at91_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in at91_i2c_xfer() 117 struct i2c_msg *m_start = msg; in at91_i2c_xfer()
|
A D | ocores_i2c.c | 68 struct i2c_msg *msg; 147 static inline u8 i2c_8bit_addr_from_msg(const struct i2c_msg *msg) in i2c_8bit_addr_from_msg() 154 struct i2c_msg *msg = i2c->msg; in ocores_process() 339 struct i2c_msg *msgs, int num, bool polling) in ocores_xfer_core() 362 static int ocores_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in ocores_i2c_xfer()
|
A D | rcar_i2c.c | 159 static int rcar_i2c_read_common(struct udevice *dev, struct i2c_msg *msg) in rcar_i2c_read_common() 185 static int rcar_i2c_write_common(struct udevice *dev, struct i2c_msg *msg) in rcar_i2c_write_common() 209 static int rcar_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in rcar_i2c_xfer()
|
A D | sandbox_i2c.c | 46 static int sandbox_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in sandbox_i2c_xfer()
|
A D | ihs_i2c.c | 302 static int ihs_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in ihs_i2c_xfer() 304 struct i2c_msg *dmsg, *omsg, dummy; in ihs_i2c_xfer() 306 memset(&dummy, 0, sizeof(struct i2c_msg)); in ihs_i2c_xfer()
|
A D | s3c24x0_i2c.c | 228 static int s3c24x0_do_msg(struct s3c24x0_i2c_bus *i2c_bus, struct i2c_msg *msg, in s3c24x0_do_msg() 280 static int s3c24x0_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in s3c24x0_i2c_xfer()
|
A D | mv_i2c.c | 538 static int mv_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in mv_i2c_xfer() 541 struct i2c_msg *dmsg, *omsg, dummy; in mv_i2c_xfer() 543 memset(&dummy, 0, sizeof(struct i2c_msg)); in mv_i2c_xfer()
|
A D | tegra186_bpmp_i2c.c | 39 static int tegra186_bpmp_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in tegra186_bpmp_i2c_xfer()
|
A D | fsl_i2c.c | 611 static int fsl_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) 614 struct i2c_msg *dmsg, *omsg, dummy; 616 memset(&dummy, 0, sizeof(struct i2c_msg));
|
/u-boot/include/ |
A D | i2c.h | 148 struct i2c_msg { struct 165 struct i2c_msg *msgs; 253 int dm_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs); 377 int (*xfer)(struct udevice *bus, struct i2c_msg *msg, int nmsgs); 544 void i2c_dump_msgs(struct i2c_msg *msg, int nmsgs);
|
A D | cros_ec.h | 465 struct i2c_msg; 474 int cros_ec_i2c_tunnel(struct udevice *dev, int port, struct i2c_msg *msg,
|
/u-boot/drivers/video/bridge/ |
A D | ps862x.c | 43 struct i2c_msg msg; in ps8622_write()
|
/u-boot/drivers/power/pmic/ |
A D | i2c_pmic_emul.c | 83 static int sandbox_i2c_pmic_xfer(struct udevice *emul, struct i2c_msg *msg, in sandbox_i2c_pmic_xfer()
|
/u-boot/drivers/rtc/ |
A D | pcf2127.c | 29 struct i2c_msg msg; in pcf2127_rtc_read()
|