Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmc146818rtc.h34 extern volatile unsigned long cmos_lock;
46 if (cmos_lock) { in lock_cmos()
50 if (__cmpxchg(&cmos_lock, 0, new, sizeof(cmos_lock)) == 0) in lock_cmos()
57 cmos_lock = 0; in unlock_cmos()
62 return (cmos_lock >> 8) == (smp_processor_id() + 1); in do_i_have_lock_cmos()
67 return cmos_lock & 0xff; in current_lock_cmos_reg()
/kernel/linux/linux-5.10/arch/x86/kernel/
Drtc.c25 volatile unsigned long cmos_lock; variable
26 EXPORT_SYMBOL(cmos_lock);