Lines Matching full:data1
40 /* F12 Data1 describes sensed objects */
41 const struct rmi_register_desc_item *data1; member
167 static void rmi_f12_process_objects(struct f12_data *f12, u8 *data1, int size) in rmi_f12_process_objects() argument
171 int objects = f12->data1->num_subpackets; in rmi_f12_process_objects()
173 if ((f12->data1->num_subpackets * F12_DATA1_BYTES_PER_OBJ) > size) in rmi_f12_process_objects()
182 switch (data1[0]) { in rmi_f12_process_objects()
199 obj->x = (data1[2] << 8) | data1[1]; in rmi_f12_process_objects()
200 obj->y = (data1[4] << 8) | data1[3]; in rmi_f12_process_objects()
201 obj->z = data1[5]; in rmi_f12_process_objects()
202 obj->wx = data1[6]; in rmi_f12_process_objects()
203 obj->wy = data1[7]; in rmi_f12_process_objects()
207 data1 += F12_DATA1_BYTES_PER_OBJ; in rmi_f12_process_objects()
250 if (f12->data1) in rmi_f12_attention()
467 f12->data1 = item; in rmi_f12_probe()