Lines Matching defs:pos
529 struct input_mt_pos pos[MAX_CONTACTS];
557 pos[0].x = ((s16)READ_POS_BUF(POS_X1_H) << 2) |
559 pos[0].y = ((s16)READ_POS_BUF(POS_Y1_H) << 2) |
561 pos[1].x = ((s16)READ_POS_BUF(POS_X2_H) << 2) |
563 pos[1].y = ((s16)READ_POS_BUF(POS_Y2_H) << 2) |
580 if (pos[1].x != 0 && pos[1].y != 0) {
581 pos[0].x = pos[1].x;
582 pos[0].y = pos[1].y;
583 pos[1].x = 0;
584 pos[1].y = 0;
608 input_mt_assign_slots(input_dev, slots, pos,
616 ABS_MT_POSITION_X, pos[i].x);
618 ABS_MT_POSITION_Y, pos[i].y);