poller 26 drivers/input/input-poller.c static void input_dev_poller_queue_work(struct input_dev_poller *poller) poller 30 drivers/input/input-poller.c delay = msecs_to_jiffies(poller->poll_interval); poller 34 drivers/input/input-poller.c queue_delayed_work(system_freezable_wq, &poller->work, delay); poller 39 drivers/input/input-poller.c struct input_dev_poller *poller = poller 42 drivers/input/input-poller.c poller->poll(poller->input); poller 43 drivers/input/input-poller.c input_dev_poller_queue_work(poller); poller 46 drivers/input/input-poller.c void input_dev_poller_finalize(struct input_dev_poller *poller) poller 48 drivers/input/input-poller.c if (!poller->poll_interval) poller 49 drivers/input/input-poller.c poller->poll_interval = 500; poller 50 drivers/input/input-poller.c if (!poller->poll_interval_max) poller 51 drivers/input/input-poller.c poller->poll_interval_max = poller->poll_interval; poller 54 drivers/input/input-poller.c void input_dev_poller_start(struct input_dev_poller *poller) poller 57 drivers/input/input-poller.c if (poller->poll_interval > 0) { poller 58 drivers/input/input-poller.c poller->poll(poller->input); poller 59 drivers/input/input-poller.c input_dev_poller_queue_work(poller); poller 63 drivers/input/input-poller.c void input_dev_poller_stop(struct input_dev_poller *poller) poller 65 drivers/input/input-poller.c cancel_delayed_work_sync(&poller->work); poller 71 drivers/input/input-poller.c struct input_dev_poller *poller; poller 73 drivers/input/input-poller.c poller = kzalloc(sizeof(*poller), GFP_KERNEL); poller 74 drivers/input/input-poller.c if (!poller) { poller 85 drivers/input/input-poller.c INIT_DELAYED_WORK(&poller->work, input_dev_poller_work); poller 86 drivers/input/input-poller.c poller->input = dev; poller 87 drivers/input/input-poller.c poller->poll = poll_fn; poller 89 drivers/input/input-poller.c dev->poller = poller; poller 96 drivers/input/input-poller.c if (!dev->poller) { poller 108 drivers/input/input-poller.c dev->poller->poll_interval = interval; poller 115 drivers/input/input-poller.c dev->poller->poll_interval_min = interval; poller 122 drivers/input/input-poller.c dev->poller->poll_interval_max = interval; poller 134 drivers/input/input-poller.c return sprintf(buf, "%d\n", input->poller->poll_interval); poller 142 drivers/input/input-poller.c struct input_dev_poller *poller = input->poller; poller 150 drivers/input/input-poller.c if (interval < poller->poll_interval_min) poller 153 drivers/input/input-poller.c if (interval > poller->poll_interval_max) poller 158 drivers/input/input-poller.c poller->poll_interval = interval; poller 161 drivers/input/input-poller.c cancel_delayed_work_sync(&poller->work); poller 162 drivers/input/input-poller.c if (poller->poll_interval > 0) poller 163 drivers/input/input-poller.c input_dev_poller_queue_work(poller); poller 179 drivers/input/input-poller.c return sprintf(buf, "%d\n", input->poller->poll_interval_max); poller 189 drivers/input/input-poller.c return sprintf(buf, "%d\n", input->poller->poll_interval_min); poller 200 drivers/input/input-poller.c return input->poller ? attr->mode : 0; poller 12 drivers/input/input-poller.h void input_dev_poller_finalize(struct input_dev_poller *poller); poller 13 drivers/input/input-poller.h void input_dev_poller_start(struct input_dev_poller *poller); poller 14 drivers/input/input-poller.h void input_dev_poller_stop(struct input_dev_poller *poller); poller 637 drivers/input/input.c if (dev->poller) poller 638 drivers/input/input.c input_dev_poller_start(dev->poller); poller 679 drivers/input/input.c if (dev->poller) poller 680 drivers/input/input.c input_dev_poller_stop(dev->poller); poller 1546 drivers/input/input.c kfree(dev->poller); poller 2211 drivers/input/input.c if (dev->poller) poller 2212 drivers/input/input.c input_dev_poller_finalize(dev->poller); poller 25 drivers/staging/nvec/nvec_power.c struct delayed_work poller; poller 352 drivers/staging/nvec/nvec_power.c poller.work); poller 396 drivers/staging/nvec/nvec_power.c INIT_DELAYED_WORK(&power->poller, nvec_power_poll); poller 397 drivers/staging/nvec/nvec_power.c schedule_delayed_work(&power->poller, msecs_to_jiffies(5000)); poller 423 drivers/staging/nvec/nvec_power.c cancel_delayed_work_sync(&power->poller); poller 163 include/linux/input.h struct input_dev_poller *poller; poller 772 samples/bpf/xdpsock_user.c ret = pthread_create(&pt, NULL, poller, NULL);