Searched refs:mux (Results 1 – 4 of 4) sorted by relevance
/Kernel-v11.1.0/portable/ThirdParty/GCC/Xtensa_ESP32/ |
D | portmux_impl.inc.h | 24 PORTMUX_AQUIRE_MUX_FN_NAME( portMUX_TYPE * mux, argument 30 PORTMUX_AQUIRE_MUX_FN_NAME( portMUX_TYPE * mux, int timeout_cycles ) 54 uint32_t owner = mux->owner; 62 …UAcquireMutex: mux %p is uninitialized (0x%X)! Called from %s line %d.\n", mux, owner, fnName, lin… 63 mux->owner = portMUX_FREE_VAL; 90 PORTMUX_COMPARE_SET_FN_NAME( &mux->owner, portMUX_FREE_VAL, &res ); 105 … on mux! last non-recursive lock %s line %d, curr %s line %d\n", mux->lastLockedFn, mux->lastLocke… 106 ets_printf( "Owner 0x%x count %d\n", mux->owner, mux->count ); 114 …assert( ( res == portMUX_FREE_VAL ) == ( mux->count == 0 ) ); /* we're first to lock iff count is … 115 …assert( mux->count < 0xFF ); /* Bad count value implies memory co… [all …]
|
D | portmux_impl.h | 66 …#define PORTMUX_AQUIRE_MUX_FN_ARGS portMUX_TYPE * mux, int timeout_cycles, const char * fnName… 67 #define PORTMUX_RELEASE_MUX_FN_ARGS portMUX_TYPE * mux, const char * fnName, int line 71 #define PORTMUX_AQUIRE_MUX_FN_ARGS portMUX_TYPE * mux, int timeout_cycles 72 #define PORTMUX_RELEASE_MUX_FN_ARGS portMUX_TYPE * mux 81 if( esp_ptr_external_ram( mux ) ) in vPortCPUAcquireMutexIntsDisabled() 83 return vPortCPUAcquireMutexIntsDisabledExtram( PORTMUX_AQUIRE_MUX_FN_CALL_ARGS( mux ) ); in vPortCPUAcquireMutexIntsDisabled() 86 return vPortCPUAcquireMutexIntsDisabledInternal( PORTMUX_AQUIRE_MUX_FN_CALL_ARGS( mux ) ); in vPortCPUAcquireMutexIntsDisabled() 93 if( esp_ptr_external_ram( mux ) ) in vPortCPUReleaseMutexIntsDisabled() 95 vPortCPUReleaseMutexIntsDisabledExtram( PORTMUX_RELEASE_MUX_FN_CALL_ARGS( mux ) ); in vPortCPUReleaseMutexIntsDisabled() 99 vPortCPUReleaseMutexIntsDisabledInternal( PORTMUX_RELEASE_MUX_FN_CALL_ARGS( mux ) ); in vPortCPUReleaseMutexIntsDisabled()
|
D | port.c | 399 void vPortCPUInitializeMutex( portMUX_TYPE * mux ) in vPortCPUInitializeMutex() argument 402 esp_rom_printf( "Initializing mux %p\n", mux ); in vPortCPUInitializeMutex() 403 mux->lastLockedFn = "(never locked)"; in vPortCPUInitializeMutex() 404 mux->lastLockedLine = -1; in vPortCPUInitializeMutex() 406 mux->owner = portMUX_FREE_VAL; in vPortCPUInitializeMutex() 407 mux->count = 0; in vPortCPUInitializeMutex() 416 void vPortCPUAcquireMutex( portMUX_TYPE * mux, in vPortCPUAcquireMutex() argument 422 vPortCPUAcquireMutexIntsDisabled( mux, portMUX_NO_TIMEOUT, fnName, line ); in vPortCPUAcquireMutex() 426 bool vPortCPUAcquireMutexTimeout( portMUX_TYPE * mux, in vPortCPUAcquireMutexTimeout() argument 432 bool result = vPortCPUAcquireMutexIntsDisabled( mux, timeout_cycles, fnName, line ); in vPortCPUAcquireMutexTimeout() [all …]
|
/Kernel-v11.1.0/portable/ThirdParty/GCC/Xtensa_ESP32/include/ |
D | portmacro.h | 146 …#define portMUX_INITIALIZE( mux ) spinlock_initialize( mux ) /*< Initialize a spinlock to its u… argument 176 void vPortCPUInitializeMutex( portMUX_TYPE * mux ); 196 bool vPortCPUAcquireMutexTimeout( portMUX_TYPE * mux, 198 void vPortCPUReleaseMutex( portMUX_TYPE * mux ); 204 #define portENTER_CRITICAL_ISR( mux ) vPortCPUAcquireMutexTimeout( mux, portMUX_NO_TIMEOUT ) argument 205 #define portEXIT_CRITICAL_ISR( mux ) vPortCPUReleaseMutex( mux ) argument 207 #define portENTER_CRITICAL_SAFE( mux ) \ argument 210 portENTER_CRITICAL_ISR( mux ); \ 213 portENTER_CRITICAL( mux ); \ 217 #define portEXIT_CRITICAL_SAFE( mux ) \ argument [all …]
|