Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/hwtracing/stm/
Dheartbeat.c39 hrtimer_forward_now(hr, ms_to_ktime(interval_ms)); in stm_heartbeat_hrtimer_handler()
50 hrtimer_start(&heartbeat->hrtimer, ms_to_ktime(interval_ms), in stm_heartbeat_link()
/Linux-v5.15/drivers/hwmon/
Daht10.c185 data->min_poll_interval = ms_to_ktime(clamp_val(val, 2000, LONG_MAX)); in aht10_interval_write()
307 data->min_poll_interval = ms_to_ktime(AHT10_DEFAULT_MIN_POLL_INTERVAL); in aht10_probe()
Dbt1-pvt.c699 cache = kt = ms_to_ktime(val); in pvt_write_timeout()
/Linux-v5.15/arch/powerpc/kernel/
Dwatchdog.c306 hrtimer_forward_now(hrtimer, ms_to_ktime(wd_timer_period_ms)); in watchdog_timer_fn()
353 hrtimer_start(hrtimer, ms_to_ktime(wd_timer_period_ms), in start_watchdog()
/Linux-v5.15/drivers/watchdog/
Dwatchdog_dev.c107 ms_to_ktime(timeout_ms)); in watchdog_next_keepalive()
112 keepalive_interval = ms_to_ktime(hw_heartbeat_ms / 2); in watchdog_next_keepalive()
119 last_heartbeat = ktime_sub(virt_timeout, ms_to_ktime(hw_heartbeat_ms)); in watchdog_next_keepalive()
148 ms_to_ktime(wdd->min_hw_heartbeat_ms)); in __watchdog_ping()
1174 wd_data->last_hw_keepalive = ktime_sub(now, ms_to_ktime(last_ping_ms)); in watchdog_set_last_hw_keepalive()
/Linux-v5.15/drivers/ntb/test/
Dntb_pingpong.c158 hrtimer_start(&pp->timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in pp_setup()
211 hrtimer_start(&pp->timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in pp_pong()
/Linux-v5.15/include/linux/
Dktime.h227 static inline ktime_t ms_to_ktime(u64 ms) in ms_to_ktime() function
/Linux-v5.15/drivers/gpu/drm/panel/
Dpanel-samsung-atna33xc20.c50 min_ktime = ktime_add(start_ktime, ms_to_ktime(min_ms)); in atana33xc20_wait()
/Linux-v5.15/drivers/gpu/drm/msm/
Dmsm_atomic.c259 wakeup_time = ktime_sub(vsync_time, ms_to_ktime(1)); in msm_atomic_commit_tail()
/Linux-v5.15/net/can/j1939/
Dbus.c117 hrtimer_start(&ecu->ac_timer, ms_to_ktime(250), in j1939_ecu_timer_start()
Dtransport.c691 hrtimer_start(&session->txtimer, ms_to_ktime(msec), in j1939_tp_schedule_txtimer()
700 hrtimer_start(&session->rxtimer, ms_to_ktime(msec), in j1939_tp_set_rxtimeout()
1247 ms_to_ktime(J1939_XTP_ABORT_TIMEOUT_MS), in j1939_tp_rxtimer()
/Linux-v5.15/drivers/platform/surface/aggregator/
Dssh_request_layer.c36 #define SSH_RTL_REQUEST_TIMEOUT ms_to_ktime(3000)
44 #define SSH_RTL_REQUEST_TIMEOUT_RESOLUTION ms_to_ktime(max(2000 / HZ, 50))
Dssh_packet_layer.c201 #define SSH_PTL_PACKET_TIMEOUT ms_to_ktime(1000)
209 #define SSH_PTL_PACKET_TIMEOUT_RESOLUTION ms_to_ktime(max(2000 / HZ, 50))
/Linux-v5.15/drivers/input/keyboard/
Dgpio_keys.c440 ms_to_ktime(bdata->software_debounce), in gpio_keys_gpio_isr()
495 ms_to_ktime(bdata->release_delay), in gpio_keys_irq_isr()
/Linux-v5.15/arch/arm/mm/
Dcache-l2x0-pmu.c541 l2x0_pmu_poll_period = ms_to_ktime(1000); in l2x0_pmu_init()
/Linux-v5.15/drivers/acpi/
Dbutton.c206 ms_to_ktime(lid_report_interval)); in acpi_lid_notify_state()
/Linux-v5.15/drivers/mailbox/
Dmailbox.c136 hrtimer_forward_now(hrtimer, ms_to_ktime(mbox->txpoll_period)); in txdone_hrtimer()
/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Dsched_policy.c114 fair_timeslice = ktime_divns(ms_to_ktime(GVT_TS_BALANCE_PERIOD_MS), in gvt_balance_timeslice()
/Linux-v5.15/drivers/iio/adc/
Dti-tsc2046.c479 hrtimer_start(&priv->trig_timer, ms_to_ktime(timeout_ms), in tsc2046_adc_reenable_trigger()
/Linux-v5.15/drivers/char/tpm/
Dtpm_crb.c118 stop = ktime_add(start, ms_to_ktime(timeout)); in crb_wait_for_reg_32()
/Linux-v5.15/drivers/misc/mei/
Dhw-txe.c225 stop = ktime_add(start, ms_to_ktime(SEC_ALIVENESS_WAIT_TIMEOUT)); in mei_txe_aliveness_poll()
/Linux-v5.15/arch/x86/events/
Drapl.c579 pmu->timer_interval = ms_to_ktime(rapl_timer_ms); in rapl_cpu_online()
/Linux-v5.15/drivers/usb/typec/tcpm/
Dtcpm.c1193 hrtimer_start(&port->state_machine_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_tcpm_delayed_work()
1203 hrtimer_start(&port->vdm_state_machine_timer, ms_to_ktime(delay_ms), in mod_vdm_delayed_work()
1214 hrtimer_start(&port->enable_frs_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_enable_frs_delayed_work()
1224 hrtimer_start(&port->send_discover_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_send_discover_delayed_work()
1240 port->delayed_runtime = ktime_add(ktime_get(), ms_to_ktime(delay_ms)); in tcpm_set_state()
/Linux-v5.15/fs/ubifs/
Dio.c493 ktime_t softlimit = ms_to_ktime(dirty_writeback_interval * 10); in new_wbuf_timer_nolock()
/Linux-v5.15/net/sctp/
Dassociola.c82 asoc->cookie_life = ms_to_ktime(sp->assocparams.sasoc_cookie_life); in sctp_association_init()

12