Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/mips/loongson64/
H A 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()
/OK3568_Linux_fs/kernel/drivers/char/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dhpet.c672 union hpet_lock { union
680 static union hpet_lock hpet __cacheline_aligned = {
687 union hpet_lock old, new; in read_hpet()
689 BUILD_BUG_ON(sizeof(union hpet_lock) != 8); in read_hpet()