• Home
  • Raw
  • Download

Lines Matching refs:tdata

192 static void magicmouse_emit_touch(struct magicmouse_sc *msc, int raw_id, u8 *tdata)  in magicmouse_emit_touch()  argument
199 id = (tdata[6] << 2 | tdata[5] >> 6) & 0xf; in magicmouse_emit_touch()
200 x = (tdata[1] << 28 | tdata[0] << 20) >> 20; in magicmouse_emit_touch()
201 y = -((tdata[2] << 24 | tdata[1] << 16) >> 20); in magicmouse_emit_touch()
202 size = tdata[5] & 0x3f; in magicmouse_emit_touch()
203 orientation = (tdata[6] >> 2) - 32; in magicmouse_emit_touch()
204 touch_major = tdata[3]; in magicmouse_emit_touch()
205 touch_minor = tdata[4]; in magicmouse_emit_touch()
206 state = tdata[7] & TOUCH_STATE_MASK; in magicmouse_emit_touch()
209 id = tdata[8] & 0xf; in magicmouse_emit_touch()
210 x = (tdata[1] << 27 | tdata[0] << 19) >> 19; in magicmouse_emit_touch()
211 y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19); in magicmouse_emit_touch()
212 size = tdata[6]; in magicmouse_emit_touch()
213 orientation = (tdata[8] >> 5) - 4; in magicmouse_emit_touch()
214 touch_major = tdata[4]; in magicmouse_emit_touch()
215 touch_minor = tdata[5]; in magicmouse_emit_touch()
216 pressure = tdata[7]; in magicmouse_emit_touch()
217 state = tdata[3] & 0xC0; in magicmouse_emit_touch()
220 id = (tdata[7] << 2 | tdata[6] >> 6) & 0xf; in magicmouse_emit_touch()
221 x = (tdata[1] << 27 | tdata[0] << 19) >> 19; in magicmouse_emit_touch()
222 y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19); in magicmouse_emit_touch()
223 size = tdata[6] & 0x3f; in magicmouse_emit_touch()
224 orientation = (tdata[7] >> 2) - 32; in magicmouse_emit_touch()
225 touch_major = tdata[4]; in magicmouse_emit_touch()
226 touch_minor = tdata[5]; in magicmouse_emit_touch()
227 state = tdata[8] & TOUCH_STATE_MASK; in magicmouse_emit_touch()
300 input_event(input, EV_MSC, MSC_RAW, tdata[7]); in magicmouse_emit_touch()
303 input_event(input, EV_MSC, MSC_RAW, tdata[8]); in magicmouse_emit_touch()