Home
last modified time | relevance | path

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

/drivers/bus/
Darm-ccn.c816 u64 prev_count, new_count, mask; in arm_ccn_pmu_event_update() local
819 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()
/drivers/net/irda/
Dstir4200.c594 unsigned long prev_count = 0x1fff; in fifo_txwait() local
597 for (;; prev_count = count) { in fifo_txwait()
631 if (prev_count < count) in fifo_txwait()