Lines Matching refs:seat_slot

233 	int seat_slot;
239 if (slot->seat_slot != -1) {
245 seat_slot = ffs(~seat->slot_map) - 1;
246 slot->seat_slot = seat_slot;
248 if (seat_slot == -1)
251 seat->slot_map |= bit(seat_slot);
256 touch_notify_touch_down(base, time, slot_idx, seat_slot,
271 int seat_slot;
277 seat_slot = slot->seat_slot;
280 if (seat_slot == -1)
287 touch_notify_touch_motion(base, time, slot_idx, seat_slot,
302 int seat_slot;
308 seat_slot = slot->seat_slot;
309 slot->seat_slot = -1;
311 if (seat_slot == -1)
314 seat->slot_map &= ~bit(seat_slot);
316 touch_notify_touch_up(base, time, slot_idx, seat_slot);
330 int seat_slot;
336 seat_slot = slot->seat_slot;
337 slot->seat_slot = -1;
339 if (seat_slot == -1)
342 seat->slot_map &= ~bit(seat_slot);
344 touch_notify_touch_cancel(base, time, slot_idx, seat_slot);
357 int seat_slot;
362 if (dispatch->abs.seat_slot != -1) {
368 seat_slot = ffs(~seat->slot_map) - 1;
369 dispatch->abs.seat_slot = seat_slot;
371 if (seat_slot == -1)
374 seat->slot_map |= bit(seat_slot);
379 touch_notify_touch_down(base, time, -1, seat_slot, &point);
391 int seat_slot;
396 seat_slot = dispatch->abs.seat_slot;
398 if (seat_slot == -1)
401 touch_notify_touch_motion(base, time, -1, seat_slot, &point);
413 int seat_slot;
418 seat_slot = dispatch->abs.seat_slot;
419 dispatch->abs.seat_slot = -1;
421 if (seat_slot == -1)
424 seat->slot_map &= ~bit(seat_slot);
426 touch_notify_touch_up(base, time, -1, seat_slot);
438 int seat_slot;
443 seat_slot = dispatch->abs.seat_slot;
444 dispatch->abs.seat_slot = -1;
446 if (seat_slot == -1)
449 seat->slot_map &= ~bit(seat_slot);
451 touch_notify_touch_cancel(base, time, -1, seat_slot);
1024 if (slot->seat_slot == -1)
1558 slots[slot].seat_slot = -1;
1603 dispatch->abs.seat_slot = -1;