Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c31 static struct input_dev *power_button_idev; variable
233 input_sync(power_button_idev); in xo1_sci_intr()
235 input_sync(power_button_idev); in xo1_sci_intr()
238 pm_wakeup_event(&power_button_idev->dev, 0); in xo1_sci_intr()
440 power_button_idev = input_allocate_device(); in setup_power_button()
441 if (!power_button_idev) in setup_power_button()
444 power_button_idev->name = "Power Button"; in setup_power_button()
446 set_bit(EV_KEY, power_button_idev->evbit); in setup_power_button()
449 power_button_idev->dev.parent = &pdev->dev; in setup_power_button()
455 input_free_device(power_button_idev); in setup_power_button()
[all …]