/hal_espressif-3.6.0/components/freertos/test/ |
D | test_task_priorities.c | 27 TaskHandle_t tasks[portNUM_PROCESSORS][2] = { 0 }; 28 unsigned volatile counters[portNUM_PROCESSORS][2] = { 0 }; 33 for (int cpu = 0; cpu < portNUM_PROCESSORS; cpu++) { 40 for (int cpu = 0; cpu < portNUM_PROCESSORS; cpu++) { 49 for (int cpu = 0; cpu < portNUM_PROCESSORS; cpu++) { 55 for (int cpu = 0; cpu < portNUM_PROCESSORS; cpu++) { 61 for (int cpu = 0; cpu < portNUM_PROCESSORS; cpu++) { 67 for (int cpu = 0; cpu < portNUM_PROCESSORS; cpu++) { 77 for (int cpu = 0; cpu < portNUM_PROCESSORS; cpu++) {
|
D | test_freertos_debug_functions.c | 18 #define NO_OF_QUEUES_PER_CORE ((int)((CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE - 3)/portNUM_PROCESSORS)… 19 #define NO_OF_QUEUES_TOTAL (NO_OF_QUEUES_PER_CORE * portNUM_PROCESSORS) 22 static SemaphoreHandle_t start_sem[portNUM_PROCESSORS]; 58 done_sem = xSemaphoreCreateCounting(portNUM_PROCESSORS, 0); 59 for(int i = 0; i < portNUM_PROCESSORS; i++){ 65 for(int i = 0; i < portNUM_PROCESSORS; i++){ 69 for(int i = 0; i < portNUM_PROCESSORS; i++){ 78 for(int i = 0; i < portNUM_PROCESSORS; i++){ 82 for(int i = 0; i < portNUM_PROCESSORS; i++){ 96 for(int i = 0; i < portNUM_PROCESSORS; i++){
|
D | test_queuesets.c | 64 static volatile bool sync_flags[portNUM_PROCESSORS]; 91 sync_sem = xSemaphoreCreateCounting(portNUM_PROCESSORS, 0); 92 QueueHandle_t queue_handles[portNUM_PROCESSORS]; 93 QueueSetHandle_t queueset_handle = xQueueCreateSet(portNUM_PROCESSORS * QUEUE_LEN); 94 for (int i = 0; i < portNUM_PROCESSORS; i++) { 103 for (int i = 0; i < portNUM_PROCESSORS; i++) { 112 for (int i = 0; i < (portNUM_PROCESSORS * QUEUE_LEN); i++) { 128 for (int i = 0; i < portNUM_PROCESSORS; i++) { 131 for (int i = 0; i < portNUM_PROCESSORS; i++) {
|
D | test_suspend_scheduler.c | 137 TaskHandle_t tasks[portNUM_PROCESSORS][TASKS_PER_PROC] = { 0 }; 138 counter_config_t counters[portNUM_PROCESSORS][TASKS_PER_PROC] = { 0 }; 141 for (int p = 0; p < portNUM_PROCESSORS; p++) { 154 vTaskDelay(TASKS_PER_PROC * portNUM_PROCESSORS * 3); 157 for (int p = 0; p < portNUM_PROCESSORS; p++) { 169 for (int p = 0; p < portNUM_PROCESSORS; p++) { 177 for (int p = 0; p < portNUM_PROCESSORS; p++) { 189 for (int p = 0; p < portNUM_PROCESSORS; p++) { 197 for (int p = 0; p < portNUM_PROCESSORS; p++) {
|
D | test_freertos_task_delete.c | 55 for(int i = 0; i < portNUM_PROCESSORS; i++){ 115 TaskHandle_t blocking_tasks[portNUM_PROCESSORS + 1]; // one per CPU, plus one unpinned task 116 tsk_blocks_param_t params[portNUM_PROCESSORS + 1] = { 0 }; 130 for(unsigned i = 0; i < portNUM_PROCESSORS + 1; i++) { 137 i < portNUM_PROCESSORS ? i : tskNO_AFFINITY)); 142 for(unsigned i = 0; i < portNUM_PROCESSORS + 1; i++) {
|
D | test_legacy_hooks.c | 44 …TEST_ASSERT_UINT32_WITHIN_MESSAGE(3 * portNUM_PROCESSORS, before + SLEEP_FOR * portNUM_PROCESSORS,… 66 for(int i = 0; i < portNUM_PROCESSORS; i++) {
|
D | test_freertos_get_state.c | 48 done_sem = xQueueCreateCountingSemaphore(portNUM_PROCESSORS, 0); 53 for(int i = 0; i < portNUM_PROCESSORS; i++){ 58 for(int i = 0; i < portNUM_PROCESSORS; i++){
|
D | test_freertos_backported_functions.c | 164 static bool has_run[portNUM_PROCESSORS]; 174 for(int core = 0; core < portNUM_PROCESSORS; core++){ 217 static uint32_t task_storage[portNUM_PROCESSORS][NO_OF_TLSP] = {0}; 261 for(int core = 0; core < portNUM_PROCESSORS; core++){ 266 for(int core = 0; core < portNUM_PROCESSORS; core++){
|
D | test_freertos_task_delay_until.c | 59 task_delete_semphr = xQueueCreateCountingSemaphore(NO_OF_TASKS_PER_CORE*portNUM_PROCESSORS, 0); 62 for(int i = 0; i < portNUM_PROCESSORS; i++){ 67 for(int i = 0; i < NO_OF_TASKS_PER_CORE*portNUM_PROCESSORS; i++){
|
/hal_espressif-3.6.0/components/esp_system/ |
D | freertos_hooks.c | 32 static esp_freertos_idle_cb_t idle_cb[portNUM_PROCESSORS][MAX_HOOKS]={0}; 33 static esp_freertos_tick_cb_t tick_cb[portNUM_PROCESSORS][MAX_HOOKS]={0}; 68 if(cpuid >= portNUM_PROCESSORS){ in esp_register_freertos_idle_hook_for_cpu() 90 if(cpuid >= portNUM_PROCESSORS){ in esp_register_freertos_tick_hook_for_cpu() 112 if(cpuid >= portNUM_PROCESSORS){ in esp_deregister_freertos_idle_hook_for_cpu() 125 for(int m = 0; m < portNUM_PROCESSORS; m++) { in esp_deregister_freertos_idle_hook() 133 if(cpuid >= portNUM_PROCESSORS){ in esp_deregister_freertos_tick_hook_for_cpu() 146 for(int m = 0; m < portNUM_PROCESSORS; m++){ in esp_deregister_freertos_tick_hook()
|
D | crosscore_int.c | 39 static volatile uint32_t reason[portNUM_PROCESSORS]; 104 #if portNUM_PROCESSORS > 1 in esp_crosscore_int_init() 117 assert(core_id<portNUM_PROCESSORS); in esp_crosscore_int_send()
|
/hal_espressif-3.6.0/components/esp_ipc/src/ |
D | esp_ipc.c | 22 static TaskHandle_t s_ipc_task_handle[portNUM_PROCESSORS]; 23 static SemaphoreHandle_t s_ipc_mutex[portNUM_PROCESSORS]; // This mutex is used as a global lock… 24 static SemaphoreHandle_t s_ipc_sem[portNUM_PROCESSORS]; // Two semaphores used to wake each of… 25 static SemaphoreHandle_t s_ipc_ack[portNUM_PROCESSORS]; // Semaphore used to acknowledge that … 27 static volatile esp_ipc_func_t s_func[portNUM_PROCESSORS]; // Function which should be called by … 28 static void * volatile s_func_arg[portNUM_PROCESSORS]; // Argument to pass into s_func 34 static volatile esp_ipc_wait_t s_ipc_wait[portNUM_PROCESSORS];// This variable tells high priority … 105 for (int i = 0; i < portNUM_PROCESSORS; ++i) { in esp_ipc_init() 119 if (cpu_id >= portNUM_PROCESSORS) { in esp_ipc_call_and_wait()
|
/hal_espressif-3.6.0/components/xtensa/ |
D | xtensa_intr.c | 71 n = n * portNUM_PROCESSORS + xPortGetCoreID(); in xt_set_exception_handler() 95 extern xt_handler_table_entry _xt_interrupt_table[XCHAL_NUM_INTERRUPTS*portNUM_PROCESSORS]; 109 return (_xt_interrupt_table[intr*portNUM_PROCESSORS+cpu].handler != xt_unhandled_interrupt); in xt_int_has_handler() 129 n = n * portNUM_PROCESSORS + xPortGetCoreID(); in xt_set_interrupt_handler() 155 n = n * portNUM_PROCESSORS + xPortGetCoreID(); in xt_get_interrupt_handler_arg()
|
D | xtensa_intr_asm.S | 85 .rept XCHAL_NUM_INTERRUPTS*portNUM_PROCESSORS 118 .rept XCHAL_EXCCAUSE_NUM * portNUM_PROCESSORS
|
/hal_espressif-3.6.0/components/esp_pm/ |
D | pm_impl.c | 126 static bool s_skipped_light_sleep[portNUM_PROCESSORS]; 128 #if portNUM_PROCESSORS == 2 134 static bool s_skip_light_sleep[portNUM_PROCESSORS]; 141 static bool s_core_idle[portNUM_PROCESSORS]; 146 static esp_pm_lock_handle_t s_rtos_lock_handle[portNUM_PROCESSORS]; 181 static volatile bool s_need_update_ccompare[portNUM_PROCESSORS]; 436 #if portNUM_PROCESSORS == 2 in on_freq_update() 603 #if portNUM_PROCESSORS == 2 in should_skip_light_sleep() 621 #if portNUM_PROCESSORS == 2 in other_core_should_skip_light_sleep() 747 #if portNUM_PROCESSORS == 2 [all …]
|
/hal_espressif-3.6.0/components/esp_ipc/test/ |
D | test_ipc.c | 102 xSemaphoreHandle sema_ipc_done[max_tasks * portNUM_PROCESSORS]; 107 for (int cpu_num = 0; cpu_num < portNUM_PROCESSORS; ++cpu_num) { 114 for (int cpu_num = 0; cpu_num < portNUM_PROCESSORS; ++cpu_num) { 120 for (int cpu_num = 0; cpu_num < portNUM_PROCESSORS; ++cpu_num) {
|
/hal_espressif-3.6.0/examples/system/task_watchdog/main/ |
D | task_watchdog_example_main.c | 29 static TaskHandle_t task_handles[portNUM_PROCESSORS]; 60 for(int i = 0; i < portNUM_PROCESSORS; i++){ in app_main() 69 for(int i = 0; i < portNUM_PROCESSORS; i++){ in app_main()
|
/hal_espressif-3.6.0/components/freertos/include/esp_additions/freertos/ |
D | FreeRTOSConfig.h | 88 #define portNUM_PROCESSORS 2 macro 90 #define portNUM_PROCESSORS 1 macro 321 #define configNUM_CORES portNUM_PROCESSORS
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_kernel.h | 25 #define BLE_MESH_ADV_TASK_CORE (CONFIG_BT_BLUEDROID_PINNED_TO_CORE < portNUM_PROCESSORS ? CONFIG_B… 33 #define BLE_MESH_ADV_TASK_CORE (CONFIG_BT_NIMBLE_PINNED_TO_CORE < portNUM_PROCESSORS ? CONFIG_BT_N…
|
/hal_espressif-3.6.0/components/freertos/port/xtensa/ |
D | port.c | 77 extern volatile int port_xSchedulerRunning[portNUM_PROCESSORS]; 78 unsigned port_interruptNesting[portNUM_PROCESSORS] = {0}; // Interrupt nesting level. Increased/de… 79 BaseType_t port_uxCriticalNesting[portNUM_PROCESSORS] = {0}; 80 BaseType_t port_uxOldInterruptState[portNUM_PROCESSORS] = {0};
|
/hal_espressif-3.6.0/components/esp_system/test/ |
D | test_delay.c | 54 #if portNUM_PROCESSORS == 2 77 #if portNUM_PROCESSORS == 2
|
D | test_sleep.c | 108 #if portNUM_PROCESSORS == 2 112 #if portNUM_PROCESSORS == 2 134 #if portNUM_PROCESSORS == 2 138 #if portNUM_PROCESSORS == 2
|
/hal_espressif-3.6.0/components/freertos/port/ |
D | port_systick.c | 59 static uint32_t s_handled_systicks[portNUM_PROCESSORS] = { 0 }; 92 for (cpuid = 0; cpuid < portNUM_PROCESSORS; ++cpuid) { in vPortSetupTimer()
|
/hal_espressif-3.6.0/components/esp_timer/test/ |
D | test_esp_timer.c | 141 SemaphoreHandle_t done = xSemaphoreCreateCounting(portNUM_PROCESSORS, 0); 144 #if portNUM_PROCESSORS == 2 149 #if portNUM_PROCESSORS == 2 504 test_monotonic_values_state_t states[portNUM_PROCESSORS] = {0}; 505 SemaphoreHandle_t done = xSemaphoreCreateCounting(portNUM_PROCESSORS, 0); 506 for (int i = 0; i < portNUM_PROCESSORS; ++i) { 511 for (int i = 0; i < portNUM_PROCESSORS; ++i) { 523 for (int i = 0; i < portNUM_PROCESSORS; ++i) {
|
/hal_espressif-3.6.0/components/cxx/test/ |
D | test_initialization.cpp | 94 #if portNUM_PROCESSORS == 2 102 #if portNUM_PROCESSORS == 2
|