Lines Matching refs:lid_switch
1979 if (tp->lid_switch.lid_switch) in tp_remove_sendevents()
1981 &tp->lid_switch.listener); in tp_remove_sendevents()
2468 struct evdev_device *lid_switch) in tp_pair_lid_switch() argument
2472 if ((lid_switch->tags & EVDEV_TAG_LID_SWITCH) == 0) in tp_pair_lid_switch()
2478 if (tp->lid_switch.lid_switch == NULL) { in tp_pair_lid_switch()
2482 lid_switch->devname); in tp_pair_lid_switch()
2484 libinput_device_add_event_listener(&lid_switch->base, in tp_pair_lid_switch()
2485 &tp->lid_switch.listener, in tp_pair_lid_switch()
2487 tp->lid_switch.lid_switch = lid_switch; in tp_pair_lid_switch()
2630 if (removed_device == tp->lid_switch.lid_switch) { in tp_interface_device_removed()
2632 &tp->lid_switch.listener); in tp_interface_device_removed()
2633 tp->lid_switch.lid_switch = NULL; in tp_interface_device_removed()