Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_clock_utils.c204 static u64 div_u64_roundup(u64 nom, u32 den) in div_u64_roundup() function
211 return div_u64_roundup(count * NSEC_PER_SEC, gt->clock_frequency); in intel_gt_clock_interval_to_ns()
221 return div_u64_roundup(gt->clock_frequency * ns, NSEC_PER_SEC); in intel_gt_ns_to_clock_interval()
235 val = div_u64_roundup(intel_gt_ns_to_clock_interval(gt, ns), 16); in intel_gt_ns_to_pm_interval()
237 val = div_u64_roundup(val, 25) * 25; in intel_gt_ns_to_pm_interval()