Lines Matching refs:tval
239 u64 chunks, tval; in __mon_event_count() local
241 tval = __rmid_read(rmid, rr->evtid); in __mon_event_count()
242 if (tval & (RMID_VAL_ERROR | RMID_VAL_UNAVAIL)) { in __mon_event_count()
243 rr->val = tval; in __mon_event_count()
248 rr->val += tval; in __mon_event_count()
266 m->prev_bw_msr = m->prev_msr = tval; in __mon_event_count()
270 chunks = mbm_overflow_count(m->prev_msr, tval); in __mon_event_count()
272 m->prev_msr = tval; in __mon_event_count()
286 u64 tval, cur_bw, chunks; in mbm_bw_count() local
288 tval = __rmid_read(rmid, rr->evtid); in mbm_bw_count()
289 if (tval & (RMID_VAL_ERROR | RMID_VAL_UNAVAIL)) in mbm_bw_count()
292 chunks = mbm_overflow_count(m->prev_bw_msr, tval); in mbm_bw_count()
301 m->prev_bw_msr = tval; in mbm_bw_count()