Home
last modified time | relevance | path

Searched refs:polldev (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/input/
Dinput-polldev.c75 struct input_polled_dev *polldev = dev_get_drvdata(dev); in input_polldev_get_poll() local
77 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() local
85 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 …]
DMakefile12 obj-$(CONFIG_INPUT_POLLDEV) += input-polldev.o
DKconfig65 module will be called input-polldev.
/Linux-v4.19/Documentation/driver-api/
Dinput.rst31 .. kernel-doc:: include/linux/input-polldev.h
34 .. kernel-doc:: drivers/input/input-polldev.c
/Linux-v4.19/drivers/input/touchscreen/
Dsur40.c392 static void sur40_open(struct input_polled_dev *polldev) in sur40_open() argument
394 struct sur40_state *sur40 = polldev->private; in sur40_open()
401 static void sur40_close(struct input_polled_dev *polldev) in sur40_close() argument
403 struct sur40_state *sur40 = polldev->private; in sur40_close()
455 static void sur40_poll(struct input_polled_dev *polldev) in sur40_poll() argument
457 struct sur40_state *sur40 = polldev->private; in sur40_poll()
458 struct input_dev *input = polldev->input; in sur40_poll()