Lines Matching refs:header
126 rmsg->header.cmd = VPRBRD_I2C_CMD_READ; in vprbrd_i2c_read()
128 rmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_read()
132 rmsg->header.len0 = remain_len; in vprbrd_i2c_read()
133 rmsg->header.len1 = 0x00; in vprbrd_i2c_read()
134 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
135 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
136 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
137 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
142 rmsg->header.len0 = remain_len - 255; in vprbrd_i2c_read()
143 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
144 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
145 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
146 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
147 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
152 rmsg->header.len0 = remain_len - 510; in vprbrd_i2c_read()
153 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
154 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
155 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
156 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
157 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
162 rmsg->header.len0 = 0x02; in vprbrd_i2c_read()
163 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
164 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
165 rmsg->header.len3 = remain_len - 512; in vprbrd_i2c_read()
166 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
167 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
172 rmsg->header.len0 = 0x02; in vprbrd_i2c_read()
173 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
174 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
175 rmsg->header.len3 = remain_len - 767; in vprbrd_i2c_read()
176 rmsg->header.len4 = 0xff; in vprbrd_i2c_read()
177 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
182 rmsg->header.len0 = 0x02; in vprbrd_i2c_read()
183 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
184 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
185 rmsg->header.len3 = remain_len - 1022; in vprbrd_i2c_read()
186 rmsg->header.len4 = 0xff; in vprbrd_i2c_read()
187 rmsg->header.len5 = 0xff; in vprbrd_i2c_read()
192 rmsg->header.len0 = 0x02; in vprbrd_i2c_read()
193 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
194 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
195 rmsg->header.len3 = 0x02; in vprbrd_i2c_read()
196 rmsg->header.len4 = 0xff; in vprbrd_i2c_read()
197 rmsg->header.len5 = 0xff; in vprbrd_i2c_read()
201 rmsg->header.tf1 = cpu_to_le16(len1); in vprbrd_i2c_read()
202 rmsg->header.tf2 = cpu_to_le16(len2); in vprbrd_i2c_read()
232 wmsg->header.cmd = VPRBRD_I2C_CMD_WRITE; in vprbrd_i2c_write()
233 wmsg->header.last = 0x00; in vprbrd_i2c_write()
234 wmsg->header.chan = 0x00; in vprbrd_i2c_write()
235 wmsg->header.spi = 0x0000; in vprbrd_i2c_write()
237 wmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_write()
239 wmsg->header.len1 = 0xff; in vprbrd_i2c_write()
240 wmsg->header.len2 = 0xf8; in vprbrd_i2c_write()
245 wmsg->header.len1 = 0xff; in vprbrd_i2c_write()
246 wmsg->header.len2 = (remain_len - 255); in vprbrd_i2c_write()
251 wmsg->header.len1 = remain_len; in vprbrd_i2c_write()
252 wmsg->header.len2 = 0x00; in vprbrd_i2c_write()