Lines Matching refs:poll_dev
88 struct input_polled_dev *poll_dev; member
439 struct input_polled_dev *poll_dev; in kxtj9_setup_polled_device() local
440 poll_dev = input_allocate_polled_device(); in kxtj9_setup_polled_device()
442 if (!poll_dev) { in kxtj9_setup_polled_device()
448 tj9->poll_dev = poll_dev; in kxtj9_setup_polled_device()
449 tj9->input_dev = poll_dev->input; in kxtj9_setup_polled_device()
451 poll_dev->private = tj9; in kxtj9_setup_polled_device()
452 poll_dev->poll = kxtj9_poll; in kxtj9_setup_polled_device()
453 poll_dev->open = kxtj9_polled_input_open; in kxtj9_setup_polled_device()
454 poll_dev->close = kxtj9_polled_input_close; in kxtj9_setup_polled_device()
456 kxtj9_init_input_device(tj9, poll_dev->input); in kxtj9_setup_polled_device()
458 err = input_register_polled_device(poll_dev); in kxtj9_setup_polled_device()
462 input_free_polled_device(poll_dev); in kxtj9_setup_polled_device()
471 input_unregister_polled_device(tj9->poll_dev); in kxtj9_teardown_polled_device()
472 input_free_polled_device(tj9->poll_dev); in kxtj9_teardown_polled_device()