Home
last modified time | relevance | path

Searched refs:omsg (Results 1 – 6 of 6) sorted by relevance

/u-boot/drivers/i2c/
A Dlpc32xx_i2c.c306 struct i2c_msg *dmsg, *omsg, dummy;
319 omsg = nmsgs == 1 ? &dummy : msg;
323 address = omsg->buf[0];
324 for (i = 1; i < omsg->len; i++)
325 address = (address << 8) + omsg->buf[i];
329 omsg->len, dmsg->buf, dmsg->len);
332 omsg->len, dmsg->buf, dmsg->len);
A Dihs_i2c.c304 struct i2c_msg *dmsg, *omsg, dummy; in ihs_i2c_xfer() local
316 omsg = nmsgs == 1 ? &dummy : msg; in ihs_i2c_xfer()
320 return ihs_i2c_access(bus, dmsg->addr, omsg->buf, in ihs_i2c_xfer()
321 omsg->len, dmsg->buf, dmsg->len, in ihs_i2c_xfer()
324 return ihs_i2c_access(bus, dmsg->addr, omsg->buf, in ihs_i2c_xfer()
325 omsg->len, dmsg->buf, dmsg->len, in ihs_i2c_xfer()
A Dmv_i2c.c541 struct i2c_msg *dmsg, *omsg, dummy; in mv_i2c_xfer() local
554 omsg = nmsgs == 1 ? &dummy : msg; in mv_i2c_xfer()
558 return __i2c_read(i2c->base, dmsg->addr, omsg->buf, in mv_i2c_xfer()
559 omsg->len, dmsg->buf, dmsg->len); in mv_i2c_xfer()
561 return __i2c_write(i2c->base, dmsg->addr, omsg->buf, in mv_i2c_xfer()
562 omsg->len, dmsg->buf, dmsg->len); in mv_i2c_xfer()
A Dintel_i2c.c208 struct i2c_msg *dmsg, *omsg, dummy; in intel_i2c_xfer() local
223 omsg = nmsgs == 1 ? &dummy : msg; in intel_i2c_xfer()
228 omsg->buf[0], dmsg->len); in intel_i2c_xfer()
A Dfsl_i2c.c614 struct i2c_msg *dmsg, *omsg, dummy;
626 omsg = nmsgs == 1 ? &dummy : msg;
630 return __i2c_read(dev->base, dmsg->addr, omsg->buf, omsg->len,
633 return __i2c_write(dev->base, dmsg->addr, omsg->buf, omsg->len,
A Dmvtwsi.c849 struct i2c_msg *dmsg, *omsg, dummy;
860 omsg = nmsgs == 1 ? &dummy : msg;
864 return __twsi_i2c_read(dev->base, dmsg->addr, omsg->buf,
865 omsg->len, dmsg->buf, dmsg->len,
868 return __twsi_i2c_write(dev->base, dmsg->addr, omsg->buf,
869 omsg->len, dmsg->buf, dmsg->len,

Completed in 10 milliseconds