Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/hwspinlock/
H A Dstm32_hwspinlock.c13 #define STM32_MUTEX_LOCK_BIT BIT(31) macro
29 if (status == (STM32_MUTEX_LOCK_BIT | STM32_MUTEX_COREID)) in stm32mp1_lock()
32 writel(STM32_MUTEX_LOCK_BIT | STM32_MUTEX_COREID, in stm32mp1_lock()
36 if (status != (STM32_MUTEX_LOCK_BIT | STM32_MUTEX_COREID)) in stm32mp1_lock()
/openbmc/linux/drivers/hwspinlock/
H A Dstm32_hwspinlock.c20 #define STM32_MUTEX_LOCK_BIT BIT(31) macro
33 writel(STM32_MUTEX_LOCK_BIT | STM32_MUTEX_COREID, lock_addr); in stm32_hwspinlock_trylock()
36 return status == (STM32_MUTEX_LOCK_BIT | STM32_MUTEX_COREID); in stm32_hwspinlock_trylock()