Home
last modified time | relevance | path

Searched refs:tod (Results 1 – 10 of 10) sorted by relevance

/arch/s390/include/asm/
A Dtimex.h28 __uint128_t tod : 64; /* bits 0-63 of tod clock */ member
70 static __always_inline void store_tod_clock_ext(union tod_clock *tod) in store_tod_clock_ext() argument
72 asm volatile("stcke %0" : "=Q" (*tod) : : "cc"); in store_tod_clock_ext()
189 return clk.tod; in get_tod_clock()
206 return get_tod_clock() - tod_clock_base.tod; in __get_tod_clock_monotonic()
218 unsigned long tod; in get_tod_clock_monotonic() local
221 tod = __get_tod_clock_monotonic(); in get_tod_clock_monotonic()
223 return tod; in get_tod_clock_monotonic()
/arch/parisc/include/asm/
A Dpdc.h66 int pdc_tod_read(struct pdc_tod *tod);
/arch/s390/boot/
A Dstartup.c117 tod_clock_base.tod = TOD_UNIX_EPOCH; in reset_tod_clock()
136 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_facilities()
/arch/s390/kernel/
A Dtime.c81 vdso_k_time_data->arch_data.tod_delta = tod_clock_base.tod; in time_early_init()
358 vdso_k_time_data->arch_data.tod_delta = tod_clock_base.tod; in clock_sync_global()
A Dperf_cpum_cf.c405 te->tod_base = tod_clock_base.tod; in cfdiag_trailer()
A Dperf_cpum_sf.c1572 te->progusage2 = tod_clock_base.tod; in aux_sdb_init()
/arch/parisc/kernel/
A Dfirmware.c1087 int pdc_tod_read(struct pdc_tod *tod) in pdc_tod_read() argument
1095 memcpy(tod, pdc_result, sizeof(*tod)); in pdc_tod_read()
/arch/s390/include/uapi/asm/
A Dkvm.h406 __u64 tod; member
/arch/s390/kvm/
A Dkvm-s390.c1274 gtod.epoch_idx, gtod.tod); in kvm_s390_set_tod_ext()
1298 if (copy_from_user(&gtod.tod, (void __user *)attr->addr, in kvm_s390_set_tod_low()
1299 sizeof(gtod.tod))) in kvm_s390_set_tod_low()
1303 VM_EVENT(kvm, 3, "SET: TOD base: 0x%llx", gtod.tod); in kvm_s390_set_tod_low()
1353 gtod->tod = clk.tod + kvm->arch.epoch; in kvm_s390_get_tod_clock()
1357 if (gtod->tod < clk.tod) in kvm_s390_get_tod_clock()
1374 gtod.epoch_idx, gtod.tod); in kvm_s390_get_tod_ext()
4675 kvm->arch.epoch = gtod->tod - clk.tod; in __kvm_s390_set_tod_clock()
4679 if (kvm->arch.epoch > gtod->tod) in __kvm_s390_set_tod_clock()
A Dpriv.c98 rc = read_guest(vcpu, op2, ar, &gtod.tod, sizeof(gtod.tod)); in handle_set_clock()
102 VCPU_EVENT(vcpu, 3, "SCK: setting guest TOD to 0x%llx", gtod.tod); in handle_set_clock()

Completed in 42 milliseconds