Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/char/
Dhpet.c89 static DEFINE_SPINLOCK(hpet_lock);
154 spin_lock(&hpet_lock); in hpet_interrupt()
192 spin_unlock(&hpet_lock); in hpet_interrupt()
207 spin_lock_irq(&hpet_lock); in hpet_timer_set_irq()
209 spin_unlock_irq(&hpet_lock); in hpet_timer_set_irq()
221 spin_unlock_irq(&hpet_lock); in hpet_timer_set_irq()
250 spin_lock_irq(&hpet_lock); in hpet_timer_set_irq()
255 spin_unlock_irq(&hpet_lock); in hpet_timer_set_irq()
270 spin_lock_irq(&hpet_lock); in hpet_open()
282 spin_unlock_irq(&hpet_lock); in hpet_open()
[all …]
/Linux-v4.19/arch/x86/kernel/
Dhpet.c779 union hpet_lock { union
787 static union hpet_lock hpet __cacheline_aligned = {
794 union hpet_lock old, new; in read_hpet()
796 BUILD_BUG_ON(sizeof(union hpet_lock) != 8); in read_hpet()