Lines Matching refs:pmsg
273 struct i2c_msg *pmsg; in vprbrd_i2c_xfer() local
284 pmsg = &msgs[i]; in vprbrd_i2c_xfer()
288 i, pmsg->flags & I2C_M_RD ? "read" : "write", in vprbrd_i2c_xfer()
289 pmsg->flags, pmsg->len, pmsg->addr); in vprbrd_i2c_xfer()
293 if (pmsg->flags & I2C_M_RD) { in vprbrd_i2c_xfer()
298 amsg->addr = pmsg->addr; in vprbrd_i2c_xfer()
300 amsg->len = cpu_to_le16(pmsg->len); in vprbrd_i2c_xfer()
306 ret = vprbrd_i2c_read(vb, pmsg); in vprbrd_i2c_xfer()
318 ret = vprbrd_i2c_write(vb, pmsg); in vprbrd_i2c_xfer()
323 amsg->addr = pmsg->addr; in vprbrd_i2c_xfer()
325 amsg->len = cpu_to_le16(pmsg->len); in vprbrd_i2c_xfer()