Lines Matching refs:msgs
27 struct i2c_msg msgs[2]; in solo_i2c_readbyte() local
30 msgs[0].flags = 0; in solo_i2c_readbyte()
31 msgs[0].addr = addr; in solo_i2c_readbyte()
32 msgs[0].len = 1; in solo_i2c_readbyte()
33 msgs[0].buf = &off; in solo_i2c_readbyte()
35 msgs[1].flags = I2C_M_RD; in solo_i2c_readbyte()
36 msgs[1].addr = addr; in solo_i2c_readbyte()
37 msgs[1].len = 1; in solo_i2c_readbyte()
38 msgs[1].buf = &data; in solo_i2c_readbyte()
40 i2c_transfer(&solo_dev->i2c_adap[id], msgs, 2); in solo_i2c_readbyte()
48 struct i2c_msg msgs; in solo_i2c_writebyte() local
53 msgs.flags = 0; in solo_i2c_writebyte()
54 msgs.addr = addr; in solo_i2c_writebyte()
55 msgs.len = 2; in solo_i2c_writebyte()
56 msgs.buf = buf; in solo_i2c_writebyte()
58 i2c_transfer(&solo_dev->i2c_adap[id], &msgs, 1); in solo_i2c_writebyte()
207 struct i2c_msg msgs[], int num) in solo_i2c_master_xfer() argument
225 solo_dev->i2c_msg = msgs; in solo_i2c_master_xfer()