Lines Matching refs:tsc_ref
54 struct hyperv_reftsc *tsc_ref; member
109 KASSERT(hyperv_ref_tsc.tsc_ref != NULL, ("reftsc has not been setup")); in hyperv_tsc_mmap()
120 *paddr = pmap_kextract((vm_offset_t)hyperv_ref_tsc.tsc_ref); in hyperv_tsc_mmap()
142 struct hyperv_reftsc *tsc_ref = hyperv_ref_tsc.tsc_ref; \
145 while ((seq = atomic_load_acq_int(&tsc_ref->tsc_seq)) != 0) { \
147 uint64_t scale = tsc_ref->tsc_scale; \
148 int64_t ofs = tsc_ref->tsc_ofs; \
160 if (tsc_ref->tsc_seq == seq) \
211 hyperv_ref_tsc.tsc_ref = contigmalloc(PAGE_SIZE, M_DEVBUF, in hyperv_tsc_tcinit()
213 if (hyperv_ref_tsc.tsc_ref == NULL) { in hyperv_tsc_tcinit()
219 val = (pmap_kextract((vm_offset_t)hyperv_ref_tsc.tsc_ref) >> in hyperv_tsc_tcinit()