Lines Matching refs:poll_dev
656 struct input_polled_dev *poll_dev; in sur40_probe() local
677 poll_dev = input_allocate_polled_device(); in sur40_probe()
678 if (!poll_dev) { in sur40_probe()
689 poll_dev->private = sur40; in sur40_probe()
690 poll_dev->poll_interval = POLL_INTERVAL; in sur40_probe()
691 poll_dev->open = sur40_open; in sur40_probe()
692 poll_dev->poll = sur40_poll; in sur40_probe()
693 poll_dev->close = sur40_close; in sur40_probe()
696 sur40_input_setup(poll_dev->input); in sur40_probe()
698 poll_dev->input->name = DRIVER_LONG; in sur40_probe()
699 usb_to_input_id(usbdev, &poll_dev->input->id); in sur40_probe()
702 poll_dev->input->phys = sur40->phys; in sur40_probe()
703 poll_dev->input->dev.parent = &interface->dev; in sur40_probe()
707 sur40->input = poll_dev; in sur40_probe()
720 error = input_register_polled_device(poll_dev); in sur40_probe()