Searched refs:swev (Results 1 – 3 of 3) sorted by relevance
2417 struct libinput_event_switch *swev; in tp_lid_switch_event() local2422 swev = libinput_event_get_switch_event(event); in tp_lid_switch_event()2423 if (libinput_event_switch_get_switch(swev) != LIBINPUT_SWITCH_LID) in tp_lid_switch_event()2426 switch (libinput_event_switch_get_switch_state(swev)) { in tp_lid_switch_event()2444 struct libinput_event_switch *swev; in tp_tablet_mode_switch_event() local2449 swev = libinput_event_get_switch_event(event); in tp_tablet_mode_switch_event()2450 if (libinput_event_switch_get_switch(swev) != in tp_tablet_mode_switch_event()2454 switch (libinput_event_switch_get_switch_state(swev)) { in tp_tablet_mode_switch_event()
1352 struct libinput_event_switch *swev; in fallback_tablet_mode_switch_event() local1357 swev = libinput_event_get_switch_event(event); in fallback_tablet_mode_switch_event()1358 if (libinput_event_switch_get_switch(swev) != in fallback_tablet_mode_switch_event()1362 switch (libinput_event_switch_get_switch_state(swev)) { in fallback_tablet_mode_switch_event()
3763 struct libinput_event_switch *swev; in litest_is_switch_event() local3768 swev = libinput_event_get_switch_event(event); in litest_is_switch_event()3770 litest_assert_int_eq(libinput_event_switch_get_switch(swev), sw); in litest_is_switch_event()3771 litest_assert_int_eq(libinput_event_switch_get_switch_state(swev), in litest_is_switch_event()3774 return swev; in litest_is_switch_event()