Lines Matching refs:poll_dev
61 struct input_polled_dev *poll_dev; member
96 struct input_polled_dev *poll_dev; in sgi_buttons_probe() local
101 poll_dev = input_allocate_polled_device(); in sgi_buttons_probe()
102 if (!bdev || !poll_dev) { in sgi_buttons_probe()
109 poll_dev->private = bdev; in sgi_buttons_probe()
110 poll_dev->poll = handle_buttons; in sgi_buttons_probe()
111 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in sgi_buttons_probe()
113 input = poll_dev->input; in sgi_buttons_probe()
129 bdev->poll_dev = poll_dev; in sgi_buttons_probe()
132 error = input_register_polled_device(poll_dev); in sgi_buttons_probe()
139 input_free_polled_device(poll_dev); in sgi_buttons_probe()
148 input_unregister_polled_device(bdev->poll_dev); in sgi_buttons_remove()
149 input_free_polled_device(bdev->poll_dev); in sgi_buttons_remove()