Home
last modified time | relevance | path

Searched refs:poll_interval (Results 1 – 25 of 37) 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()
313 if (!dev->poll_interval) in input_register_polled_device()
314 dev->poll_interval = 500; in input_register_polled_device()
316 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()
Dsgi_btns.c111 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in sgi_buttons_probe()
Dcobalt_btns.c94 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in cobalt_buttons_probe()
Dmma8450.c191 idev->poll_interval = POLL_INTERVAL; in mma8450_probe()
Dwistron_btns.c1185 dev->poll_interval = POLL_INTERVAL_BURST; in wistron_poll()
1187 dev->poll_interval = POLL_INTERVAL_DEFAULT; in wistron_poll()
1232 wistron_idev->poll_interval = POLL_INTERVAL_DEFAULT; in setup_input_dev()
Dapanel.c216 ipdev->poll_interval = POLL_INTERVAL_DEFAULT; in apanel_probe()
/drivers/input/keyboard/
Dclps711x-keypad.c96 u32 poll_interval; in clps711x_keypad_probe() local
133 err = of_property_read_u32(np, "poll-interval", &poll_interval); in clps711x_keypad_probe()
143 poll_dev->poll_interval = poll_interval; in clps711x_keypad_probe()
Dgpio_keys_polled.c132 of_property_read_u32(node, "poll-interval", &pdata->poll_interval); in gpio_keys_polled_get_devtree_pdata()
220 if (!pdata->poll_interval) { in gpio_keys_polled_probe()
241 poll_dev->poll_interval = pdata->poll_interval; in gpio_keys_polled_probe()
281 pdata->poll_interval); in gpio_keys_polled_probe()
Djornada680_kbd.c209 poll_dev->poll_interval = 50; /* msec */ in jornada680kbd_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/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c297 u32 link_status, poll_interval; in xgene_enet_link_state() local
308 poll_interval = PHY_POLL_LINK_ON; in xgene_enet_link_state()
316 poll_interval = PHY_POLL_LINK_OFF; in xgene_enet_link_state()
319 schedule_delayed_work(&pdata->link_work, poll_interval); in xgene_enet_link_state()
Dxgene_enet_sgmac.c352 u32 link, poll_interval; in xgene_enet_link_state() local
363 poll_interval = PHY_POLL_LINK_ON; in xgene_enet_link_state()
371 poll_interval = PHY_POLL_LINK_OFF; in xgene_enet_link_state()
374 schedule_delayed_work(&p->link_work, poll_interval); in xgene_enet_link_state()
/drivers/power/
Dbq27x00_battery.c176 static unsigned int poll_interval = 360; variable
177 module_param(poll_interval, uint, 0644);
178 MODULE_PARM_DESC(poll_interval, "battery poll interval in seconds - " \
511 if (poll_interval > 0) { in bq27x00_battery_poll()
513 set_timer_slack(&di->work.timer, poll_interval * HZ / 4); in bq27x00_battery_poll()
514 schedule_delayed_work(&di->work, poll_interval * HZ); in bq27x00_battery_poll()
774 poll_interval = 0; in bq27x00_powersupply_unregister()
/drivers/input/gameport/
Dgameport.c186 BUG_ON(!gameport->poll_interval); in gameport_start_polling()
187 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval)); in gameport_start_polling()
211 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval)); in gameport_run_poll_handler()
829 gameport->poll_interval = 0; in gameport_close()
/drivers/mfd/
Ducb1x00-assabet.c60 keys.poll_interval = 50; in ucb1x00_assabet_add()
/drivers/sbus/char/
Denvctrl.c991 int poll_interval; in kenvctrld() local
1002 poll_interval = 5000; /* TODO env_mon_interval */ in kenvctrld()
1006 msleep_interruptible(poll_interval); in kenvctrld()
/drivers/media/pci/saa7164/
Dsaa7164-core.c432 saa7164_histogram_print(port, &port->poll_interval); in saa7164_work_enchandler()
508 saa7164_histogram_print(port, &port->poll_interval); in saa7164_work_vbihandler()
952 saa7164_histogram_reset(&port->poll_interval, in saa7164_port_init()
1410 &dev->ports[SAA7164_PORT_ENC1].poll_interval); in saa7164_finidev()
1414 &dev->ports[SAA7164_PORT_VBI2].poll_interval); in saa7164_finidev()
/drivers/macintosh/ams/
Dams-input.c71 ams_info.idev->poll_interval = 25; in ams_input_enable()
/drivers/input/mouse/
Dgpio_mouse.c108 input_poll->poll_interval = pdata->scan_ms; in gpio_mouse_probe()

12