Lines Matching defs:which

53 	if (dev->which == LITEST_TABLET_MODE_UNRELIABLE) {
272 enum litest_device_type which = LITEST_SYNAPTICS_I2C;
274 return litest_add_device(li, which);
282 enum libinput_switch which = _i; /* ranged test */
284 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0)
295 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_ON);
304 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_OFF);
322 enum libinput_switch which = _i; /* ranged test */
324 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0)
337 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_ON);
354 enum libinput_switch which = _i; /* ranged test */
356 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0)
365 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_ON);
394 enum libinput_switch which = _i; /* ranged test */
396 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0)
412 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_ON);
422 litest_is_switch_event(event, which, LIBINPUT_SWITCH_STATE_ON);
434 enum libinput_switch which = _i; /* ranged test */
436 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0)
452 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_OFF);
469 enum libinput_switch which = _i; /* ranged test */
471 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0)
483 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_ON);
493 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_OFF);
510 enum libinput_switch which = _i; /* ranged test */
512 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0)
530 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_ON);
540 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_OFF);
642 enum libinput_switch which = _i; /* ranged test */
646 switch(which) {
663 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_ON);
665 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_OFF);
683 enum libinput_switch which = _i; /* ranged test */
687 switch(which) {
704 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_ON);
706 litest_switch_action(sw, which, LIBINPUT_SWITCH_STATE_OFF);