Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ptp.c40 seq = read_seqbegin(&wx->hw_tc_lock); in wx_ptp_timecounter_cyc2time()
42 } while (read_seqretry(&wx->hw_tc_lock, seq)); in wx_ptp_timecounter_cyc2time()
89 write_seqlock_irqsave(&wx->hw_tc_lock, flags); in wx_ptp_adjtime()
91 write_sequnlock_irqrestore(&wx->hw_tc_lock, flags); in wx_ptp_adjtime()
122 write_seqlock_irqsave(&wx->hw_tc_lock, flags); in wx_ptp_settime64()
124 write_sequnlock_irqrestore(&wx->hw_tc_lock, flags); in wx_ptp_settime64()
241 write_seqlock_irqsave(&wx->hw_tc_lock, flags); in wx_ptp_overflow_check()
243 write_sequnlock_irqrestore(&wx->hw_tc_lock, flags); in wx_ptp_overflow_check()
343 write_seqlock_irqsave(&wx->hw_tc_lock, flags); in wx_ptp_trigger_calc()
346 write_sequnlock_irqrestore(&wx->hw_tc_lock, flags); in wx_ptp_trigger_calc()
[all …]
H A Dwx_type.h1393 seqlock_t hw_tc_lock; /* seqlock for ptp */ member