Lines Matching refs:touch
95 u8 *touch;
103 touch = &data->buf[i * NVT_TS_TOUCH_SIZE];
105 if (touch[0] == NVT_TS_TOUCH_INVALID)
108 slot = touch[0] >> NVT_TS_TOUCH_SLOT_SHIFT;
114 switch (touch[0] & NVT_TS_TOUCH_TYPE_MASK) {
123 dev_warn(dev, "slot %d unknown state %d\n", slot, touch[0] & 7);
128 x = (touch[1] << 4) | (touch[3] >> 4);
129 y = (touch[2] << 4) | (touch[3] & 0x0f);