Home
last modified time | relevance | path

Searched refs:dmsg (Results 1 – 7 of 7) sorted by relevance

/u-boot/drivers/i2c/
A Dintel_i2c.c208 struct i2c_msg *dmsg, *omsg, dummy; in intel_i2c_xfer() local
224 dmsg = nmsgs == 1 ? msg : msg + 1; in intel_i2c_xfer()
226 if (dmsg->flags & I2C_M_RD) in intel_i2c_xfer()
227 return smbus_block_read(i2c->base, dmsg->addr, &dmsg->buf[0], in intel_i2c_xfer()
228 omsg->buf[0], dmsg->len); in intel_i2c_xfer()
230 return smbus_block_write(i2c->base, dmsg->addr, &dmsg->buf[1], in intel_i2c_xfer()
231 dmsg->buf[0], dmsg->len - 1); in intel_i2c_xfer()
A Dlpc32xx_i2c.c306 struct i2c_msg *dmsg, *omsg, dummy;
320 dmsg = nmsgs == 1 ? msg : msg + 1;
327 if (dmsg->flags & I2C_M_RD)
328 return __i2c_read(dev->base, dmsg->addr, address,
329 omsg->len, dmsg->buf, dmsg->len);
331 return __i2c_write(dev->base, dmsg->addr, address,
332 omsg->len, dmsg->buf, dmsg->len);
A Dihs_i2c.c304 struct i2c_msg *dmsg, *omsg, dummy; in ihs_i2c_xfer() local
317 dmsg = nmsgs == 1 ? msg : msg + 1; in ihs_i2c_xfer()
319 if (dmsg->flags & I2C_M_RD) 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
555 dmsg = nmsgs == 1 ? msg : msg + 1; in mv_i2c_xfer()
557 if (dmsg->flags & I2C_M_RD) 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 Dfsl_i2c.c614 struct i2c_msg *dmsg, *omsg, dummy;
627 dmsg = nmsgs == 1 ? msg : msg + 1;
629 if (dmsg->flags & I2C_M_RD)
630 return __i2c_read(dev->base, dmsg->addr, omsg->buf, omsg->len,
631 dmsg->buf, dmsg->len);
633 return __i2c_write(dev->base, dmsg->addr, omsg->buf, omsg->len,
634 dmsg->buf, dmsg->len);
A Dmvtwsi.c849 struct i2c_msg *dmsg, *omsg, dummy;
861 dmsg = nmsgs == 1 ? msg : msg + 1;
863 if (dmsg->flags & I2C_M_RD)
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,
/u-boot/board/freescale/common/
A Dqixis.h35 u8 dmsg; member

Completed in 11 milliseconds