Lines Matching refs:msgs
361 * @msgs: Pointer to the i2c message structure.
369 struct i2c_msg *msgs, u32 last, u32 first)
381 length = msgs->len;
382 buf = msgs->buf;
383 addr = msgs->addr;
388 pch_dbg(adap, "I2CCTL = %x msgs->len = %d\n", ioread32(p + PCH_I2CCTL),
396 if (msgs->flags & I2C_M_TEN) {
410 iowrite32(i2c_8bit_addr_from_msg(msgs), p + PCH_I2CDR);
481 * @msgs: Pointer to i2c_msg structure.
485 static s32 pch_i2c_readbytes(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs,
499 length = msgs->len;
500 buf = msgs->buf;
501 addr = msgs->addr;
511 if (msgs->flags & I2C_M_TEN) {
534 iowrite32(i2c_8bit_addr_from_msg(msgs), p + PCH_I2CDR);
651 * @msgs: Pointer to i2c_msg structure.
655 struct i2c_msg *msgs, s32 num)
679 pmsg = &msgs[i];