Searched refs:cyc2ns_mul (Results 1 – 4 of 4) sorted by relevance
27 u32 cyc2ns_mul; member
184 data->cyc2ns_mul = 0; in cyc2ns_data_init()219 ns += mul_u64_u32_shr(cyc, data->cyc2ns_mul, CYC2NS_SCALE_FACTOR); in cycles_2_ns()226 ns += mul_u64_u32_shr(cyc, data->cyc2ns_mul, CYC2NS_SCALE_FACTOR); in cycles_2_ns()260 data->cyc2ns_mul = in set_cyc2ns_scale()265 mul_u64_u32_shr(tsc_now, data->cyc2ns_mul, CYC2NS_SCALE_FACTOR); in set_cyc2ns_scale()
446 ns = mul_u64_u32_shr(cyc, data->cyc2ns_mul, data->cyc2ns_shift); in cycles_2_ns()460 cyc = (ns << data->cyc2ns_shift) / data->cyc2ns_mul; in ns_2_cycles()
2110 userpg->time_mult = data->cyc2ns_mul; in arch_perf_update_userpage()