Home
last modified time | relevance | path

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

12

/u-boot/drivers/misc/
A Dcros_ec_i2c.c60 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 Datsha204a-i2c.c155 struct i2c_msg msg; in atsha204a_send()
168 struct i2c_msg msg; in atsha204a_recv()
/u-boot/drivers/i2c/
A Di2c-versatile.c140 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 Dxilinx_xiic.c108 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 Di2c-uclass.c32 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 Dmeson_i2c.c56 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 Dintel_i2c.c205 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 Dcros_ec_tunnel.c25 static int cros_ec_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_i2c_xfer()
A Drcar_iic.c117 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 Dcros_ec_ldo.c20 static int cros_ec_ldo_xfer(struct udevice *dev, struct i2c_msg *msg, in cros_ec_ldo_xfer()
A Dlpc32xx_i2c.c302 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 Dat91_i2c.c47 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 Docores_i2c.c68 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 Drcar_i2c.c159 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 Dsandbox_i2c.c46 static int sandbox_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, in sandbox_i2c_xfer()
A Dihs_i2c.c302 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 Ds3c24x0_i2c.c228 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 Dmv_i2c.c538 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 Dtegra186_bpmp_i2c.c39 static int tegra186_bpmp_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in tegra186_bpmp_i2c_xfer()
A Dfsl_i2c.c611 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 Di2c.h148 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 Dcros_ec.h465 struct i2c_msg;
474 int cros_ec_i2c_tunnel(struct udevice *dev, int port, struct i2c_msg *msg,
/u-boot/drivers/video/bridge/
A Dps862x.c43 struct i2c_msg msg; in ps8622_write()
/u-boot/drivers/power/pmic/
A Di2c_pmic_emul.c83 static int sandbox_i2c_pmic_xfer(struct udevice *emul, struct i2c_msg *msg, in sandbox_i2c_pmic_xfer()
/u-boot/drivers/rtc/
A Dpcf2127.c29 struct i2c_msg msg; in pcf2127_rtc_read()

Completed in 27 milliseconds

12