Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c32 static struct input_dev *ebook_switch_idev; variable
87 input_sync(ebook_switch_idev); in send_ebook_state()
88 pm_wakeup_event(&ebook_switch_idev->dev, 0); in send_ebook_state()
470 ebook_switch_idev = input_allocate_device(); in setup_ebook_switch()
471 if (!ebook_switch_idev) in setup_ebook_switch()
474 ebook_switch_idev->name = "EBook Switch"; in setup_ebook_switch()
475 ebook_switch_idev->phys = DRV_NAME "/input1"; in setup_ebook_switch()
476 set_bit(EV_SW, ebook_switch_idev->evbit); in setup_ebook_switch()
479 ebook_switch_idev->dev.parent = &pdev->dev; in setup_ebook_switch()
485 input_free_device(ebook_switch_idev); in setup_ebook_switch()
[all …]