Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/input/
Dinput-poller.c18 unsigned int poll_interval; /* msec */ member
30 delay = msecs_to_jiffies(poller->poll_interval); in input_dev_poller_queue_work()
48 if (!poller->poll_interval) in input_dev_poller_finalize()
49 poller->poll_interval = 500; in input_dev_poller_finalize()
51 poller->poll_interval_max = poller->poll_interval; in input_dev_poller_finalize()
57 if (poller->poll_interval > 0) { in input_dev_poller_start()
108 dev->poller->poll_interval = interval; in input_set_poll_interval()
131 return dev->poller->poll_interval; in input_get_poll_interval()
143 return sprintf(buf, "%d\n", input->poller->poll_interval); in input_dev_get_poll_interval()
167 poller->poll_interval = interval; in input_dev_set_poll_interval()
[all …]
/linux-5.19.10/drivers/input/keyboard/
Dmpr121_touchkey.c241 u32 poll_interval = 0; in mpr_touchkey_probe() local
297 device_property_read_u32(dev, "poll-interval", &poll_interval); in mpr_touchkey_probe()
309 } else if (poll_interval) { in mpr_touchkey_probe()
310 if (poll_interval < MPR121_MIN_POLL_INTERVAL) in mpr_touchkey_probe()
313 if (poll_interval > MPR121_MAX_POLL_INTERVAL) in mpr_touchkey_probe()
322 input_set_poll_interval(input_dev, poll_interval); in mpr_touchkey_probe()
Dclps711x-keypad.c91 u32 poll_interval; in clps711x_keypad_probe() local
122 err = of_property_read_u32(np, "poll-interval", &poll_interval); in clps711x_keypad_probe()
158 input_set_poll_interval(input, poll_interval); in clps711x_keypad_probe()
Dgpio_keys_polled.c165 device_property_read_u32(dev, "poll-interval", &pdata->poll_interval); in gpio_keys_polled_get_devtree_pdata()
244 if (!pdata->poll_interval) { in gpio_keys_polled_probe()
340 pdata->poll_interval); in gpio_keys_polled_probe()
360 input_set_poll_interval(input, pdata->poll_interval); in gpio_keys_polled_probe()
/linux-5.19.10/tools/power/x86/intel-speed-select/
Disst-daemon.c214 int isst_daemon(int debug_mode, int poll_interval, int no_daemon) argument
218 if (!no_daemon && poll_interval < 0 && !debug_mode) {
228 if (poll_interval < 0) {
239 sleep(poll_interval);
/linux-5.19.10/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);
458 if (((scan & (scan-1)) == 0) && (poll_interval == 0)) in init_tcic()
459 poll_interval = HZ; in init_tcic()
461 if (poll_interval == 0) { in init_tcic()
470 if (cs_irq == 0) poll_interval = HZ; in init_tcic()
479 poll_interval * 1000 / HZ); in init_tcic()
574 poll_timer.expires = jiffies + (quick ? poll_quick : poll_interval); in tcic_interrupt()
/linux-5.19.10/drivers/input/misc/
Dkxtj9.c162 static int kxtj9_update_odr(struct kxtj9_data *tj9, unsigned int poll_interval) in kxtj9_update_odr() argument
170 if (poll_interval < kxtj9_odr_table[i].cutoff) in kxtj9_update_odr()
349 unsigned int poll_interval = input_get_poll_interval(input); in kxtj9_poll() local
353 if (poll_interval != tj9->last_poll_interval) { in kxtj9_poll()
354 kxtj9_update_odr(tj9, poll_interval); in kxtj9_poll()
355 tj9->last_poll_interval = poll_interval; in kxtj9_poll()
/linux-5.19.10/drivers/power/supply/
Dbq24735-charger.c57 u32 poll_interval; member
252 msecs_to_jiffies(charger->poll_interval)); in bq24735_poll()
474 &charger->poll_interval); in bq24735_charger_probe()
477 if (!charger->poll_interval) in bq24735_charger_probe()
486 msecs_to_jiffies(charger->poll_interval)); in bq24735_charger_probe()
Dbq27xxx_battery.c1100 static unsigned int poll_interval = 360; variable
1101 module_param_cb(poll_interval, &param_ops_poll_interval, &poll_interval, 0644);
1102 MODULE_PARM_DESC(poll_interval,
1814 if (poll_interval > 0)
1815 schedule_delayed_work(&di->work, poll_interval * HZ);
2136 poll_interval = 0;
/linux-5.19.10/include/linux/
Dgameport.h35 unsigned int poll_interval; /* in msecs */ member
210 gameport->poll_interval = msecs; in gameport_set_poll_interval()
Dgpio_keys.h53 unsigned int poll_interval; member
/linux-5.19.10/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c186 if (attrb->poll_interval >= 0) in hid_sensor_set_power_work()
189 sizeof(attrb->poll_interval), in hid_sensor_set_power_work()
190 &attrb->poll_interval); in hid_sensor_set_power_work()
/linux-5.19.10/drivers/siox/
Dsiox-core.c295 smaster->last_poll + smaster->poll_interval; in siox_poll_thread()
299 timeout = smaster->poll_interval - in siox_poll_thread()
637 return sprintf(buf, "%lld\n", jiffies_to_nsecs(smaster->poll_interval)); in poll_interval_ns_show()
654 smaster->poll_interval = nsecs_to_jiffies(val); in poll_interval_ns_store()
702 smaster->poll_interval = DIV_ROUND_UP(HZ, 40); in siox_master_alloc()
Dsiox.h18 unsigned long poll_interval; /* in jiffies */ member
/linux-5.19.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c479 u32 link_status, poll_interval; in xgene_enet_link_state() local
494 poll_interval = PHY_POLL_LINK_ON; in xgene_enet_link_state()
502 poll_interval = PHY_POLL_LINK_OFF; in xgene_enet_link_state()
507 schedule_delayed_work(&pdata->link_work, poll_interval); in xgene_enet_link_state()
Dxgene_enet_sgmac.c539 u32 link, poll_interval; in xgene_enet_link_state() local
551 poll_interval = PHY_POLL_LINK_ON; in xgene_enet_link_state()
559 poll_interval = PHY_POLL_LINK_OFF; in xgene_enet_link_state()
562 schedule_delayed_work(&p->link_work, poll_interval); in xgene_enet_link_state()
/linux-5.19.10/arch/x86/platform/geode/
Dgeos.c43 .poll_interval = 20,
Dnet5501.c45 .poll_interval = 20,
Dalix.c59 .poll_interval = 20,
/linux-5.19.10/drivers/input/gameport/
Dgameport.c182 BUG_ON(!gameport->poll_interval); in gameport_start_polling()
183 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval)); in gameport_start_polling()
207 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval)); in gameport_run_poll_handler()
822 gameport->poll_interval = 0; in gameport_close()
/linux-5.19.10/arch/sh/boards/mach-rsk/
Ddevices-rsk7203.c108 .poll_interval = 50, /* default to 50ms */
/linux-5.19.10/drivers/mfd/
Ducb1x00-assabet.c57 keys.poll_interval = 50; in ucb1x00_assabet_add()
/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_pm4_headers_diq.h281 unsigned int poll_interval:16; member
/linux-5.19.10/drivers/platform/x86/
Dmeraki-mx100.c135 .poll_interval = 20,

12