Home
last modified time | relevance | path

Searched refs:async_context_t (Results 1 – 23 of 23) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/pico_async_context/include/pico/
Dasync_context.h79 typedef struct async_context async_context_t; typedef
103 void (*do_work)(async_context_t *context, struct async_work_on_timeout *timeout);
136 void (*do_work)(async_context_t *context, struct async_when_pending_worker *worker);
158 void (*acquire_lock_blocking)(async_context_t *self);
159 void (*release_lock)(async_context_t *self);
160 void (*lock_check)(async_context_t *self);
161 uint32_t (*execute_sync)(async_context_t *context, uint32_t (*func)(void *param), void *param);
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);
[all …]
Dasync_context_base.h17 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 bool async_context_base_add_when_pending_worker(async_context_t *self, async_when_pending_worker_t …
21 bool async_context_base_remove_when_pending_worker(async_context_t *self, async_when_pending_worker…
23 async_at_time_worker_t *async_context_base_remove_ready_at_time_worker(async_context_t *self);
24 void async_context_base_refresh_next_timeout(async_context_t *self);
26 absolute_time_t async_context_base_execute_once(async_context_t *self);
27 bool async_context_base_needs_servicing(async_context_t *self);
Dasync_context_poll.h29 async_context_t core;
Dasync_context_threadsafe_background.h57 async_context_t core;
Dasync_context_freertos.h69 async_context_t core;
/hal_rpi_pico-latest/src/rp2_common/pico_async_context/
Dasync_context_poll.c12 static void noop(__unused async_context_t *context) { } in noop()
25 static void async_context_poll_wake_up(async_context_t *self_base) { in async_context_poll_wake_up()
29 static void async_context_poll_requires_update(async_context_t *self_base, async_when_pending_worke… in async_context_poll_requires_update()
34 static void async_context_poll_poll(async_context_t *self_base) { in async_context_poll_poll()
38 static void async_context_poll_wait_until(__unused async_context_t *self_base, absolute_time_t unti… in async_context_poll_wait_until()
42 static void async_context_poll_wait_for_work_until(async_context_t *self_base, absolute_time_t unti… in async_context_poll_wait_for_work_until()
48 static void async_context_poll_lock_check(async_context_t *self_base) { in async_context_poll_lock_check()
54 uint32_t async_context_poll_execute_sync(__unused async_context_t *context, uint32_t (*func)(void *… in async_context_poll_execute_sync()
Dasync_context_freertos.c21 static void async_context_freertos_acquire_lock_blocking(async_context_t *self_base);
22 static void async_context_freertos_release_lock(async_context_t *self_base);
23 static void async_context_freertos_lock_check(async_context_t *self_base);
79 static void async_context_freertos_wake_up(async_context_t *self_base) { in async_context_freertos_wake_up()
146 void async_context_freertos_deinit(async_context_t *self_base) { in async_context_freertos_deinit()
163 void async_context_freertos_acquire_lock_blocking(async_context_t *self_base) { in async_context_freertos_acquire_lock_blocking()
171 void async_context_freertos_lock_check(__unused async_context_t *self_base) { in async_context_freertos_lock_check()
187 static void handle_sync_func_call(async_context_t *context, async_when_pending_worker_t *worker) { in handle_sync_func_call()
193 uint32_t async_context_freertos_execute_sync(async_context_t *self_base, uint32_t (*func)(void *par… in async_context_freertos_execute_sync()
209 void async_context_freertos_release_lock(async_context_t *self_base) { in async_context_freertos_release_lock()
[all …]
Dasync_context_base.c9 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()
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()
34 bool async_context_base_add_when_pending_worker(async_context_t *self, async_when_pending_worker_t … in async_context_base_add_when_pending_worker()
47 bool async_context_base_remove_when_pending_worker(async_context_t *self, async_when_pending_worker… in async_context_base_remove_when_pending_worker()
59 async_at_time_worker_t *async_context_base_remove_ready_at_time_worker(async_context_t *self) { in async_context_base_remove_ready_at_time_worker()
81 void async_context_base_refresh_next_timeout(async_context_t *self) { in async_context_base_refresh_next_timeout()
93 absolute_time_t async_context_base_execute_once(async_context_t *self) { in async_context_base_execute_once()
108 bool async_context_base_needs_servicing(async_context_t *self) { in async_context_base_needs_servicing()
Dasync_context_threadsafe_background.c44 static void async_context_threadsafe_background_wake_up(async_context_t *self_base) { in async_context_threadsafe_background_wake_up()
81 static void async_context_threadsafe_background_lock_check(async_context_t *self_base) { in async_context_threadsafe_background_lock_check()
98 static void handle_sync_func_call(async_context_t *context, async_when_pending_worker_t *worker) { in handle_sync_func_call()
138 uint32_t async_context_threadsafe_background_execute_sync(async_context_t *self_base, uint32_t (*fu… in async_context_threadsafe_background_execute_sync()
223 static void async_context_threadsafe_background_set_work_pending(async_context_t *self_base, async_… in async_context_threadsafe_background_set_work_pending()
228 static void async_context_threadsafe_background_deinit(async_context_t *self_base) { in async_context_threadsafe_background_deinit()
299 static void async_context_threadsafe_background_wait_until(__unused async_context_t *self_base, abs… in async_context_threadsafe_background_wait_until()
308 static void async_context_threadsafe_background_wait_for_work_until(async_context_t *self_base, abs… in async_context_threadsafe_background_wait_for_work_until()
313 static bool async_context_threadsafe_background_add_at_time_worker(async_context_t *self_base, asyn… in async_context_threadsafe_background_add_at_time_worker()
321 static bool async_context_threadsafe_background_remove_at_time_worker(async_context_t *self_base, a… in async_context_threadsafe_background_remove_at_time_worker()
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_lwip/
Dlwip_nosys.c12 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 static void lwip_timeout_reached(__unused async_context_t *context, __unused async_at_time_worker_t… in lwip_timeout_reached()
28 static void update_next_timeout(async_context_t *context, async_when_pending_worker_t *worker) { in update_next_timeout()
44 bool lwip_nosys_init(async_context_t *context) { in lwip_nosys_init()
56 void lwip_nosys_deinit(async_context_t *context) { in lwip_nosys_deinit()
Dlwip_freertos.c19 static async_context_t * volatile lwip_context;
27 bool lwip_freertos_init(async_context_t *context) { in lwip_freertos_init()
49 void lwip_freertos_deinit(__unused async_context_t *context) { in lwip_freertos_deinit()
/hal_rpi_pico-latest/src/rp2_common/pico_btstack/
Dbtstack_run_loop_async_context.c10 static async_context_t *btstack_async_context;
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);
125 const btstack_run_loop_t *btstack_run_loop_async_context_get_instance(async_context_t *async_contex… in btstack_run_loop_async_context_get_instance()
132 static void btstack_timeout_reached(__unused async_context_t *context, __unused async_at_time_worke… in btstack_timeout_reached()
137 static void btstack_work_pending(__unused async_context_t *context, __unused async_when_pending_wor… in btstack_work_pending()
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/
Dcyw43_driver.c22 static async_context_t *cyw43_async_context;
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()
100 static void cyw43_sleep_timeout_reached(async_context_t *context, __unused async_at_time_worker_t *… in cyw43_sleep_timeout_reached()
106 bool cyw43_driver_init(async_context_t *context) { in cyw43_driver_init()
116 void cyw43_driver_deinit(async_context_t *context) { in cyw43_driver_deinit()
Dbtstack_cyw43.c49 bool btstack_cyw43_init(async_context_t *context) { in btstack_cyw43_init()
69 void btstack_cyw43_deinit(__unused async_context_t *context) { in btstack_cyw43_deinit()
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_arch/
Dcyw43_arch_poll.c27 async_context_t *cyw43_arch_init_default_async_context(void) { in cyw43_arch_init_default_async_context()
34 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_init()
56 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_deinit()
Dcyw43_arch_freertos.c28 async_context_t *cyw43_arch_init_default_async_context(void) { in cyw43_arch_init_default_async_context()
42 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_init()
64 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_deinit()
Dcyw43_arch_threadsafe_background.c31 async_context_t *cyw43_arch_init_default_async_context(void) { in cyw43_arch_init_default_async_context()
39 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_init()
61 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_deinit()
Dcyw43_arch.c25 static async_context_t *async_context;
27 void cyw43_arch_set_async_context(async_context_t *context) { in cyw43_arch_set_async_context()
177 async_context_t *cyw43_arch_async_context(void) { in cyw43_arch_async_context()
/hal_rpi_pico-latest/src/rp2_common/pico_lwip/include/pico/
Dlwip_freertos.h35 bool lwip_freertos_init(async_context_t *context);
47 void lwip_freertos_deinit(async_context_t *context);
Dlwip_nosys.h33 bool lwip_nosys_init(async_context_t *context);
45 void lwip_nosys_deinit(async_context_t *context);
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/include/pico/
Dbtstack_cyw43.h31 bool btstack_cyw43_init(async_context_t *context);
39 void btstack_cyw43_deinit(async_context_t *context);
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_arch/include/pico/
Dcyw43_arch.h211 async_context_t *cyw43_arch_async_context(void);
222 void cyw43_arch_set_async_context(async_context_t *context);
234 async_context_t *cyw43_arch_init_default_async_context(void);
/hal_rpi_pico-latest/src/rp2_common/pico_btstack/include/pico/
Dbtstack_run_loop_async_context.h24 const btstack_run_loop_t *btstack_run_loop_async_context_get_instance(async_context_t *context);