Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dnrf_rtc_timer.c111 uint32_t mcu_critical_state; in full_int_lock() local
114 mcu_critical_state = __get_PRIMASK(); in full_int_lock()
117 mcu_critical_state = irq_lock(); in full_int_lock()
120 return mcu_critical_state; in full_int_lock()
123 static void full_int_unlock(uint32_t mcu_critical_state) in full_int_unlock() argument
126 __set_PRIMASK(mcu_critical_state); in full_int_unlock()
128 irq_unlock(mcu_critical_state); in full_int_unlock()
513 uint32_t mcu_critical_state; in process_channel() local
524 mcu_critical_state = full_int_lock(); in process_channel()
545 full_int_unlock(mcu_critical_state); in process_channel()
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_hfxo.c41 uint32_t mcu_critical_state; in full_irq_lock() local
43 mcu_critical_state = __get_PRIMASK(); in full_irq_lock()
46 return mcu_critical_state; in full_irq_lock()
49 static void full_irq_unlock(uint32_t mcu_critical_state) in full_irq_unlock() argument
51 __set_PRIMASK(mcu_critical_state); in full_irq_unlock()