Home
last modified time | relevance | path

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

12

/linux/drivers/hwtracing/stm/
A 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/drivers/misc/
A Dvcpu_stall_detector.c76 ms_to_ktime(ping_timeout_ms)); in vcpu_stall_detect_timer_fn()
118 hrtimer_start(vcpu_hrtimer, ms_to_ktime(ping_timeout_ms), in start_stall_detector_cpu()
/linux/drivers/hwmon/
A Daht10.c225 data->min_poll_interval = ms_to_ktime(clamp_val(val, 2000, LONG_MAX)); in aht10_interval_write()
347 data->min_poll_interval = ms_to_ktime(AHT10_DEFAULT_MIN_POLL_INTERVAL); in aht10_probe()
/linux/drivers/watchdog/
A Dwatchdog_dev.c110 ms_to_ktime(timeout_ms)); in watchdog_next_keepalive()
115 keepalive_interval = ms_to_ktime(hw_heartbeat_ms / 2); in watchdog_next_keepalive()
122 last_heartbeat = ktime_sub(virt_timeout, ms_to_ktime(hw_heartbeat_ms)); in watchdog_next_keepalive()
151 ms_to_ktime(wdd->min_hw_heartbeat_ms)); in __watchdog_ping()
1212 wd_data->last_hw_keepalive = ktime_sub(now, ms_to_ktime(last_ping_ms)); in watchdog_set_last_hw_keepalive()
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_huc.c114 ms_to_ktime(PXP_INIT_TIMEOUT_MS), in gsc_init_done()
148 delay = ms_to_ktime(GSC_INIT_TIMEOUT_MS); in huc_delayed_load_start()
151 delay = ms_to_ktime(PXP_INIT_TIMEOUT_MS); in huc_delayed_load_start()
/linux/arch/powerpc/kernel/
A Dwatchdog.c449 hrtimer_forward_now(hrtimer, ms_to_ktime(wd_timer_period_ms)); in watchdog_timer_fn()
500 hrtimer_start(hrtimer, ms_to_ktime(wd_timer_period_ms), in start_watchdog()
/linux/drivers/gpu/drm/msm/
A Dmsm_gpu_devfreq.c284 ms_to_ktime(msm_devfreq_profile.polling_ms), in msm_devfreq_boost()
367 msm_hrtimer_queue_work(&df->idle_work, ms_to_ktime(1), in msm_devfreq_idle()
A Dmsm_fence.c154 deadline = ktime_sub(deadline, ms_to_ktime(3)); in msm_fence_set_deadline()
A Dmsm_atomic.c257 wakeup_time = ktime_sub(vsync_time, ms_to_ktime(1)); in msm_atomic_commit_tail()
/linux/drivers/ntb/test/
A 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/include/linux/
A Dktime.h225 static inline ktime_t ms_to_ktime(u64 ms) in ms_to_ktime() function
A Drtc.h240 return ms_to_ktime(rtc->alarm_offset_max * MSEC_PER_SEC); in rtc_bound_alarmtime()
/linux/net/rxrpc/
A Dcall_event.c26 ktime_t delay = ms_to_ktime(READ_ONCE(rxrpc_idle_ack_delay)); in rxrpc_propose_ping()
50 delay = ms_to_ktime(READ_ONCE(rxrpc_soft_ack_delay)); in rxrpc_propose_delay_ACK()
A Doutput.c68 ktime_t delay = ms_to_ktime(READ_ONCE(call->next_rx_timo) / 6); in rxrpc_set_keepalive()
420 ktime_t delay = ms_to_ktime(READ_ONCE(call->next_rx_timo)); in rxrpc_tstamp_data_packets()
A Dinput.c617 ktime_t delay = ms_to_ktime(timo); in rxrpc_input_data()
1062 ktime_t delay = ms_to_ktime(timo); in rxrpc_input_call_packet()
/linux/drivers/gpu/drm/panel/
A Dpanel-samsung-atna33xc20.c53 min_ktime = ktime_add(start_ktime, ms_to_ktime(min_ms)); in atana33xc20_wait()
/linux/net/can/j1939/
A Dbus.c117 hrtimer_start(&ecu->ac_timer, ms_to_ktime(250), in j1939_ecu_timer_start()
/linux/drivers/platform/surface/aggregator/
A 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))
A 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/drivers/input/keyboard/
A Dgpio_keys.c434 ms_to_ktime(bdata->software_debounce), in gpio_keys_gpio_isr()
488 ms_to_ktime(bdata->release_delay), in gpio_keys_irq_isr()
/linux/arch/arm/mm/
A Dcache-l2x0-pmu.c541 l2x0_pmu_poll_period = ms_to_ktime(1000); in l2x0_pmu_init()
/linux/drivers/mailbox/
A Dmailbox.c141 hrtimer_forward_now(hrtimer, ms_to_ktime(mbox->txpoll_period)); in txdone_hrtimer()
/linux/drivers/gpu/drm/i915/gvt/
A Dsched_policy.c114 fair_timeslice = ktime_divns(ms_to_ktime(GVT_TS_BALANCE_PERIOD_MS), in gvt_balance_timeslice()
/linux/drivers/leds/trigger/
A Dledtrig-pattern.c104 hrtimer_forward_now(&data->hrtimer, ms_to_ktime(interval)); in pattern_trig_timer_restart()
/linux/drivers/acpi/
A Dbutton.c224 ms_to_ktime(lid_report_interval)); in acpi_lid_notify_state()

Completed in 57 milliseconds

12