Searched refs:latch (Results 1 – 2 of 2) sorted by relevance
32 static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt, in cev_delta2ns() argument35 u64 clc = (u64) latch << evt->shift; in cev_delta2ns()46 if ((clc >> evt->shift) != (u64)latch) in cev_delta2ns()85 u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt) in clockevent_delta2ns() argument87 return cev_delta2ns(latch, evt, false); in clockevent_delta2ns()
376 seqcount_latch_t latch; member386 .latch = SEQCNT_LATCH_ZERO(clear_seq.latch),446 raw_write_seqcount_latch(&ls->latch); in latched_seq_write()448 raw_write_seqcount_latch(&ls->latch); in latched_seq_write()460 seq = raw_read_seqcount_latch(&ls->latch); in latched_seq_read_nolock()463 } while (read_seqcount_latch_retry(&ls->latch, seq)); in latched_seq_read_nolock()