Searched refs:swev (Results 1 – 3 of 3) sorted by relevance
1434 struct libinput_event_switch *swev; in fallback_tablet_mode_switch_event() local1439 swev = libinput_event_get_switch_event(event); in fallback_tablet_mode_switch_event()1440 if (libinput_event_switch_get_switch(swev) != in fallback_tablet_mode_switch_event()1444 switch (libinput_event_switch_get_switch_state(swev)) { in fallback_tablet_mode_switch_event()
2434 struct libinput_event_switch *swev; in tp_lid_switch_event() local2439 swev = libinput_event_get_switch_event(event); in tp_lid_switch_event()2440 if (libinput_event_switch_get_switch(swev) != LIBINPUT_SWITCH_LID) in tp_lid_switch_event()2443 switch (libinput_event_switch_get_switch_state(swev)) { in tp_lid_switch_event()2461 struct libinput_event_switch *swev; in tp_tablet_mode_switch_event() local2466 swev = libinput_event_get_switch_event(event); in tp_tablet_mode_switch_event()2467 if (libinput_event_switch_get_switch(swev) != in tp_tablet_mode_switch_event()2471 switch (libinput_event_switch_get_switch_state(swev)) { in tp_tablet_mode_switch_event()
3946 struct libinput_event_switch *swev; in litest_is_switch_event() local3951 swev = libinput_event_get_switch_event(event); in litest_is_switch_event()3953 litest_assert_int_eq(libinput_event_switch_get_switch(swev), sw); in litest_is_switch_event()3954 litest_assert_int_eq(libinput_event_switch_get_switch_state(swev), in litest_is_switch_event()3957 return swev; in litest_is_switch_event()