Home
last modified time | relevance | path

Searched refs:poll_interval (Results 1 – 25 of 32) sorted by relevance

12

/drivers/input/
Dinput-polldev.c29 delay = msecs_to_jiffies(dev->poll_interval); in input_polldev_queue_work()
53 if (dev->poll_interval > 0) { in input_open_polled_device()
78 return sprintf(buf, "%d\n", polldev->poll_interval); in input_polldev_get_poll()
102 polldev->poll_interval = interval; in input_polldev_set_poll()
106 if (polldev->poll_interval > 0) in input_polldev_set_poll()
207 if (!dev->poll_interval) in input_register_polled_device()
208 dev->poll_interval = 500; in input_register_polled_device()
210 dev->poll_interval_max = dev->poll_interval; in input_register_polled_device()
/drivers/input/misc/
Dgpio_tilt_polled.c108 if (!pdata || !pdata->poll_interval) in gpio_tilt_polled_probe()
133 poll_dev->poll_interval = pdata->poll_interval; in gpio_tilt_polled_probe()
155 pdata->poll_interval); in gpio_tilt_polled_probe()
Dkxtj9.c179 static int kxtj9_update_odr(struct kxtj9_data *tj9, unsigned int poll_interval) in kxtj9_update_odr() argument
187 if (poll_interval < kxtj9_odr_table[i].cutoff) in kxtj9_update_odr()
412 unsigned int poll_interval = dev->poll_interval; in kxtj9_poll() local
416 if (poll_interval != tj9->last_poll_interval) { in kxtj9_poll()
417 kxtj9_update_odr(tj9, poll_interval); in kxtj9_poll()
418 tj9->last_poll_interval = poll_interval; in kxtj9_poll()
Drb532_button.c64 poll_dev->poll_interval = RB532_BTN_RATE; in rb532_button_probe()
Dcobalt_btns.c95 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in cobalt_buttons_probe()
Dsgi_btns.c112 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in sgi_buttons_probe()
Dmma8450.c191 idev->poll_interval = POLL_INTERVAL; in mma8450_probe()
Dwistron_btns.c1166 dev->poll_interval = POLL_INTERVAL_BURST; in wistron_poll()
1168 dev->poll_interval = POLL_INTERVAL_DEFAULT; in wistron_poll()
1213 wistron_idev->poll_interval = POLL_INTERVAL_DEFAULT; in setup_input_dev()
Dapanel.c216 ipdev->poll_interval = POLL_INTERVAL_DEFAULT; in apanel_probe()
/drivers/pcmcia/
Di82365.c92 static int poll_interval = 0; variable
122 module_param(poll_interval, int, 0444);
549 if (!cs_irq && (poll_interval == 0)) poll_interval = HZ; in isa_scan()
697 if (!poll_interval) { in add_pcic()
701 poll_interval = HZ; in add_pcic()
704 if (!grab_irq && (cs_irq || !poll_interval)) { in add_pcic()
719 if (poll_interval == 0) in add_pcic()
720 poll_interval = HZ; in add_pcic()
722 poll_interval * 1000 / HZ); in add_pcic()
881 poll_timer.expires = jiffies + poll_interval; in pcic_interrupt_wrapper()
[all …]
Dtcic.c80 static int poll_interval; variable
94 module_param(poll_interval, int, 0444);
461 if (((scan & (scan-1)) == 0) && (poll_interval == 0)) in init_tcic()
462 poll_interval = HZ; in init_tcic()
464 if (poll_interval == 0) { in init_tcic()
473 if (cs_irq == 0) poll_interval = HZ; in init_tcic()
482 poll_interval * 1000 / HZ); in init_tcic()
577 poll_timer.expires = jiffies + (quick ? poll_quick : poll_interval); in tcic_interrupt()
Dm32r_pcc.c46 static int poll_interval = 0; variable
387 poll_timer.expires = jiffies + poll_interval; in pcc_interrupt_wrapper()
730 if (poll_interval != 0) {
734 poll_timer.expires = jiffies + poll_interval;
750 if (poll_interval != 0)
Dm32r_cfc.c38 static int poll_interval = 0; variable
388 poll_timer.expires = jiffies + poll_interval; in pcc_interrupt_wrapper()
768 if (poll_interval != 0) { in init_m32r_pcc()
772 poll_timer.expires = jiffies + poll_interval; in init_m32r_pcc()
788 if (poll_interval != 0) in exit_m32r_pcc()
/drivers/input/keyboard/
Dgpio_keys_polled.c113 if (!pdata || !pdata->poll_interval) in gpio_keys_polled_probe()
133 poll_dev->poll_interval = pdata->poll_interval; in gpio_keys_polled_probe()
180 pdata->poll_interval); in gpio_keys_polled_probe()
Djornada680_kbd.c208 poll_dev->poll_interval = 50; /* msec */ in jornada680kbd_probe()
/drivers/power/
Dbq27x00_battery.c128 static unsigned int poll_interval = 360; variable
129 module_param(poll_interval, uint, 0644);
130 MODULE_PARM_DESC(poll_interval, "battery poll interval in seconds - " \
355 if (poll_interval > 0) { in bq27x00_battery_poll()
357 set_timer_slack(&di->work.timer, poll_interval * HZ / 4); in bq27x00_battery_poll()
358 schedule_delayed_work(&di->work, poll_interval * HZ); in bq27x00_battery_poll()
602 poll_interval = 0; in bq27x00_powersupply_unregister()
/drivers/input/gameport/
Dgameport.c149 BUG_ON(!gameport->poll_interval); in gameport_start_polling()
150 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval)); in gameport_start_polling()
174 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval)); in gameport_run_poll_handler()
785 gameport->poll_interval = 0; in gameport_close()
/drivers/mfd/
Ducb1x00-assabet.c60 keys.poll_interval = 50; in ucb1x00_assabet_add()
/drivers/sbus/char/
Denvctrl.c992 int poll_interval; in kenvctrld() local
1003 poll_interval = 5000; /* TODO env_mon_interval */ in kenvctrld()
1007 msleep_interruptible(poll_interval); in kenvctrld()
/drivers/macintosh/ams/
Dams-input.c71 ams_info.idev->poll_interval = 25; in ams_input_enable()
/drivers/media/video/saa7164/
Dsaa7164-core.c452 saa7164_histogram_print(port, &port->poll_interval); in saa7164_work_enchandler()
528 saa7164_histogram_print(port, &port->poll_interval); in saa7164_work_vbihandler()
990 saa7164_histogram_reset(&port->poll_interval, in saa7164_port_init()
1439 &dev->ports[SAA7164_PORT_ENC1].poll_interval); in saa7164_finidev()
1443 &dev->ports[SAA7164_PORT_VBI2].poll_interval); in saa7164_finidev()
Dsaa7164.h372 struct saa7164_histogram poll_interval; member
/drivers/input/mouse/
Dgpio_mouse.c109 input_poll->poll_interval = pdata->scan_ms; in gpio_mouse_probe()
/drivers/acpi/apei/
Dghes.c696 if (!g->notify.poll_interval) { in ghes_add_timer()
701 expire = jiffies + msecs_to_jiffies(g->notify.poll_interval); in ghes_add_timer()
/drivers/platform/x86/
Dhdaps.c578 hdaps_idev->poll_interval = HDAPS_POLL_INTERVAL; in hdaps_init()

12