Home
last modified time | relevance | path

Searched refs:lid_switch_idev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c33 static struct input_dev *lid_switch_idev; variable
131 input_sync(lid_switch_idev); in send_lid_state()
132 pm_wakeup_event(&lid_switch_idev->dev, 0); in send_lid_state()
500 lid_switch_idev = input_allocate_device(); in setup_lid_switch()
501 if (!lid_switch_idev) in setup_lid_switch()
504 lid_switch_idev->name = "Lid Switch"; in setup_lid_switch()
506 set_bit(EV_SW, lid_switch_idev->evbit); in setup_lid_switch()
507 set_bit(SW_LID, lid_switch_idev->swbit); in setup_lid_switch()
509 lid_switch_idev->dev.parent = &pdev->dev; in setup_lid_switch()
521 input_free_device(lid_switch_idev); in setup_lid_switch()
[all …]