Searched refs:atrtc_lock (Results 1 – 1 of 1) sorted by relevance
72 static struct mtx atrtc_lock; variable73 MTX_SYSINIT(atrtc_lock_init, &atrtc_lock, "atrtc", MTX_SPIN);130 mtx_lock_spin(&atrtc_lock); in rtcin()132 mtx_unlock_spin(&atrtc_lock); in rtcin()140 mtx_lock_spin(&atrtc_lock); in writertc()142 mtx_unlock_spin(&atrtc_lock); in writertc()149 mtx_lock_spin(&atrtc_lock); in atrtc_start()152 mtx_unlock_spin(&atrtc_lock); in atrtc_start()168 mtx_lock_spin(&atrtc_lock); in atrtc_enable_intr()171 mtx_unlock_spin(&atrtc_lock); in atrtc_enable_intr()[all …]