Home
last modified time | relevance | path

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

/external/platform/pico/rp2_common/pico_async_context/include/pico/
A Dasync_context.h79 typedef struct async_context async_context_t; typedef
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);
167 void (*poll)(async_context_t *self); // may be NULL
168 void (*wait_until)(async_context_t *self, absolute_time_t until);
170 void (*deinit)(async_context_t *self);
225 static inline void async_context_release_lock(async_context_t *context) { in async_context_release_lock()
236 static inline void async_context_lock_check(async_context_t *context) { in async_context_lock_check()
396 static inline void async_context_poll(async_context_t *context) { in async_context_poll()
[all …]
A 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);
A Dasync_context_poll.h29 async_context_t core;
A Dasync_context_threadsafe_background.h57 async_context_t core;
A Dasync_context_freertos.h60 async_context_t core;
/external/platform/pico/rp2_common/pico_async_context/
A 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()
209 void async_context_freertos_release_lock(async_context_t *self_base) { in async_context_freertos_release_lock()
265 static void async_context_freertos_wait_until(async_context_t *self_base, absolute_time_t until) { in async_context_freertos_wait_until()
[all …]
A 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()
A 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()
A 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()
345 static void async_context_threadsafe_background_acquire_lock_blocking(async_context_t *self_base) { in async_context_threadsafe_background_acquire_lock_blocking()
[all …]
/external/platform/pico/rp2_common/pico_lwip/
A 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()
A Dlwip_freertos.c21 static async_context_t * volatile lwip_context;
29 bool lwip_freertos_init(async_context_t *context) { in lwip_freertos_init()
51 void lwip_freertos_deinit(__unused async_context_t *context) { in lwip_freertos_deinit()
/external/platform/pico/rp2_common/pico_cyw43_driver/
A Dcyw43_driver.c21 static async_context_t *cyw43_async_context;
23 static void cyw43_sleep_timeout_reached(async_context_t *context, async_at_time_worker_t *worker);
24 static void cyw43_do_poll(async_context_t *context, async_when_pending_worker_t *worker);
82 static void cyw43_do_poll(async_context_t *context, __unused async_when_pending_worker_t *worker) { in cyw43_do_poll()
99 static void cyw43_sleep_timeout_reached(async_context_t *context, __unused async_at_time_worker_t *… in cyw43_sleep_timeout_reached()
105 bool cyw43_driver_init(async_context_t *context) { in cyw43_driver_init()
115 void cyw43_driver_deinit(async_context_t *context) { in cyw43_driver_deinit()
A 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()
/external/platform/pico/rp2_common/pico_btstack/
A 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()
/external/platform/pico/rp2_common/pico_cyw43_arch/
A 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()
A 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()
A 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()
A 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()
/external/platform/pico/rp2_common/pico_cyw43_arch/include/pico/
A Dcyw43_arch.h207 async_context_t *cyw43_arch_async_context(void);
218 void cyw43_arch_set_async_context(async_context_t *context);
230 async_context_t *cyw43_arch_init_default_async_context(void);
/external/platform/pico/rp2_common/pico_lwip/include/pico/
A Dlwip_freertos.h34 bool lwip_freertos_init(async_context_t *context);
46 void lwip_freertos_deinit(async_context_t *context);
A Dlwip_nosys.h32 bool lwip_nosys_init(async_context_t *context);
44 void lwip_nosys_deinit(async_context_t *context);
/external/platform/pico/rp2_common/pico_cyw43_driver/include/pico/
A Dbtstack_cyw43.h31 bool btstack_cyw43_init(async_context_t *context);
39 void btstack_cyw43_deinit(async_context_t *context);
A Dcyw43_driver.h32 bool cyw43_driver_init(async_context_t *context);
39 void cyw43_driver_deinit(async_context_t *context);
/external/platform/pico/rp2_common/pico_btstack/include/pico/
A Dbtstack_run_loop_async_context.h24 const btstack_run_loop_t *btstack_run_loop_async_context_get_instance(async_context_t *context);

Completed in 25 milliseconds