ipoll_dev 387 drivers/input/misc/bma150.c static void bma150_poll_open(struct input_polled_dev *ipoll_dev) ipoll_dev 389 drivers/input/misc/bma150.c struct bma150_data *bma150 = ipoll_dev->private; ipoll_dev 394 drivers/input/misc/bma150.c static void bma150_poll_close(struct input_polled_dev *ipoll_dev) ipoll_dev 396 drivers/input/misc/bma150.c struct bma150_data *bma150 = ipoll_dev->private; ipoll_dev 484 drivers/input/misc/bma150.c struct input_polled_dev *ipoll_dev; ipoll_dev 487 drivers/input/misc/bma150.c ipoll_dev = input_allocate_polled_device(); ipoll_dev 488 drivers/input/misc/bma150.c if (!ipoll_dev) ipoll_dev 491 drivers/input/misc/bma150.c ipoll_dev->private = bma150; ipoll_dev 492 drivers/input/misc/bma150.c ipoll_dev->open = bma150_poll_open; ipoll_dev 493 drivers/input/misc/bma150.c ipoll_dev->close = bma150_poll_close; ipoll_dev 494 drivers/input/misc/bma150.c ipoll_dev->poll = bma150_poll; ipoll_dev 495 drivers/input/misc/bma150.c ipoll_dev->poll_interval = BMA150_POLL_INTERVAL; ipoll_dev 496 drivers/input/misc/bma150.c ipoll_dev->poll_interval_min = BMA150_POLL_MIN; ipoll_dev 497 drivers/input/misc/bma150.c ipoll_dev->poll_interval_max = BMA150_POLL_MAX; ipoll_dev 499 drivers/input/misc/bma150.c bma150_init_input_device(bma150, ipoll_dev->input); ipoll_dev 501 drivers/input/misc/bma150.c bma150->input_polled = ipoll_dev; ipoll_dev 502 drivers/input/misc/bma150.c bma150->input = ipoll_dev->input; ipoll_dev 504 drivers/input/misc/bma150.c error = input_register_polled_device(ipoll_dev); ipoll_dev 506 drivers/input/misc/bma150.c input_free_polled_device(ipoll_dev);