Home
last modified time | relevance | path

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

/linux/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c32 static struct input_dev *ebook_switch_idev; variable
83 if (test_bit(SW_TABLET_MODE, ebook_switch_idev->sw) == !!state) in send_ebook_state()
86 input_report_switch(ebook_switch_idev, SW_TABLET_MODE, state); in send_ebook_state()
87 input_sync(ebook_switch_idev); in send_ebook_state()
88 pm_wakeup_event(&ebook_switch_idev->dev, 0); in send_ebook_state()
273 if (device_may_wakeup(&ebook_switch_idev->dev)) in xo1_sci_suspend()
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()
[all …]