Searched refs:mcu_critical_state (Results 1 – 2 of 2) sorted by relevance
111 uint32_t mcu_critical_state; in full_int_lock() local114 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() argument126 __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() local524 mcu_critical_state = full_int_lock(); in process_channel()545 full_int_unlock(mcu_critical_state); in process_channel()[all …]
41 uint32_t mcu_critical_state; in full_irq_lock() local43 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() argument51 __set_PRIMASK(mcu_critical_state); in full_irq_unlock()