Home
last modified time | relevance | path

Searched refs:wmsg (Results 1 – 1 of 1) sorted by relevance

/drivers/i2c/busses/
Di2c-viperboard.c223 struct vprbrd_i2c_write_msg *wmsg = in vprbrd_i2c_write() local
227 wmsg->header.cmd = VPRBRD_I2C_CMD_WRITE; in vprbrd_i2c_write()
228 wmsg->header.last = 0x00; in vprbrd_i2c_write()
229 wmsg->header.chan = 0x00; in vprbrd_i2c_write()
230 wmsg->header.spi = 0x0000; in vprbrd_i2c_write()
232 wmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_write()
234 wmsg->header.len1 = 0xff; in vprbrd_i2c_write()
235 wmsg->header.len2 = 0xf8; in vprbrd_i2c_write()
240 wmsg->header.len1 = 0xff; in vprbrd_i2c_write()
241 wmsg->header.len2 = (remain_len - 255); in vprbrd_i2c_write()
[all …]