Searched refs:adc2_wifi_lock (Results 1 – 4 of 4) sorted by relevance
109 static _lock_t adc2_wifi_lock; variable111 #define SARADC2_ACQUIRE() _lock_acquire( &adc2_wifi_lock )112 #define SARADC2_RELEASE() _lock_release( &adc2_wifi_lock )113 #define SARADC2_TRY_ACQUIRE() _lock_try_acquire( &adc2_wifi_lock )114 #define SARADC2_LOCK_CHECK() ((uint32_t *)adc2_wifi_lock != NULL)
119 K_MUTEX_DEFINE(adc2_wifi_lock);121 #define SARADC2_ACQUIRE() do { k_mutex_lock(&adc2_wifi_lock, K_FOREVER); } while(0)122 #define SARADC2_RELEASE() do { k_mutex_unlock(&adc2_wifi_lock); } while(0)123 #define SARADC2_TRY_ACQUIRE() k_mutex_lock(&adc2_wifi_lock, K_NO_WAIT)124 #define SARADC2_LOCK_CHECK() (adc2_wifi_lock.lock_count != 0)
3944 .bss.adc2_wifi_lock
34116 .bss.adc2_wifi_lock