Lines Matching refs:sema

79     SemaphoreHandle_t *sema = (SemaphoreHandle_t *) arg;  in wifi_driver_can_start_on_APP_CPU_task()  local
100 xSemaphoreGive(*sema); in wifi_driver_can_start_on_APP_CPU_task()
107 SemaphoreHandle_t sema = xSemaphoreCreateBinary();
108 TEST_ASSERT_NOT_NULL(sema);
111 …iver_can_start_on_APP_CPU_task, "wifi_driver_can_start_on_APP_CPU_task", 2048*2, &sema, 3, &th, 1);
113 …_driver_can_start_on_APP_CPU_task, "wifi_driver_can_start_on_APP_CPU_task", 2048*2, &sema, 3, &th);
116 xSemaphoreTake(sema, portMAX_DELAY);
117 vSemaphoreDelete(sema);
118 sema = NULL;
124 SemaphoreHandle_t *sema = (SemaphoreHandle_t *) arg; in wifi_start_stop_task() local
153 xSemaphoreGive(*sema); in wifi_start_stop_task()
160 SemaphoreHandle_t sema = xSemaphoreCreateBinary();
161 TEST_ASSERT_NOT_NULL(sema);
164 xTaskCreatePinnedToCore(wifi_start_stop_task, "wifi_start_stop_task", 2048*2, &sema, 3, &th, 0);
166 xTaskCreate(wifi_start_stop_task, "wifi_start_stop_task", 2048*2, &sema, 3, &th);
169 xSemaphoreTake(sema, portMAX_DELAY);
170 vSemaphoreDelete(sema);
171 sema = NULL;
177 SemaphoreHandle_t *sema = (SemaphoreHandle_t *) arg; in wifi_stop_task() local
202 xSemaphoreGive(*sema); in wifi_stop_task()
209 SemaphoreHandle_t sema = xSemaphoreCreateBinary();
210 TEST_ASSERT_NOT_NULL(sema);
213 xTaskCreatePinnedToCore(wifi_stop_task, "wifi_stop_task", 2048*2, &sema, 3, &th, 0);
215 xTaskCreate(wifi_stop_task, "wifi_stop_task", 2048*2, &sema, 3, &th);
218 xSemaphoreTake(sema, portMAX_DELAY);
219 vSemaphoreDelete(sema);
220 sema = NULL;
226 SemaphoreHandle_t *sema = (SemaphoreHandle_t *) arg; in wifi_deinit_task() local
255 xSemaphoreGive(*sema); in wifi_deinit_task()
262 SemaphoreHandle_t sema = xSemaphoreCreateBinary();
263 TEST_ASSERT_NOT_NULL(sema);
266 xTaskCreatePinnedToCore(wifi_deinit_task, "wifi_deinit_task", 2048*2, &sema, 3, &th, 0);
268 xTaskCreate(wifi_deinit_task, "wifi_deinit_task", 2048*2, &sema, 3, &th);
271 xSemaphoreTake(sema, portMAX_DELAY);
272 vSemaphoreDelete(sema);
273 sema = NULL;