Lines Matching refs:len2
116 u16 remain_len, len1, len2, start = 0x0000; in vprbrd_i2c_read() local
126 len2 = 0x00; in vprbrd_i2c_read()
129 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
136 len2 = 0x00; in vprbrd_i2c_read()
139 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
146 len2 = 0x00; in vprbrd_i2c_read()
149 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
156 len2 = remain_len - 512; in vprbrd_i2c_read()
159 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
166 len2 = remain_len - 512; in vprbrd_i2c_read()
169 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
176 len2 = remain_len - 512; in vprbrd_i2c_read()
179 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
186 len2 = 512; in vprbrd_i2c_read()
189 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
197 rmsg->header.tf2 = cpu_to_le16(len2); in vprbrd_i2c_read()
207 if (len2 > 0) { in vprbrd_i2c_read()
208 ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len2); in vprbrd_i2c_read()
212 memcpy(msg->buf + start + 512, rmsg, len2); in vprbrd_i2c_read()
235 wmsg->header.len2 = 0xf8; in vprbrd_i2c_write()
241 wmsg->header.len2 = (remain_len - 255); in vprbrd_i2c_write()
247 wmsg->header.len2 = 0x00; in vprbrd_i2c_write()