Home
last modified time | relevance | path

Searched refs:self_base (Results 1 – 3 of 3) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/pico_async_context/
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() argument
80 async_context_freertos_t *self = (async_context_freertos_t *)self_base; in async_context_freertos_wake_up()
94 async_context_freertos_lock_check(self_base); in async_context_freertos_wake_up()
146 void async_context_freertos_deinit(async_context_t *self_base) { in async_context_freertos_deinit() argument
147 async_context_freertos_t *self = (async_context_freertos_t *)self_base; in async_context_freertos_deinit()
149 async_context_execute_sync(self_base, end_task_func, 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() argument
[all …]
Dasync_context_poll.c25 static void async_context_poll_wake_up(async_context_t *self_base) { in async_context_poll_wake_up() argument
26 sem_release(&((async_context_poll_t *)self_base)->sem); 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() argument
31 async_context_poll_wake_up(self_base); in async_context_poll_requires_update()
34 static void async_context_poll_poll(async_context_t *self_base) { in async_context_poll_poll() argument
35 async_context_base_execute_once(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() argument
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() argument
43 absolute_time_t next_time = self_base->next_time; in async_context_poll_wait_for_work_until()
44 async_context_poll_t *self = (async_context_poll_t *)self_base; in async_context_poll_wait_for_work_until()
[all …]
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() argument
45 … async_context_threadsafe_background_t *self = (async_context_threadsafe_background_t *)self_base; in async_context_threadsafe_background_wake_up()
47 if (self_base->core_num == get_core_num()) { 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() argument
82 … async_context_threadsafe_background_t *self = (async_context_threadsafe_background_t *)self_base; in async_context_threadsafe_background_lock_check()
138 uint32_t async_context_threadsafe_background_execute_sync(async_context_t *self_base, uint32_t (*fu… in async_context_threadsafe_background_execute_sync() argument
139 async_context_threadsafe_background_t *self = (async_context_threadsafe_background_t*)self_base; in async_context_threadsafe_background_execute_sync()
141 if (self_base->core_num != get_core_num()) { 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()
[all …]