Home
last modified time | relevance | path

Searched refs:time_delta (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/watchdog/
H A Dadvantech_ec_wdt.c56 ktime_t time_cur, time_delta; in adv_ec_wdt_timing_gate() local
60 time_delta = ktime_to_ms(ktime_sub(time_cur, ec_timestamp)); in adv_ec_wdt_timing_gate()
61 if (time_delta < EC_MIN_DELAY) { in adv_ec_wdt_timing_gate()
62 time_delta = EC_MIN_DELAY - time_delta; in adv_ec_wdt_timing_gate()
63 usleep_range(time_delta * 1000, (time_delta + 1) * 1000); in adv_ec_wdt_timing_gate()
/linux/sound/soc/codecs/
H A Dtlv320dac33.c1143 unsigned int time_delta, uthr; in dac33_dai_delay() local
1167 time_delta = t_now - t0; in dac33_dai_delay()
1168 samples_out = time_delta ? US_TO_SAMPLES( in dac33_dai_delay()
1170 time_delta) : 0; in dac33_dai_delay()
1181 time_delta = t_now - t0; in dac33_dai_delay()
1182 samples_out = time_delta ? US_TO_SAMPLES( in dac33_dai_delay()
1184 time_delta) : 0; in dac33_dai_delay()
1186 time_delta = t_now - t1; in dac33_dai_delay()
1187 samples_in = time_delta ? US_TO_SAMPLES( in dac33_dai_delay()
1189 time_delta) in dac33_dai_delay()
[all...]
/linux/arch/riscv/kvm/
H A Dvcpu_timer.c20 return get_cycles64() + gt->time_delta; in kvm_riscv_current_cycles()
225 gt->time_delta = reg_val - get_cycles64(); in kvm_riscv_vcpu_set_reg_timer()
293 ncsr_write(CSR_HTIMEDELTA, (u32)(gt->time_delta)); in kvm_riscv_vcpu_update_timedelta()
294 ncsr_write(CSR_HTIMEDELTAH, (u32)(gt->time_delta >> 32)); in kvm_riscv_vcpu_update_timedelta()
296 ncsr_write(CSR_HTIMEDELTA, gt->time_delta); in kvm_riscv_vcpu_update_timedelta()
379 gt->time_delta = -get_cycles64(); in kvm_riscv_guest_timer_init()
/linux/arch/s390/kernel/
H A Dhiperdispatch.c209 unsigned long time_delta, steal_delta, steal, percentage; in hd_calculate_steal_percentage() local
228 time_delta = ktime_to_ns(ktime_sub(now, prev)); in hd_calculate_steal_percentage()
230 steal_delta = (steal - hd_previous_steal) * 100 / time_delta; in hd_calculate_steal_percentage()
/linux/drivers/devfreq/
H A Dhisi_uncore_freq.c194 s64 time_delta; in hisi_uncore_cmd_send() local
210 time_delta = ktime_us_delta(ktime_get(), uncore->last_cmd_cmpl_time); in hisi_uncore_cmd_send()
211 if (mrtt > time_delta) in hisi_uncore_cmd_send()
212 udelay(mrtt - time_delta); in hisi_uncore_cmd_send()
/linux/arch/riscv/include/asm/
H A Dkvm_vcpu_timer.h19 u64 time_delta; member
/linux/kernel/trace/
H A Dring_buffer.c192 return event->type_len == RINGBUF_TYPE_PADDING && !event->time_delta; in rb_null_event()
197 /* padding has a NULL time_delta */ in rb_event_set_padding()
199 event->time_delta = 0; in rb_event_set_padding()
328 ts += event->time_delta; in rb_event_time_stamp()
1846 if (event->time_delta == 1) in rb_read_data_buffer()
1851 ts += event->time_delta; in rb_read_data_buffer()
3532 event->time_delta = 1; in rb_reset_tail()
3665 event->time_delta = delta & TS_MASK; in rb_add_time_stamp()
3669 event->time_delta = 0; in rb_add_time_stamp()
3773 event->time_delta in rb_update_event()
[all...]
H A Dring_buffer_benchmark.c139 if (!event->time_delta) in read_page()
/linux/include/linux/
H A Dring_buffer.h18 u32 type_len:5, time_delta:27; member
27 * If time_delta is 0:
31 * If time_delta is non zero:
42 * event.time_delta contains bottom 27 bits
H A Dnfs_xdr.h152 struct timespec64 time_delta; /* server time granularity */ member
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h455 * time_delta - Calculate the delta between new and old time stamp
461 static inline s64 time_delta(u64 after, u64 before) in time_delta() function
/linux/tools/sched_ext/
H A Dscx_flatcg.bpf.c924 delta = time_delta(p->scx.dsq_vtime, from_cgc->tvtime_now); in BPF_STRUCT_OPS()
/linux/fs/nfs/
H A Dnfs3xdr.c2183 * nfstime3 time_delta;
2214 xdr_decode_nfstime3(p, &result->time_delta); in decode_fsinfo3resok()
H A Dnfs4xdr.c4260 dprintk("%s: time_delta=%lld %ld\n", __func__, time->tv_sec, in decode_attr_time_delta()
5028 status = decode_attr_time_delta(xdr, bitmap, &fsinfo->time_delta); in decode_fsinfo()