/hal_rpi_pico-latest/src/rp2_common/pico_async_context/ |
D | async_context_base.c | 9 bool async_context_base_add_at_time_worker(async_context_t *self, async_at_time_worker_t *worker) { in async_context_base_add_at_time_worker() argument 12 if (worker == *prev) { in async_context_base_add_at_time_worker() 17 *prev = worker; in async_context_base_add_at_time_worker() 18 worker->next = NULL; in async_context_base_add_at_time_worker() 22 bool async_context_base_remove_at_time_worker(async_context_t *self, async_at_time_worker_t *worker… in async_context_base_remove_at_time_worker() argument 25 if (worker == *prev) { in async_context_base_remove_at_time_worker() 26 *prev = worker->next; in async_context_base_remove_at_time_worker() 34 …_context_base_add_when_pending_worker(async_context_t *self, async_when_pending_worker_t *worker) { in async_context_base_add_when_pending_worker() argument 37 if (worker == *prev) { in async_context_base_add_when_pending_worker() 42 *prev = worker; in async_context_base_add_when_pending_worker() [all …]
|
D | async_context_freertos.c | 180 async_when_pending_worker_t worker; member 187 static void handle_sync_func_call(async_context_t *context, async_when_pending_worker_t *worker) { in handle_sync_func_call() argument 188 sync_func_call_t *call = (sync_func_call_t *)worker; in handle_sync_func_call() 197 call.worker.do_work = handle_sync_func_call; in async_context_freertos_execute_sync() 201 async_context_add_when_pending_worker(self_base, &call.worker); in async_context_freertos_execute_sync() 202 async_context_set_work_pending(self_base, &call.worker); in async_context_freertos_execute_sync() 204 async_context_remove_when_pending_worker(self_base, &call.worker); in async_context_freertos_execute_sync() 232 …c_context_freertos_add_at_time_worker(async_context_t *self_base, async_at_time_worker_t *worker) { in async_context_freertos_add_at_time_worker() argument 234 bool rc = async_context_base_add_at_time_worker(self_base, worker); in async_context_freertos_add_at_time_worker() 239 …ontext_freertos_remove_at_time_worker(async_context_t *self_base, async_at_time_worker_t *worker) { in async_context_freertos_remove_at_time_worker() argument [all …]
|
D | async_context_threadsafe_background.c | 91 async_when_pending_worker_t worker; member 98 static void handle_sync_func_call(async_context_t *context, async_when_pending_worker_t *worker) { in handle_sync_func_call() argument 99 sync_func_call_t *call = (sync_func_call_t *)worker; in handle_sync_func_call() 102 async_context_remove_when_pending_worker(context, worker); in handle_sync_func_call() 144 call.worker.do_work = handle_sync_func_call; in async_context_threadsafe_background_execute_sync() 148 async_context_add_when_pending_worker(self_base, &call.worker); in async_context_threadsafe_background_execute_sync() 149 async_context_set_work_pending(self_base, &call.worker); in async_context_threadsafe_background_execute_sync() 223 …safe_background_set_work_pending(async_context_t *self_base, async_when_pending_worker_t *worker) { in async_context_threadsafe_background_set_work_pending() argument 224 worker->work_pending = true; in async_context_threadsafe_background_set_work_pending() 313 …eadsafe_background_add_at_time_worker(async_context_t *self_base, async_at_time_worker_t *worker) { in async_context_threadsafe_background_add_at_time_worker() argument [all …]
|
D | async_context_poll.c | 29 …ync_context_poll_requires_update(async_context_t *self_base, async_when_pending_worker_t *worker) { in async_context_poll_requires_update() argument 30 worker->work_pending = true; in async_context_poll_requires_update()
|
/hal_rpi_pico-latest/src/rp2_common/pico_async_context/include/pico/ |
D | async_context.h | 136 void (*do_work)(async_context_t *context, struct async_when_pending_worker *worker); 162 bool (*add_at_time_worker)(async_context_t *self, async_at_time_worker_t *worker); 163 bool (*remove_at_time_worker)(async_context_t *self, async_at_time_worker_t *worker); 164 bool (*add_when_pending_worker)(async_context_t *self, async_when_pending_worker_t *worker); 165 bool (*remove_when_pending_worker)(async_context_t *self, async_when_pending_worker_t *worker); 166 void (*set_work_pending)(async_context_t *self, async_when_pending_worker_t *worker); 274 …e bool async_context_add_at_time_worker(async_context_t *context, async_at_time_worker_t *worker) { in async_context_add_at_time_worker() argument 275 return context->type->add_at_time_worker(context, worker); in async_context_add_at_time_worker() 294 …_add_at_time_worker_at(async_context_t *context, async_at_time_worker_t *worker, absolute_time_t a… in async_context_add_at_time_worker_at() argument 295 worker->next_time = at; in async_context_add_at_time_worker_at() [all …]
|
D | async_context_base.h | 17 bool async_context_base_add_at_time_worker(async_context_t *self, async_at_time_worker_t *worker); 18 bool async_context_base_remove_at_time_worker(async_context_t *self, async_at_time_worker_t *worker… 20 …c_context_base_add_when_pending_worker(async_context_t *self, async_when_pending_worker_t *worker); 21 …ontext_base_remove_when_pending_worker(async_context_t *self, async_when_pending_worker_t *worker);
|
/hal_rpi_pico-latest/src/rp2_common/pico_lwip/ |
D | lwip_nosys.c | 12 static void update_next_timeout(async_context_t *context, async_when_pending_worker_t *worker); 13 static void lwip_timeout_reached(async_context_t *context, async_at_time_worker_t *worker); 23 … lwip_timeout_reached(__unused async_context_t *context, __unused async_at_time_worker_t *worker) { in lwip_timeout_reached() argument 24 assert(worker == &lwip_timeout_worker); in lwip_timeout_reached() 28 static void update_next_timeout(async_context_t *context, async_when_pending_worker_t *worker) { in update_next_timeout() argument 29 assert(worker == &always_pending_update_timeout_worker); in update_next_timeout() 34 worker->work_pending = true; in update_next_timeout()
|
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/ |
D | cyw43_driver.c | 24 static void cyw43_sleep_timeout_reached(async_context_t *context, async_at_time_worker_t *worker); 25 static void cyw43_do_poll(async_context_t *context, async_when_pending_worker_t *worker); 83 static void cyw43_do_poll(async_context_t *context, __unused async_when_pending_worker_t *worker) { in cyw43_do_poll() argument 100 …id cyw43_sleep_timeout_reached(async_context_t *context, __unused async_at_time_worker_t *worker) { in cyw43_sleep_timeout_reached() argument 102 assert(worker == &sleep_timeout_worker); in cyw43_sleep_timeout_reached()
|
/hal_rpi_pico-latest/src/rp2_common/pico_btstack/ |
D | btstack_run_loop_async_context.c | 13 static void btstack_timeout_reached(async_context_t *context, async_at_time_worker_t *worker); 14 static void btstack_work_pending(async_context_t *context, async_when_pending_worker_t *worker); 132 …stack_timeout_reached(__unused async_context_t *context, __unused async_at_time_worker_t *worker) { in btstack_timeout_reached() argument 137 …ack_work_pending(__unused async_context_t *context, __unused async_when_pending_worker_t *worker) { in btstack_work_pending() argument
|