Searched refs:ipoll_dev (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/input/misc/
H A Dbma150.c402 static void bma150_poll_open(struct input_polled_dev *ipoll_dev) bma150_poll_open() argument
404 struct bma150_data *bma150 = ipoll_dev->private; bma150_poll_open()
409 static void bma150_poll_close(struct input_polled_dev *ipoll_dev) bma150_poll_close() argument
411 struct bma150_data *bma150 = ipoll_dev->private; bma150_poll_close()
498 struct input_polled_dev *ipoll_dev; bma150_register_polled_device() local
501 ipoll_dev = input_allocate_polled_device(); bma150_register_polled_device()
502 if (!ipoll_dev) bma150_register_polled_device()
505 ipoll_dev->private = bma150; bma150_register_polled_device()
506 ipoll_dev->open = bma150_poll_open; bma150_register_polled_device()
507 ipoll_dev->close = bma150_poll_close; bma150_register_polled_device()
508 ipoll_dev->poll = bma150_poll; bma150_register_polled_device()
509 ipoll_dev->poll_interval = BMA150_POLL_INTERVAL; bma150_register_polled_device()
510 ipoll_dev->poll_interval_min = BMA150_POLL_MIN; bma150_register_polled_device()
511 ipoll_dev->poll_interval_max = BMA150_POLL_MAX; bma150_register_polled_device()
513 bma150_init_input_device(bma150, ipoll_dev->input); bma150_register_polled_device()
515 error = input_register_polled_device(ipoll_dev); bma150_register_polled_device()
517 input_free_polled_device(ipoll_dev); bma150_register_polled_device()
521 bma150->input_polled = ipoll_dev; bma150_register_polled_device()
522 bma150->input = ipoll_dev->input; bma150_register_polled_device()

Completed in 56 milliseconds