Searched refs:cur_residency (Results 1 – 4 of 4) sorted by relevance
68 static u64 get_residency_ms(struct xe_gt_idle *gtidle, u64 cur_residency) in get_residency_ms() argument80 gtidle->prev_residency = cur_residency; in get_residency_ms()83 if (cur_residency >= prev_residency) in get_residency_ms()84 delta = cur_residency - prev_residency; in get_residency_ms()86 delta = cur_residency + (overflow_residency - prev_residency); in get_residency_ms()89 cur_residency = gtidle->cur_residency + delta; in get_residency_ms()90 gtidle->cur_residency = cur_residency; in get_residency_ms()93 cur_residency = mul_u64_u32_div(cur_residency, gtidle->residency_multiplier, 1e6); in get_residency_ms()95 return cur_residency; in get_residency_ms()
29 u64 cur_residency; member
29 u64 cur_residency[INTEL_RC6_RES_MAX]; member
849 time_hw += rc6->cur_residency[id]; in intel_rc6_residency_ns()850 rc6->cur_residency[id] = time_hw; in intel_rc6_residency_ns()