Lines Matching defs:lid_switch
1986 if (tp->lid_switch.lid_switch)
1988 &tp->lid_switch.listener);
2490 struct evdev_device *lid_switch)
2494 if ((lid_switch->tags & EVDEV_TAG_LID_SWITCH) == 0)
2500 if (tp->lid_switch.lid_switch == NULL) {
2504 lid_switch->devname);
2506 libinput_device_add_event_listener(&lid_switch->base,
2507 &tp->lid_switch.listener,
2509 tp->lid_switch.lid_switch = lid_switch;
2652 if (removed_device == tp->lid_switch.lid_switch) {
2654 &tp->lid_switch.listener);
2655 tp->lid_switch.lid_switch = NULL;