Lines Matching refs:msgs
36 struct i2c_msg msgs[2]; in solo_i2c_readbyte() local
39 msgs[0].flags = 0; in solo_i2c_readbyte()
40 msgs[0].addr = addr; in solo_i2c_readbyte()
41 msgs[0].len = 1; in solo_i2c_readbyte()
42 msgs[0].buf = &off; in solo_i2c_readbyte()
44 msgs[1].flags = I2C_M_RD; in solo_i2c_readbyte()
45 msgs[1].addr = addr; in solo_i2c_readbyte()
46 msgs[1].len = 1; in solo_i2c_readbyte()
47 msgs[1].buf = &data; in solo_i2c_readbyte()
49 i2c_transfer(&solo_dev->i2c_adap[id], msgs, 2); in solo_i2c_readbyte()
57 struct i2c_msg msgs; in solo_i2c_writebyte() local
62 msgs.flags = 0; in solo_i2c_writebyte()
63 msgs.addr = addr; in solo_i2c_writebyte()
64 msgs.len = 2; in solo_i2c_writebyte()
65 msgs.buf = buf; in solo_i2c_writebyte()
67 i2c_transfer(&solo_dev->i2c_adap[id], &msgs, 1); in solo_i2c_writebyte()
216 struct i2c_msg msgs[], int num) in solo_i2c_master_xfer() argument
234 solo_dev->i2c_msg = msgs; in solo_i2c_master_xfer()