Lines Matching full:tval
228 u64 chunks, tval; in __mon_event_count() local
230 tval = __rmid_read(rmid, rr->evtid); in __mon_event_count()
231 if (tval & (RMID_VAL_ERROR | RMID_VAL_UNAVAIL)) { in __mon_event_count()
232 rr->val = tval; in __mon_event_count()
237 rr->val += tval; in __mon_event_count()
255 m->prev_bw_msr = m->prev_msr = tval; in __mon_event_count()
259 chunks = mbm_overflow_count(m->prev_msr, tval, rr->r->mbm_width); in __mon_event_count()
261 m->prev_msr = tval; in __mon_event_count()
275 u64 tval, cur_bw, chunks; in mbm_bw_count() local
277 tval = __rmid_read(rmid, rr->evtid); in mbm_bw_count()
278 if (tval & (RMID_VAL_ERROR | RMID_VAL_UNAVAIL)) in mbm_bw_count()
281 chunks = mbm_overflow_count(m->prev_bw_msr, tval, rr->r->mbm_width); in mbm_bw_count()
288 m->prev_bw_msr = tval; in mbm_bw_count()