Lines Matching refs:msgs
35 struct i2c_msg msgs[2]; in solo_i2c_readbyte() local
38 msgs[0].flags = 0; in solo_i2c_readbyte()
39 msgs[0].addr = addr; in solo_i2c_readbyte()
40 msgs[0].len = 1; in solo_i2c_readbyte()
41 msgs[0].buf = &off; in solo_i2c_readbyte()
43 msgs[1].flags = I2C_M_RD; in solo_i2c_readbyte()
44 msgs[1].addr = addr; in solo_i2c_readbyte()
45 msgs[1].len = 1; in solo_i2c_readbyte()
46 msgs[1].buf = &data; in solo_i2c_readbyte()
48 i2c_transfer(&solo_dev->i2c_adap[id], msgs, 2); in solo_i2c_readbyte()
56 struct i2c_msg msgs; in solo_i2c_writebyte() local
61 msgs.flags = 0; in solo_i2c_writebyte()
62 msgs.addr = addr; in solo_i2c_writebyte()
63 msgs.len = 2; in solo_i2c_writebyte()
64 msgs.buf = buf; in solo_i2c_writebyte()
66 i2c_transfer(&solo_dev->i2c_adap[id], &msgs, 1); in solo_i2c_writebyte()
214 struct i2c_msg msgs[], int num) in solo_i2c_master_xfer() argument
232 solo_dev->i2c_msg = msgs; in solo_i2c_master_xfer()