Lines Matching refs:header
121 rmsg->header.cmd = VPRBRD_I2C_CMD_READ; in vprbrd_i2c_read()
123 rmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_read()
127 rmsg->header.len0 = remain_len; in vprbrd_i2c_read()
128 rmsg->header.len1 = 0x00; in vprbrd_i2c_read()
129 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
130 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
131 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
132 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
137 rmsg->header.len0 = remain_len - 255; in vprbrd_i2c_read()
138 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
139 rmsg->header.len2 = 0x00; in vprbrd_i2c_read()
140 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
141 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
142 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
147 rmsg->header.len0 = remain_len - 510; in vprbrd_i2c_read()
148 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
149 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
150 rmsg->header.len3 = 0x00; in vprbrd_i2c_read()
151 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
152 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
157 rmsg->header.len0 = 0x02; in vprbrd_i2c_read()
158 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
159 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
160 rmsg->header.len3 = remain_len - 512; in vprbrd_i2c_read()
161 rmsg->header.len4 = 0x00; in vprbrd_i2c_read()
162 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
167 rmsg->header.len0 = 0x02; in vprbrd_i2c_read()
168 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
169 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
170 rmsg->header.len3 = remain_len - 767; in vprbrd_i2c_read()
171 rmsg->header.len4 = 0xff; in vprbrd_i2c_read()
172 rmsg->header.len5 = 0x00; in vprbrd_i2c_read()
177 rmsg->header.len0 = 0x02; in vprbrd_i2c_read()
178 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
179 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
180 rmsg->header.len3 = remain_len - 1022; in vprbrd_i2c_read()
181 rmsg->header.len4 = 0xff; in vprbrd_i2c_read()
182 rmsg->header.len5 = 0xff; in vprbrd_i2c_read()
187 rmsg->header.len0 = 0x02; in vprbrd_i2c_read()
188 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
189 rmsg->header.len2 = 0xff; in vprbrd_i2c_read()
190 rmsg->header.len3 = 0x02; in vprbrd_i2c_read()
191 rmsg->header.len4 = 0xff; in vprbrd_i2c_read()
192 rmsg->header.len5 = 0xff; in vprbrd_i2c_read()
196 rmsg->header.tf1 = cpu_to_le16(len1); in vprbrd_i2c_read()
197 rmsg->header.tf2 = cpu_to_le16(len2); in vprbrd_i2c_read()
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()