ebook_switch_idev 33 arch/x86/platform/olpc/olpc-xo1-sci.c static struct input_dev *ebook_switch_idev; ebook_switch_idev 84 arch/x86/platform/olpc/olpc-xo1-sci.c if (!!test_bit(SW_TABLET_MODE, ebook_switch_idev->sw) == state) ebook_switch_idev 87 arch/x86/platform/olpc/olpc-xo1-sci.c input_report_switch(ebook_switch_idev, SW_TABLET_MODE, state); ebook_switch_idev 88 arch/x86/platform/olpc/olpc-xo1-sci.c input_sync(ebook_switch_idev); ebook_switch_idev 89 arch/x86/platform/olpc/olpc-xo1-sci.c pm_wakeup_event(&ebook_switch_idev->dev, 0); ebook_switch_idev 274 arch/x86/platform/olpc/olpc-xo1-sci.c if (device_may_wakeup(&ebook_switch_idev->dev)) ebook_switch_idev 471 arch/x86/platform/olpc/olpc-xo1-sci.c ebook_switch_idev = input_allocate_device(); ebook_switch_idev 472 arch/x86/platform/olpc/olpc-xo1-sci.c if (!ebook_switch_idev) ebook_switch_idev 475 arch/x86/platform/olpc/olpc-xo1-sci.c ebook_switch_idev->name = "EBook Switch"; ebook_switch_idev 476 arch/x86/platform/olpc/olpc-xo1-sci.c ebook_switch_idev->phys = DRV_NAME "/input1"; ebook_switch_idev 477 arch/x86/platform/olpc/olpc-xo1-sci.c set_bit(EV_SW, ebook_switch_idev->evbit); ebook_switch_idev 478 arch/x86/platform/olpc/olpc-xo1-sci.c set_bit(SW_TABLET_MODE, ebook_switch_idev->swbit); ebook_switch_idev 480 arch/x86/platform/olpc/olpc-xo1-sci.c ebook_switch_idev->dev.parent = &pdev->dev; ebook_switch_idev 481 arch/x86/platform/olpc/olpc-xo1-sci.c device_set_wakeup_capable(&ebook_switch_idev->dev, true); ebook_switch_idev 483 arch/x86/platform/olpc/olpc-xo1-sci.c r = input_register_device(ebook_switch_idev); ebook_switch_idev 486 arch/x86/platform/olpc/olpc-xo1-sci.c input_free_device(ebook_switch_idev); ebook_switch_idev 494 arch/x86/platform/olpc/olpc-xo1-sci.c input_unregister_device(ebook_switch_idev);