Searched refs:ebook_switch_idev (Results 1 – 1 of 1) sorted by relevance
37 static struct input_dev *ebook_switch_idev; variable88 if (!!test_bit(SW_TABLET_MODE, ebook_switch_idev->sw) == state) in send_ebook_state()91 input_report_switch(ebook_switch_idev, SW_TABLET_MODE, state); in send_ebook_state()92 input_sync(ebook_switch_idev); in send_ebook_state()93 pm_wakeup_event(&ebook_switch_idev->dev, 0); in send_ebook_state()272 if (device_may_wakeup(&ebook_switch_idev->dev)) in xo1_sci_suspend()469 ebook_switch_idev = input_allocate_device(); in setup_ebook_switch()470 if (!ebook_switch_idev) in setup_ebook_switch()473 ebook_switch_idev->name = "EBook Switch"; in setup_ebook_switch()474 ebook_switch_idev->phys = DRV_NAME "/input1"; in setup_ebook_switch()[all …]