Lines Matching refs:wmsg
223 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()
246 wmsg->header.len1 = remain_len; in vprbrd_i2c_write()
247 wmsg->header.len2 = 0x00; in vprbrd_i2c_write()
252 memcpy(wmsg->data, msg->buf + start, in vprbrd_i2c_write()
257 VPRBRD_EP_OUT), wmsg, in vprbrd_i2c_write()