Home
last modified time | relevance | path

Searched refs:rtc_lock (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.6.21/arch/m68k/atari/
Dnvram.c79 spin_lock_irq(&rtc_lock); in atari_nvram_set_checksum()
81 spin_unlock_irq(&rtc_lock); in atari_nvram_set_checksum()
89 spin_lock_irq(&rtc_lock); in atari_nvram_initialize()
93 spin_unlock_irq(&rtc_lock); in atari_nvram_initialize()
102 spin_lock_irq(&rtc_lock); in atari_nvram_read()
104 spin_unlock_irq(&rtc_lock); in atari_nvram_read()
109 spin_unlock_irq(&rtc_lock); in atari_nvram_read()
120 spin_lock_irq(&rtc_lock); in atari_nvram_write()
122 spin_unlock_irq(&rtc_lock); in atari_nvram_write()
128 spin_unlock_irq(&rtc_lock); in atari_nvram_write()
[all …]
/linux-6.6.21/drivers/char/
Dnvram.c94 spin_lock_irqsave(&rtc_lock, flags); in pc_nvram_read_byte()
96 spin_unlock_irqrestore(&rtc_lock, flags); in pc_nvram_read_byte()
110 spin_lock_irqsave(&rtc_lock, flags); in pc_nvram_write_byte()
112 spin_unlock_irqrestore(&rtc_lock, flags); in pc_nvram_write_byte()
146 spin_lock_irq(&rtc_lock); in pc_nvram_set_checksum()
148 spin_unlock_irq(&rtc_lock); in pc_nvram_set_checksum()
156 spin_lock_irq(&rtc_lock); in pc_nvram_initialize()
160 spin_unlock_irq(&rtc_lock); in pc_nvram_initialize()
174 spin_lock_irq(&rtc_lock); in pc_nvram_read()
176 spin_unlock_irq(&rtc_lock); in pc_nvram_read()
[all …]
/linux-6.6.21/drivers/rtc/
Drtc-mc146818-lib.c30 spin_lock_irqsave(&rtc_lock, flags); in mc146818_avoid_UIP()
44 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_avoid_UIP()
51 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_avoid_UIP()
63 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_avoid_UIP()
75 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_avoid_UIP()
78 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_avoid_UIP()
267 spin_lock_irqsave(&rtc_lock, flags); in mc146818_set_time()
269 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_set_time()
280 spin_lock_irqsave(&rtc_lock, flags); in mc146818_set_time()
307 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_set_time()
Drtc-cmos.c540 spin_lock_irq(&rtc_lock); in cmos_set_alarm()
542 spin_unlock_irq(&rtc_lock); in cmos_set_alarm()
572 spin_lock_irqsave(&rtc_lock, flags); in cmos_alarm_irq_enable()
579 spin_unlock_irqrestore(&rtc_lock, flags); in cmos_alarm_irq_enable()
590 spin_lock_irq(&rtc_lock); in cmos_procfs()
593 spin_unlock_irq(&rtc_lock); in cmos_procfs()
649 spin_lock_irq(&rtc_lock); in cmos_nvram_read()
658 spin_unlock_irq(&rtc_lock); in cmos_nvram_read()
676 spin_lock_irq(&rtc_lock); in cmos_nvram_write()
690 spin_unlock_irq(&rtc_lock); in cmos_nvram_write()
[all …]
Drtc-moxart.c58 spinlock_t rtc_lock; member
146 spin_lock_irq(&moxart_rtc->rtc_lock); in moxart_rtc_set_time()
175 spin_unlock_irq(&moxart_rtc->rtc_lock); in moxart_rtc_set_time()
190 spin_lock_irq(&moxart_rtc->rtc_lock); in moxart_rtc_read_time()
234 spin_unlock_irq(&moxart_rtc->rtc_lock); in moxart_rtc_read_time()
277 spin_lock_init(&moxart_rtc->rtc_lock); in moxart_rtc_probe()
/linux-6.6.21/arch/x86/kernel/
Dbootflag.c48 spin_lock_irqsave(&rtc_lock, flags); in sbf_write()
50 spin_unlock_irqrestore(&rtc_lock, flags); in sbf_write()
62 spin_lock_irqsave(&rtc_lock, flags); in sbf_read()
64 spin_unlock_irqrestore(&rtc_lock, flags); in sbf_read()
Drtc.c26 DEFINE_SPINLOCK(rtc_lock);
27 EXPORT_SYMBOL(rtc_lock);
/linux-6.6.21/arch/mips/kernel/
Dcevt-ds1287.c53 spin_lock(&rtc_lock); in ds1287_shutdown()
59 spin_unlock(&rtc_lock); in ds1287_shutdown()
67 spin_lock(&rtc_lock); in ds1287_set_periodic()
73 spin_unlock(&rtc_lock); in ds1287_set_periodic()
Dtime.c100 DEFINE_SPINLOCK(rtc_lock);
101 EXPORT_SYMBOL(rtc_lock);
/linux-6.6.21/arch/mips/include/asm/
Dmc146818-time.h38 spin_lock_irqsave(&rtc_lock, flags); in mc146818_set_rtc_mmss()
84 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_set_rtc_mmss()
94 spin_lock_irqsave(&rtc_lock, flags); in mc146818_get_cmos_time()
113 spin_unlock_irqrestore(&rtc_lock, flags); in mc146818_get_cmos_time()
Dtime.h18 extern spinlock_t rtc_lock;
/linux-6.6.21/arch/mips/sibyte/swarm/
Drtc_m41t81.c153 spin_lock_irqsave(&rtc_lock, flags); in m41t81_set_time()
181 spin_unlock_irqrestore(&rtc_lock, flags); in m41t81_set_time()
195 spin_lock_irqsave(&rtc_lock, flags); in m41t81_get_time()
199 spin_unlock_irqrestore(&rtc_lock, flags); in m41t81_get_time()
205 spin_unlock_irqrestore(&rtc_lock, flags); in m41t81_get_time()
Drtc_xicor1241.c117 spin_lock_irqsave(&rtc_lock, flags); in xicor_set_time()
162 spin_unlock_irqrestore(&rtc_lock, flags); in xicor_set_time()
172 spin_lock_irqsave(&rtc_lock, flags); in xicor_get_time()
188 spin_unlock_irqrestore(&rtc_lock, flags); in xicor_get_time()
/linux-6.6.21/arch/mips/dec/
Dtime.c27 spin_lock_irqsave(&rtc_lock, flags); in read_persistent_clock64()
44 spin_unlock_irqrestore(&rtc_lock, flags); in read_persistent_clock64()
76 spin_lock(&rtc_lock); in update_persistent_clock64()
122 spin_unlock(&rtc_lock); in update_persistent_clock64()
/linux-6.6.21/arch/x86/include/asm/
Dfloppy.h260 spin_lock_irqsave(&rtc_lock, flags); \
262 spin_unlock_irqrestore(&rtc_lock, flags); \
270 spin_lock_irqsave(&rtc_lock, flags); \
272 spin_unlock_irqrestore(&rtc_lock, flags); \
/linux-6.6.21/arch/arm/kernel/
Dtime.c36 DEFINE_SPINLOCK(rtc_lock);
37 EXPORT_SYMBOL(rtc_lock);
/linux-6.6.21/drivers/acpi/
Dacpi_cmos_rtc.c41 spin_lock_irq(&rtc_lock); in acpi_cmos_rtc_space_handler()
49 spin_unlock_irq(&rtc_lock); in acpi_cmos_rtc_space_handler()
/linux-6.6.21/arch/powerpc/platforms/chrp/
Dtime.c91 spin_lock(&rtc_lock); in chrp_set_rtc_time()
126 spin_unlock(&rtc_lock); in chrp_set_rtc_time()
/linux-6.6.21/arch/sparc/include/asm/
Dmc146818rtc.h7 extern spinlock_t rtc_lock;
/linux-6.6.21/arch/powerpc/platforms/maple/
Dtime.c82 spin_lock(&rtc_lock); in maple_set_rtc_time()
124 spin_unlock(&rtc_lock); in maple_set_rtc_time()
/linux-6.6.21/drivers/char/mwave/
Dsmapi.c546 spin_lock_irqsave(&rtc_lock, flags); in smapi_init()
549 spin_unlock_irqrestore(&rtc_lock, flags); in smapi_init()
553 spin_lock_irqsave(&rtc_lock, flags); in smapi_init()
556 spin_unlock_irqrestore(&rtc_lock, flags); in smapi_init()
/linux-6.6.21/drivers/platform/x86/dell/
Ddcdbas.c388 spin_lock_irqsave(&rtc_lock, flags); in host_control_smi()
406 spin_unlock_irqrestore(&rtc_lock, flags); in host_control_smi()
419 spin_lock_irqsave(&rtc_lock, flags); in host_control_smi()
437 spin_unlock_irqrestore(&rtc_lock, flags); in host_control_smi()
/linux-6.6.21/arch/alpha/kernel/
Dtime.c51 DEFINE_SPINLOCK(rtc_lock);
52 EXPORT_SYMBOL(rtc_lock);
/linux-6.6.21/include/linux/
Dmc146818rtc.h23 extern spinlock_t rtc_lock; /* serialize CMOS RAM access */
/linux-6.6.21/arch/sparc/kernel/
Dtime_32.c64 DEFINE_SPINLOCK(rtc_lock);
65 EXPORT_SYMBOL(rtc_lock);

12