Home
last modified time | relevance | path

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

/linux-3.4.99/arch/x86/platform/olpc/
Dolpc-xo1-sci.c36 static struct input_dev *lid_switch_idev; variable
126 input_report_switch(lid_switch_idev, SW_LID, !lid_open); in send_lid_state()
127 input_sync(lid_switch_idev); in send_lid_state()
248 if (!device_may_wakeup(&lid_switch_idev->dev)) { in xo1_sci_suspend()
471 lid_switch_idev = input_allocate_device(); in setup_lid_switch()
472 if (!lid_switch_idev) in setup_lid_switch()
475 lid_switch_idev->name = "Lid Switch"; in setup_lid_switch()
476 lid_switch_idev->phys = DRV_NAME "/input2"; in setup_lid_switch()
477 set_bit(EV_SW, lid_switch_idev->evbit); in setup_lid_switch()
478 set_bit(SW_LID, lid_switch_idev->swbit); in setup_lid_switch()
[all …]