Lines Matching refs:len2
121 u16 remain_len, bytes_xfer, len1, len2, in vprbrd_i2c_read() local
132 len2 = 0x00; in vprbrd_i2c_read()
135 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
142 len2 = 0x00; in vprbrd_i2c_read()
145 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
152 len2 = 0x00; in vprbrd_i2c_read()
155 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
162 len2 = remain_len - 512; in vprbrd_i2c_read()
165 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
173 len2 = remain_len - 512; in vprbrd_i2c_read()
176 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
183 len2 = remain_len - 512; in vprbrd_i2c_read()
186 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
193 len2 = 512; in vprbrd_i2c_read()
196 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
204 rmsg->header.tf2 = cpu_to_le16(len2); in vprbrd_i2c_read()
214 if (len2 > 0) { in vprbrd_i2c_read()
215 ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len2); in vprbrd_i2c_read()
219 memcpy(msg->buf + start + 512, rmsg, len2); in vprbrd_i2c_read()
242 wmsg->header.len2 = 0xf8; in vprbrd_i2c_write()
248 wmsg->header.len2 = (remain_len - 255); in vprbrd_i2c_write()
254 wmsg->header.len2 = 0x00; in vprbrd_i2c_write()