Home
last modified time | relevance | path

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

/drivers/input/
Dinput-poller.c26 static void input_dev_poller_queue_work(struct input_dev_poller *poller) in input_dev_poller_queue_work() argument
30 delay = msecs_to_jiffies(poller->poll_interval); in input_dev_poller_queue_work()
34 queue_delayed_work(system_freezable_wq, &poller->work, delay); in input_dev_poller_queue_work()
39 struct input_dev_poller *poller = in input_dev_poller_work() local
42 poller->poll(poller->input); in input_dev_poller_work()
43 input_dev_poller_queue_work(poller); in input_dev_poller_work()
46 void input_dev_poller_finalize(struct input_dev_poller *poller) in input_dev_poller_finalize() argument
48 if (!poller->poll_interval) in input_dev_poller_finalize()
49 poller->poll_interval = 500; in input_dev_poller_finalize()
50 if (!poller->poll_interval_max) in input_dev_poller_finalize()
[all …]
Dinput-poller.h12 void input_dev_poller_finalize(struct input_dev_poller *poller);
13 void input_dev_poller_start(struct input_dev_poller *poller);
14 void input_dev_poller_stop(struct input_dev_poller *poller);
Dinput.c653 if (dev->poller) in input_open_device()
654 input_dev_poller_start(dev->poller); in input_open_device()
695 if (dev->poller) in input_close_device()
696 input_dev_poller_stop(dev->poller); in input_close_device()
1596 kfree(dev->poller); in input_dev_release()
1770 if (dev->poller) in input_inhibit_device()
1771 input_dev_poller_stop(dev->poller); in input_inhibit_device()
1801 if (dev->poller) in input_uninhibit_device()
1802 input_dev_poller_start(dev->poller); in input_uninhibit_device()
2334 if (dev->poller) in input_register_device()
[all …]
DMakefile9 input-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o
/drivers/staging/nvec/
Dnvec_power.c25 struct delayed_work poller; member
352 poller.work); in nvec_power_poll()
396 INIT_DELAYED_WORK(&power->poller, nvec_power_poll); in nvec_power_probe()
397 schedule_delayed_work(&power->poller, msecs_to_jiffies(5000)); in nvec_power_probe()
423 cancel_delayed_work_sync(&power->poller); in nvec_power_remove()