Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/pico_async_context/include/pico/
Dasync_context.h103 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);
161 uint32_t (*execute_sync)(async_context_t *context, uint32_t (*func)(void *param), void *param);
206 static inline void async_context_acquire_lock_blocking(async_context_t *context) { in async_context_acquire_lock_blocking() argument
207 context->type->acquire_lock_blocking(context); in async_context_acquire_lock_blocking()
225 static inline void async_context_release_lock(async_context_t *context) { in async_context_release_lock() argument
226 context->type->release_lock(context); in async_context_release_lock()
236 static inline void async_context_lock_check(async_context_t *context) { in async_context_lock_check() argument
237 context->type->lock_check(context); in async_context_lock_check()
255 static inline uint32_t async_context_execute_sync(async_context_t *context, uint32_t (*func)(void *… in async_context_execute_sync() argument
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_arch/
Dcyw43_arch_poll.c34 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_init() local
35 if (!context) { in cyw43_arch_init()
36 context = cyw43_arch_init_default_async_context(); in cyw43_arch_init()
37 if (!context) return PICO_ERROR_GENERIC; in cyw43_arch_init()
38 cyw43_arch_set_async_context(context); in cyw43_arch_init()
40 bool ok = cyw43_driver_init(context); in cyw43_arch_init()
42 ok &= lwip_nosys_init(context); in cyw43_arch_init()
45 ok &= btstack_cyw43_init(context); in cyw43_arch_init()
56 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_deinit() local
58 btstack_cyw43_deinit(context); in cyw43_arch_deinit()
[all …]
Dcyw43_arch_freertos.c42 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_init() local
43 if (!context) { in cyw43_arch_init()
44 context = cyw43_arch_init_default_async_context(); in cyw43_arch_init()
45 if (!context) return PICO_ERROR_GENERIC; in cyw43_arch_init()
46 cyw43_arch_set_async_context(context); in cyw43_arch_init()
48 bool ok = cyw43_driver_init(context); in cyw43_arch_init()
50 ok &= lwip_freertos_init(context); in cyw43_arch_init()
53 ok &= btstack_cyw43_init(context); in cyw43_arch_init()
64 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_deinit() local
66 btstack_cyw43_deinit(context); in cyw43_arch_deinit()
[all …]
Dcyw43_arch_threadsafe_background.c39 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_init() local
40 if (!context) { in cyw43_arch_init()
41 context = cyw43_arch_init_default_async_context(); in cyw43_arch_init()
42 if (!context) return PICO_ERROR_GENERIC; in cyw43_arch_init()
43 cyw43_arch_set_async_context(context); in cyw43_arch_init()
45 bool ok = cyw43_driver_init(context); in cyw43_arch_init()
47 ok &= lwip_nosys_init(context); in cyw43_arch_init()
50 ok &= btstack_cyw43_init(context); in cyw43_arch_init()
61 async_context_t *context = cyw43_arch_async_context(); in cyw43_arch_deinit() local
63 btstack_cyw43_deinit(context); in cyw43_arch_deinit()
[all …]
Dcyw43_arch.c27 void cyw43_arch_set_async_context(async_context_t *context) { in cyw43_arch_set_async_context() argument
28 async_context = context; in cyw43_arch_set_async_context()
/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() argument
28 static void update_next_timeout(async_context_t *context, async_when_pending_worker_t *worker) { in update_next_timeout() argument
41 async_context_add_at_time_worker(context, &lwip_timeout_worker); in update_next_timeout()
44 bool lwip_nosys_init(async_context_t *context) { in lwip_nosys_init() argument
52 async_context_add_when_pending_worker(context, &always_pending_update_timeout_worker); in lwip_nosys_init()
56 void lwip_nosys_deinit(async_context_t *context) { in lwip_nosys_deinit() argument
57 async_context_remove_at_time_worker(context, &lwip_timeout_worker); in lwip_nosys_deinit()
58 async_context_remove_when_pending_worker(context, &always_pending_update_timeout_worker); in lwip_nosys_deinit()
Dlwip_freertos.c27 bool lwip_freertos_init(async_context_t *context) { in lwip_freertos_init() argument
29 lwip_context = context; in lwip_freertos_init()
49 void lwip_freertos_deinit(__unused async_context_t *context) { in lwip_freertos_deinit() argument
51 async_context_execute_sync(context, clear_lwip_context, NULL); in lwip_freertos_deinit()
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/
Dcyw43_driver.c24 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
93 … async_context_add_at_time_worker_in_ms(context, &sleep_timeout_worker, CYW43_SLEEP_CHECK_MS); in cyw43_do_poll()
95 async_context_remove_at_time_worker(context, &sleep_timeout_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() argument
101 assert(context == cyw43_async_context); in cyw43_sleep_timeout_reached()
103 async_context_set_work_pending(context, &cyw43_poll_worker); in cyw43_sleep_timeout_reached()
106 bool cyw43_driver_init(async_context_t *context) { in cyw43_driver_init() argument
108 cyw43_async_context = context; in cyw43_driver_init()
[all …]
Dbtstack_cyw43.c49 bool btstack_cyw43_init(async_context_t *context) { in btstack_cyw43_init() argument
52 btstack_run_loop_init(btstack_run_loop_async_context_get_instance(context)); in btstack_cyw43_init()
69 void btstack_cyw43_deinit(__unused async_context_t *context) { in btstack_cyw43_deinit() argument
/hal_rpi_pico-latest/src/rp2_common/pico_btstack/
Dbtstack_flash_bank.c26 static uint32_t pico_flash_bank_get_size(void * context) { in pico_flash_bank_get_size() argument
27 (void)(context); in pico_flash_bank_get_size()
31 static uint32_t pico_flash_bank_get_alignment(void * context) { in pico_flash_bank_get_alignment() argument
32 (void)(context); in pico_flash_bank_get_alignment()
66 static void pico_flash_bank_erase(void * context, int bank) { in pico_flash_bank_erase() argument
67 (void)(context); in pico_flash_bank_erase()
79 static void pico_flash_bank_read(void *context, int bank, uint32_t offset, uint8_t *buffer, uint32_… in pico_flash_bank_read() argument
80 (void)(context); in pico_flash_bank_read()
96 static void pico_flash_bank_write(void * context, int bank, uint32_t offset, const uint8_t *data, u… in pico_flash_bank_write() argument
97 (void)(context); in pico_flash_bank_write()
Dbtstack_run_loop_async_context.c13 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 static void btstack_timeout_reached(__unused async_context_t *context, __unused async_at_time_worke… in btstack_timeout_reached() argument
137 static void btstack_work_pending(__unused async_context_t *context, __unused async_when_pending_wor… in btstack_work_pending() argument
/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);
Dcyw43_driver.h37 bool cyw43_driver_init(struct async_context *context);
44 void cyw43_driver_deinit(struct async_context *context);
/hal_rpi_pico-latest/src/rp2_common/pico_async_context/
Dasync_context_poll.c12 static void noop(__unused async_context_t *context) { } in noop() argument
54 uint32_t async_context_poll_execute_sync(__unused async_context_t *context, uint32_t (*func)(void *… in async_context_poll_execute_sync() argument
Dasync_context_threadsafe_background.c98 static void handle_sync_func_call(async_context_t *context, async_when_pending_worker_t *worker) { in handle_sync_func_call() argument
102 async_context_remove_when_pending_worker(context, worker); in handle_sync_func_call()
Dasync_context_freertos.c187 static void handle_sync_func_call(async_context_t *context, async_when_pending_worker_t *worker) { in handle_sync_func_call() argument
/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);
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_arch/include/pico/
Dcyw43_arch.h222 void cyw43_arch_set_async_context(async_context_t *context);
/hal_rpi_pico-latest/bazel/toolchain/
Dgcc_arm_none_eabi.BUILD71 # `arm-none-eabi-as` will not suffice for this context.
/hal_rpi_pico-latest/tools/pioasm/gen/
Dparser.cpp1765 context yyctx (*this, yyla); in parse()
1961 parser::context::context (const parser& yyparser, const symbol_type& yyla) in context() function in yy::parser::context
1967 parser::context::expected_tokens (symbol_kind_type yyarg[], int yyargn) const in expected_tokens()
2140 parser::yy_syntax_error_arguments_ (const context& yyctx, in yy_syntax_error_arguments_()
2178 parser::yysyntax_error_ (const context& yyctx) const in yysyntax_error_()
Dparser.hpp2826 class context class in yy::parser
2829 context (const parser& yyparser, const symbol_type& yyla);
2867 int yy_syntax_error_arguments_ (const context& yyctx,
2872 virtual std::string yysyntax_error_ (const context& yyctx) const;
/hal_rpi_pico-latest/tools/pioasm/
Dparser.yy33 // The parsing context.