/linux-6.1.9/drivers/input/ |
D | input-poller.c | 18 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.1.9/drivers/input/keyboard/ |
D | mpr121_touchkey.c | 241 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()
|
D | clps711x-keypad.c | 92 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()
|
D | gpio_keys_polled.c | 165 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-6.1.9/tools/power/x86/intel-speed-select/ |
D | isst-daemon.c | 212 int isst_daemon(int debug_mode, int poll_interval, int no_daemon) argument 216 if (!no_daemon && poll_interval < 0 && !debug_mode) { 226 if (poll_interval < 0) { 237 sleep(poll_interval);
|
/linux-6.1.9/drivers/pcmcia/ |
D | i82365.c | 92 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 …]
|
D | tcic.c | 80 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.1.9/drivers/input/misc/ |
D | kxtj9.c | 162 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-6.1.9/drivers/input/joystick/ |
D | adc-joystick.c | 197 unsigned int poll_interval; in adc_joystick_probe() local 211 error = device_property_read_u32(dev, "poll-interval", &poll_interval); in adc_joystick_probe() 216 } else if (poll_interval == 0) { in adc_joystick_probe() 258 input_set_poll_interval(input, poll_interval); in adc_joystick_probe()
|
/linux-6.1.9/drivers/power/supply/ |
D | bq24735-charger.c | 57 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()
|
D | bq27xxx_battery.c | 1100 static unsigned int poll_interval = 360; variable 1101 module_param_cb(poll_interval, ¶m_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-6.1.9/include/linux/ |
D | gameport.h | 35 unsigned int poll_interval; /* in msecs */ member 210 gameport->poll_interval = msecs; in gameport_set_poll_interval()
|
D | gpio_keys.h | 53 unsigned int poll_interval; member
|
/linux-6.1.9/drivers/iio/common/hid-sensors/ |
D | hid-sensor-trigger.c | 186 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.1.9/drivers/siox/ |
D | siox-core.c | 295 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()
|
D | siox.h | 18 unsigned long poll_interval; /* in jiffies */ member
|
/linux-6.1.9/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_xgmac.c | 479 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()
|
D | xgene_enet_sgmac.c | 539 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.1.9/drivers/input/gameport/ |
D | gameport.c | 182 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-6.1.9/arch/x86/platform/geode/ |
D | geos.c | 43 .poll_interval = 20,
|
D | net5501.c | 45 .poll_interval = 20,
|
D | alix.c | 59 .poll_interval = 20,
|
/linux-6.1.9/arch/sh/boards/mach-rsk/ |
D | devices-rsk7203.c | 108 .poll_interval = 50, /* default to 50ms */
|
/linux-6.1.9/drivers/mfd/ |
D | ucb1x00-assabet.c | 57 keys.poll_interval = 50; in ucb1x00_assabet_add()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_pm4_headers_diq.h | 281 unsigned int poll_interval:16; member
|