Searched refs:prev_count (Results 1 – 2 of 2) sorted by relevance
816 u64 prev_count, new_count, mask; in arm_ccn_pmu_event_update() local819 prev_count = local64_read(&hw->prev_count); in arm_ccn_pmu_event_update()821 } while (local64_xchg(&hw->prev_count, new_count) != prev_count); in arm_ccn_pmu_event_update()825 local64_add((new_count - prev_count) & mask, &event->count); in arm_ccn_pmu_event_update()866 local64_set(&event->hw.prev_count, in arm_ccn_pmu_event_start()
594 unsigned long prev_count = 0x1fff; in fifo_txwait() local597 for (;; prev_count = count) { in fifo_txwait()631 if (prev_count < count) in fifo_txwait()