Lines Matching defs:msgs
368 struct i2c_msg *msgs, u32 last, u32 first)
380 length = msgs->len;
381 buf = msgs->buf;
382 addr = msgs->addr;
387 pch_dbg(adap, "I2CCTL = %x msgs->len = %d\n", ioread32(p + PCH_I2CCTL),
395 if (msgs->flags & I2C_M_TEN) {
409 iowrite32(i2c_8bit_addr_from_msg(msgs), p + PCH_I2CDR);
480 * @msgs: Pointer to i2c_msg structure.
484 static s32 pch_i2c_readbytes(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs,
498 length = msgs->len;
499 buf = msgs->buf;
500 addr = msgs->addr;
510 if (msgs->flags & I2C_M_TEN) {
533 iowrite32(i2c_8bit_addr_from_msg(msgs), p + PCH_I2CDR);
650 * @msgs: Pointer to i2c_msg structure.
654 struct i2c_msg *msgs, s32 num)
678 pmsg = &msgs[i];