Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/loongson64/loongson-3/
Dhpet.c20 static DEFINE_SPINLOCK(hpet_lock);
89 spin_lock(&hpet_lock); in hpet_set_state_periodic()
110 spin_unlock(&hpet_lock); in hpet_set_state_periodic()
118 spin_lock(&hpet_lock); in hpet_set_state_shutdown()
124 spin_unlock(&hpet_lock); in hpet_set_state_shutdown()
132 spin_lock(&hpet_lock); in hpet_set_state_oneshot()
145 spin_unlock(&hpet_lock); in hpet_set_state_oneshot()
151 spin_lock(&hpet_lock); in hpet_tick_resume()
153 spin_unlock(&hpet_lock); in hpet_tick_resume()
/Linux-v5.4/drivers/char/
Dhpet.c86 static DEFINE_SPINLOCK(hpet_lock);
151 spin_lock(&hpet_lock); in hpet_interrupt()
189 spin_unlock(&hpet_lock); in hpet_interrupt()
204 spin_lock_irq(&hpet_lock); in hpet_timer_set_irq()
206 spin_unlock_irq(&hpet_lock); in hpet_timer_set_irq()
218 spin_unlock_irq(&hpet_lock); in hpet_timer_set_irq()
247 spin_lock_irq(&hpet_lock); in hpet_timer_set_irq()
252 spin_unlock_irq(&hpet_lock); in hpet_timer_set_irq()
267 spin_lock_irq(&hpet_lock); in hpet_open()
279 spin_unlock_irq(&hpet_lock); in hpet_open()
[all …]
/Linux-v5.4/arch/x86/kernel/
Dhpet.c671 union hpet_lock { union
679 static union hpet_lock hpet __cacheline_aligned = {
686 union hpet_lock old, new; in read_hpet()
688 BUILD_BUG_ON(sizeof(union hpet_lock) != 8); in read_hpet()