Searched refs:time_delta (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/watchdog/ |
| H A D | advantech_ec_wdt.c | 56 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/kernel/trace/ |
| H A D | simple_ring_buffer.c | 217 event->time_delta = delta & TS_MASK; in rb_event_add_ts_extend() 230 u64 time_delta; in simple_rb_reserve_next() local 232 time_delta = timestamp - cpu_buffer->write_stamp; in simple_rb_reserve_next() 234 if (test_time_stamp(time_delta)) in simple_rb_reserve_next() 245 time_delta = 0; in simple_rb_reserve_next() 258 event = rb_event_add_ts_extend(event, time_delta); in simple_rb_reserve_next() 259 time_delta = 0; in simple_rb_reserve_next() 263 event->time_delta = time_delta; in simple_rb_reserve_next()
|
| H A D | ring_buffer_benchmark.c | 139 if (!event->time_delta) in read_page()
|
| /linux/drivers/devfreq/ |
| H A D | hisi_uncore_freq.c | 192 s64 time_delta; in hisi_uncore_cmd_send() local 208 time_delta = ktime_us_delta(ktime_get(), uncore->last_cmd_cmpl_time); in hisi_uncore_cmd_send() 209 if (mrtt > time_delta) in hisi_uncore_cmd_send() 210 udelay(mrtt - time_delta); in hisi_uncore_cmd_send()
|
| /linux/arch/riscv/include/asm/ |
| H A D | kvm_vcpu_timer.h | 19 u64 time_delta; member
|
| /linux/drivers/input/touchscreen/ |
| H A D | ili210x.c | 336 s64 time_delta; in ili210x_process_events() local 352 time_delta = ktime_us_delta(time_next, ktime_get()); in ili210x_process_events() 353 if (time_delta > 0) in ili210x_process_events() 354 usleep_range(time_delta, time_delta + 1000); in ili210x_process_events()
|
| /linux/drivers/acpi/ |
| H A D | cppc_acpi.c | 346 unsigned int time_delta; in send_pcc_cmd() local 373 time_delta = ktime_us_delta(ktime_get(), in send_pcc_cmd() 375 if (pcc_ss_data->pcc_mrtt > time_delta) in send_pcc_cmd() 376 udelay(pcc_ss_data->pcc_mrtt - time_delta); in send_pcc_cmd() 392 time_delta = ktime_ms_delta(ktime_get(), in send_pcc_cmd() 394 if ((time_delta < 60 * MSEC_PER_SEC) && pcc_ss_data->last_mpar_reset) { in send_pcc_cmd()
|
| /linux/tools/sched_ext/ |
| H A D | scx_flatcg.bpf.c | 940 delta = time_delta(p->scx.dsq_vtime, from_cgc->tvtime_now); in BPF_STRUCT_OPS()
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | common.bpf.h | 579 static inline s64 time_delta(u64 after, u64 before) in time_delta() function
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | netdev.c | 4374 u64 time_delta, rem, temp; in e1000e_sanitize_systim() local 4387 time_delta = systim_next - systim; in e1000e_sanitize_systim() 4388 temp = time_delta; in e1000e_sanitize_systim() 4390 rem = incvalue ? do_div(temp, incvalue) : (time_delta != 0); in e1000e_sanitize_systim() 4394 if ((time_delta < E1000_82574_SYSTIM_EPSILON) && (rem == 0)) in e1000e_sanitize_systim()
|
| /linux/include/linux/ |
| H A D | nfs_xdr.h | 158 struct timespec64 time_delta; /* server time granularity */ member
|
| /linux/fs/nfs/ |
| H A D | nfs4xdr.c | 5071 status = decode_attr_time_delta(xdr, bitmap, &fsinfo->time_delta); in decode_fsinfo()
|