Searched refs:hpet_info (Results 1 – 3 of 3) sorted by relevance
109 hpet_info_t hpet_info; /* Human readable Information */ variable157 (void) memset(&hpet_info, 0, sizeof (hpet_info)); in hpet_early_init()209 hpet_info.logical_address = la; in hpet_early_init()212 ret = hpet_read_gen_cap(&hpet_info); in hpet_early_init()214 hpet_info.gen_cap.counter_clk_period = HPET_GCAP_CNTR_CLK_PERIOD(ret); in hpet_early_init()215 hpet_info.gen_cap.vendor_id = HPET_GCAP_VENDOR_ID(ret); in hpet_early_init()216 hpet_info.gen_cap.leg_route_cap = HPET_GCAP_LEG_ROUTE_CAP(ret); in hpet_early_init()217 hpet_info.gen_cap.count_size_cap = HPET_GCAP_CNT_SIZE_CAP(ret); in hpet_early_init()222 hpet_info.gen_cap.num_tim_cap = HPET_GCAP_NUM_TIM_CAP(ret) + 1; in hpet_early_init()223 hpet_info.gen_cap.rev_id = HPET_GCAP_REV_ID(ret); in hpet_early_init()[all …]
156 #define HRTIME_TO_HPET_TICKS(t) (((t) * HPET_FEMTO_TO_NANO) / hpet_info.period)159 #define HRTIME_TO_HPET_TICKS(t) (((t) * HPET_FEMTO_TO_NANO) / hpet_info.period)247 typedef struct hpet_info { struct281 extern hpet_info_t hpet_info; argument
91 uint64_t hpet_ns = hpet_avg * hpet_info.period / HPET_FEMTO_TO_NANO; in tsc_calibrate_hpet()