Searched refs:polldev (Results 1 – 5 of 5) sorted by relevance
75 struct input_polled_dev *polldev = dev_get_drvdata(dev); in input_polldev_get_poll() local77 return sprintf(buf, "%d\n", polldev->poll_interval); in input_polldev_get_poll()84 struct input_polled_dev *polldev = dev_get_drvdata(dev); in input_polldev_set_poll() local85 struct input_dev *input = polldev->input; in input_polldev_set_poll()93 if (interval < polldev->poll_interval_min) in input_polldev_set_poll()96 if (interval > polldev->poll_interval_max) in input_polldev_set_poll()101 polldev->poll_interval = interval; in input_polldev_set_poll()104 cancel_delayed_work_sync(&polldev->work); in input_polldev_set_poll()105 if (polldev->poll_interval > 0) in input_polldev_set_poll()106 input_polldev_queue_work(polldev); in input_polldev_set_poll()[all …]
12 obj-$(CONFIG_INPUT_POLLDEV) += input-polldev.o
65 module will be called input-polldev.
31 .. kernel-doc:: include/linux/input-polldev.h34 .. kernel-doc:: drivers/input/input-polldev.c
392 static void sur40_open(struct input_polled_dev *polldev) in sur40_open() argument394 struct sur40_state *sur40 = polldev->private; in sur40_open()401 static void sur40_close(struct input_polled_dev *polldev) in sur40_close() argument403 struct sur40_state *sur40 = polldev->private; in sur40_close()455 static void sur40_poll(struct input_polled_dev *polldev) in sur40_poll() argument457 struct sur40_state *sur40 = polldev->private; in sur40_poll()458 struct input_dev *input = polldev->input; in sur40_poll()