Home
last modified time | relevance | path

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

12

/linux-6.12.1/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-6.12.1/drivers/input/joystick/
Dadc-joystick.c233 unsigned int poll_interval = 0; in adc_joystick_probe() local
245 error = device_property_read_u32(dev, "poll-interval", &poll_interval); in adc_joystick_probe()
250 } else if (poll_interval == 0) { in adc_joystick_probe()
255 error = adc_joystick_count_channels(dev, chans, poll_interval != 0, in adc_joystick_probe()
281 if (poll_interval != 0) { in adc_joystick_probe()
283 input_set_poll_interval(input, poll_interval); in adc_joystick_probe()
/linux-6.12.1/drivers/input/keyboard/
Dmpr121_touchkey.c240 u32 poll_interval = 0; in mpr_touchkey_probe() local
296 device_property_read_u32(dev, "poll-interval", &poll_interval); in mpr_touchkey_probe()
308 } else if (poll_interval) { in mpr_touchkey_probe()
309 if (poll_interval < MPR121_MIN_POLL_INTERVAL) in mpr_touchkey_probe()
312 if (poll_interval > MPR121_MAX_POLL_INTERVAL) in mpr_touchkey_probe()
321 input_set_poll_interval(input_dev, poll_interval); in mpr_touchkey_probe()
Dclps711x-keypad.c92 u32 poll_interval; in clps711x_keypad_probe() local
123 err = device_property_read_u32(dev, "poll-interval", &poll_interval); in clps711x_keypad_probe()
159 input_set_poll_interval(input, poll_interval); in clps711x_keypad_probe()
Dgpio_keys_polled.c164 device_property_read_u32(dev, "poll-interval", &pdata->poll_interval); in gpio_keys_polled_get_devtree_pdata()
242 if (!pdata->poll_interval) { in gpio_keys_polled_probe()
332 pdata->poll_interval); in gpio_keys_polled_probe()
352 input_set_poll_interval(input, pdata->poll_interval); in gpio_keys_polled_probe()
/linux-6.12.1/tools/power/x86/intel-speed-select/
Disst-daemon.c226 int isst_daemon(int debug_mode, int poll_interval, int no_daemon) argument
230 if (!no_daemon && poll_interval < 0 && !debug_mode) {
240 if (poll_interval < 0) {
251 sleep(poll_interval);
/linux-6.12.1/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-6.12.1/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()
360 unsigned int poll_interval = input_get_poll_interval(input); in kxtj9_poll() local
364 if (poll_interval != tj9->last_poll_interval) { in kxtj9_poll()
365 kxtj9_update_odr(tj9, poll_interval); in kxtj9_poll()
366 tj9->last_poll_interval = poll_interval; in kxtj9_poll()
/linux-6.12.1/drivers/power/supply/
Dbq24735-charger.c57 u32 poll_interval; member
252 msecs_to_jiffies(charger->poll_interval)); in bq24735_poll()
473 &charger->poll_interval); in bq24735_charger_probe()
476 if (!charger->poll_interval) in bq24735_charger_probe()
485 msecs_to_jiffies(charger->poll_interval)); in bq24735_charger_probe()
/linux-6.12.1/drivers/net/ethernet/amd/pds_core/
Dadminq.c238 unsigned long poll_interval = 1; in pdsc_adminq_post() local
264 poll_jiffies = msecs_to_jiffies(poll_interval); in pdsc_adminq_post()
288 if (!fast_poll && poll_interval < PDSC_ADMINQ_MAX_POLL_INTERVAL) in pdsc_adminq_post()
289 poll_interval <<= 1; in pdsc_adminq_post()
/linux-6.12.1/include/linux/
Dgameport.h34 unsigned int poll_interval; /* in msecs */ member
203 gameport->poll_interval = msecs; in gameport_set_poll_interval()
Dgpio_keys.h55 unsigned int poll_interval; member
/linux-6.12.1/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-6.12.1/drivers/usb/host/
Dxhci-dbgcap.c640 msecs_to_jiffies(dbc->poll_interval)); in xhci_dbc_start()
935 unsigned int poll_interval; in xhci_dbc_handle_events() local
938 poll_interval = dbc->poll_interval; in xhci_dbc_handle_events()
957 poll_interval = 1; in xhci_dbc_handle_events()
965 msecs_to_jiffies(poll_interval)); in xhci_dbc_handle_events()
1194 return sysfs_emit(buf, "%u\n", dbc->poll_interval); in dbc_poll_interval_ms_show()
1213 dbc->poll_interval = value; in dbc_poll_interval_ms_store()
1255 dbc->poll_interval = DBC_POLL_INTERVAL_DEFAULT; in xhci_alloc_dbc()
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/input/gameport/
Dgameport.c181 BUG_ON(!gameport->poll_interval); in gameport_start_polling()
182 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval)); in gameport_start_polling()
206 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval)); in gameport_run_poll_handler()
852 gameport->poll_interval = 0; in gameport_close()
/linux-6.12.1/arch/sh/boards/mach-rsk/
Ddevices-rsk7203.c108 .poll_interval = 50, /* default to 50ms */
/linux-6.12.1/drivers/mfd/
Ducb1x00-assabet.c57 keys.poll_interval = 50; in ucb1x00_assabet_add()
/linux-6.12.1/drivers/platform/x86/
Dmeraki-mx100.c135 .poll_interval = 20,
/linux-6.12.1/drivers/infiniband/hw/efa/
Defa_com.h64 u16 poll_interval; /* msecs */ member
/linux-6.12.1/drivers/sbus/char/
Denvctrl.c985 int poll_interval; in kenvctrld() local
996 poll_interval = 5000; /* TODO env_mon_interval */ in kenvctrld()
1000 msleep_interruptible(poll_interval); in kenvctrld()

12