Home
last modified time | relevance | path

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

12

/linux/drivers/hwmon/
H 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/
H 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()
1207 wd_data->last_hw_keepalive = ktime_sub(now, ms_to_ktime(last_ping_ms)); in watchdog_set_last_hw_keepalive()
/linux/arch/powerpc/kernel/
H A Dwatchdog.c454 hrtimer_forward_now(hrtimer, ms_to_ktime(wd_timer_period_ms)); in watchdog_timer_fn()
504 hrtimer_start(hrtimer, ms_to_ktime(wd_timer_period_ms), in start_watchdog()
/linux/include/linux/
H A Dktime.h230 static inline ktime_t ms_to_ktime(u64 ms) in ms_to_ktime() function
H A Drtc.h241 return ms_to_ktime(rtc->alarm_offset_max * MSEC_PER_SEC); in rtc_bound_alarmtime()
/linux/drivers/gpu/drm/msm/
H A Dmsm_fence.c153 deadline = ktime_sub(deadline, ms_to_ktime(3)); in msm_fence_set_deadline()
/linux/net/rxrpc/
H 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()
H A Doutput.c66 ktime_t delay = ms_to_ktime(READ_ONCE(call->next_rx_timo) / 6); in rxrpc_set_keepalive()
625 ktime_t delay = ms_to_ktime(READ_ONCE(call->next_rx_timo)); in rxrpc_prepare_data_packet()
H A Dinput.c709 ktime_t delay = ms_to_ktime(timo); in rxrpc_input_data()
1246 ktime_t delay = ms_to_ktime(timo); in rxrpc_input_call_packet()
H A Dcall_object.c250 ktime_t delay = ms_to_ktime(call->hard_timo * 1000); in rxrpc_start_call_timer()
H A Dsendmsg.c746 ktime_t delay = ms_to_ktime(p.call.timeouts.hard * MSEC_PER_SEC); in rxrpc_do_sendmsg()
/linux/drivers/char/tpm/
H A Dtpm_crb_ffa.c245 stop = ktime_add(start, ms_to_ktime(busy_timeout_ms)); in __tpm_crb_ffa_send_receive()
H A Dtpm_crb.c147 stop = ktime_add(start, ms_to_ktime(timeout)); in crb_wait_for_reg_32()
/linux/net/can/j1939/
H A Dbus.c117 hrtimer_start(&ecu->ac_timer, ms_to_ktime(250), in j1939_ecu_timer_start()
H A Dtransport.c708 hrtimer_start(&session->txtimer, ms_to_ktime(msec), in j1939_tp_schedule_txtimer()
717 hrtimer_start(&session->rxtimer, ms_to_ktime(msec), in j1939_tp_set_rxtimeout()
1272 ms_to_ktime(J1939_XTP_ABORT_TIMEOUT_MS), in j1939_tp_rxtimer()
/linux/drivers/platform/surface/aggregator/
H 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))
H 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/arch/arm/mm/
H A Dcache-l2x0-pmu.c541 l2x0_pmu_poll_period = ms_to_ktime(1000); in l2x0_pmu_init()
/linux/drivers/gpu/drm/i915/gvt/
H A Dsched_policy.c115 fair_timeslice = ktime_divns(ms_to_ktime(GVT_TS_BALANCE_PERIOD_MS), in gvt_balance_timeslice()
/linux/drivers/mailbox/
H A Dmailbox.c127 hrtimer_forward_now(hrtimer, ms_to_ktime(mbox->txpoll_period)); in txdone_hrtimer()
/linux/drivers/leds/trigger/
H A Dledtrig-pattern.c104 hrtimer_forward_now(&data->hrtimer, ms_to_ktime(interval)); in pattern_trig_timer_restart()
/linux/drivers/ptp/
H A Dptp_vmclock.c56 #define VMCLOCK_MAX_WAIT ms_to_ktime(100)
/linux/drivers/misc/mei/
H A Dhw-txe.c225 stop = ktime_add(start, ms_to_ktime(SEC_ALIVENESS_WAIT_TIMEOUT)); in mei_txe_aliveness_poll()
/linux/arch/x86/events/
H A Drapl.c714 rapl_pmu->timer_interval = ms_to_ktime(rapl_timer_ms); in init_rapl_pmu()
/linux/drivers/net/can/m_can/
H A Dm_can.c475 ms_to_ktime(HRTIMER_POLL_INTERVAL_MS), in m_can_enable_all_interrupts()
2076 hrtimer_forward_now(timer, ms_to_ktime(HRTIMER_POLL_INTERVAL_MS)); in m_can_polling_timer()

12