Searched refs:STM32_MUTEX_COREID (Results 1 – 2 of 2) sorted by relevance
12 #define STM32_MUTEX_COREID BIT(8) macro29 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()49 writel(STM32_MUTEX_COREID, priv->base + index * sizeof(u32)); in stm32mp1_unlock()
19 #define STM32_MUTEX_COREID BIT(8) macro33 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()43 writel(STM32_MUTEX_COREID, lock_addr); in stm32_hwspinlock_unlock()