Lines Matching refs:tdata

210 static void magicmouse_emit_touch(struct magicmouse_sc *msc, int raw_id, u8 *tdata)  in magicmouse_emit_touch()  argument
218 id = (tdata[6] << 2 | tdata[5] >> 6) & 0xf; in magicmouse_emit_touch()
219 x = (tdata[1] << 28 | tdata[0] << 20) >> 20; in magicmouse_emit_touch()
220 y = -((tdata[2] << 24 | tdata[1] << 16) >> 20); in magicmouse_emit_touch()
221 size = tdata[5] & 0x3f; in magicmouse_emit_touch()
222 orientation = (tdata[6] >> 2) - 32; in magicmouse_emit_touch()
223 touch_major = tdata[3]; in magicmouse_emit_touch()
224 touch_minor = tdata[4]; in magicmouse_emit_touch()
225 state = tdata[7] & TOUCH_STATE_MASK; in magicmouse_emit_touch()
228 id = tdata[8] & 0xf; in magicmouse_emit_touch()
229 x = (tdata[1] << 27 | tdata[0] << 19) >> 19; in magicmouse_emit_touch()
230 y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19); in magicmouse_emit_touch()
231 size = tdata[6]; in magicmouse_emit_touch()
232 orientation = (tdata[8] >> 5) - 4; in magicmouse_emit_touch()
233 touch_major = tdata[4]; in magicmouse_emit_touch()
234 touch_minor = tdata[5]; in magicmouse_emit_touch()
235 pressure = tdata[7]; in magicmouse_emit_touch()
236 state = tdata[3] & 0xC0; in magicmouse_emit_touch()
239 id = (tdata[7] << 2 | tdata[6] >> 6) & 0xf; in magicmouse_emit_touch()
240 x = (tdata[1] << 27 | tdata[0] << 19) >> 19; in magicmouse_emit_touch()
241 y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19); in magicmouse_emit_touch()
242 size = tdata[6] & 0x3f; in magicmouse_emit_touch()
243 orientation = (tdata[7] >> 2) - 32; in magicmouse_emit_touch()
244 touch_major = tdata[4]; in magicmouse_emit_touch()
245 touch_minor = tdata[5]; in magicmouse_emit_touch()
246 state = tdata[8] & TOUCH_STATE_MASK; in magicmouse_emit_touch()
365 input_event(input, EV_MSC, MSC_RAW, tdata[7]); in magicmouse_emit_touch()
368 input_event(input, EV_MSC, MSC_RAW, tdata[8]); in magicmouse_emit_touch()