Home
last modified time | relevance | path

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

/linux-3.4.99/arch/x86/platform/olpc/
Dolpc-xo1-sci.c34 static struct input_dev *power_button_idev; variable
217 input_report_key(power_button_idev, KEY_POWER, 1); in xo1_sci_intr()
218 input_sync(power_button_idev); in xo1_sci_intr()
219 input_report_key(power_button_idev, KEY_POWER, 0); in xo1_sci_intr()
220 input_sync(power_button_idev); in xo1_sci_intr()
238 if (device_may_wakeup(&power_button_idev->dev)) in xo1_sci_suspend()
409 power_button_idev = input_allocate_device(); in setup_power_button()
410 if (!power_button_idev) in setup_power_button()
413 power_button_idev->name = "Power Button"; in setup_power_button()
414 power_button_idev->phys = DRV_NAME "/input0"; in setup_power_button()
[all …]