Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ptp/
H A Dptp_dfl_tod.c71 spinlock_t tod_lock; member
160 spin_lock_irqsave(&dt->tod_lock, flags); in dfl_tod_adjust_fine()
166 spin_unlock_irqrestore(&dt->tod_lock, flags); in dfl_tod_adjust_fine()
185 spin_lock_irqsave(&dt->tod_lock, flags); in dfl_tod_adjust_time()
221 spin_unlock_irqrestore(&dt->tod_lock, flags); in dfl_tod_adjust_time()
235 spin_lock_irqsave(&dt->tod_lock, flags); in dfl_tod_get_timex()
241 spin_unlock_irqrestore(&dt->tod_lock, flags); in dfl_tod_get_timex()
261 spin_lock_irqsave(&dt->tod_lock, flags); in dfl_tod_set_time()
265 spin_unlock_irqrestore(&dt->tod_lock, flags); in dfl_tod_set_time()
294 spin_lock_init(&dt->tod_lock); in dfl_tod_probe()