Searched refs:oa_period (Results 1 – 2 of 2) sorted by relevance
3998 u64 oa_period, oa_freq_hz; in read_properties_unlocked() local4061 BUILD_BUG_ON(sizeof(oa_period) != 8); in read_properties_unlocked()4062 oa_period = oa_exponent_to_ns(perf, value); in read_properties_unlocked()4070 if (oa_period <= NSEC_PER_SEC) { in read_properties_unlocked()4072 do_div(tmp, oa_period); in read_properties_unlocked()
2115 u64 oa_period, oa_freq_hz; in xe_oa_stream_open_ioctl() local2123 oa_period = oa_exponent_to_ns(param.hwe->gt, param.period_exponent); in xe_oa_stream_open_ioctl()2124 oa_freq_hz = div64_u64(NSEC_PER_SEC, oa_period); in xe_oa_stream_open_ioctl()