Home
last modified time | relevance | path

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

12

/third_party/uboot/u-boot-2020.01/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.c152 struct i2c_msg msg; in atsha204a_send()
165 struct i2c_msg msg; in atsha204a_recv()
/third_party/uboot/u-boot-2020.01/drivers/i2c/
Dxilinx_xiic.c107 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()
Di2c-versatile.c138 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()
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.c52 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()
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.c115 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()
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()
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));
Drcar_i2c.c156 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()
Dcros_ec_tunnel.c24 static int cros_ec_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_i2c_xfer()
Dcros_ec_ldo.c19 static int cros_ec_ldo_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_ldo_xfer()
Dihs_i2c.c298 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()
Dsandbox_i2c.c47 static int sandbox_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in sandbox_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()
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()
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()
Dfsl_i2c.c607 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));
Dmvtwsi.c841 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/
Di2c.h100 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);
Dcros_ec.h396 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/
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()
/third_party/uboot/u-boot-2020.01/drivers/rtc/
Dpcf2127.c29 struct i2c_msg msg; in pcf2127_read_reg()

12