Home
last modified time | relevance | path

Searched refs:core (Results 1 – 25 of 30) sorted by relevance

12

/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_sync/
Dsem.c11 lock_init(&sem->core, next_striped_spin_lock_num()); in sem_init()
23 uint32_t save = spin_lock_blocking(sem->core.spin_lock); in __time_critical_func()
26 spin_unlock(sem->core.spin_lock, save); in __time_critical_func()
29 lock_internal_spin_unlock_with_wait(&sem->core, save); in __time_critical_func()
43 uint32_t save = spin_lock_blocking(sem->core.spin_lock); in __time_critical_func()
46 spin_unlock(sem->core.spin_lock, save); in __time_critical_func()
49 if (lock_internal_spin_unlock_with_best_effort_wait_or_timeout(&sem->core, save, until)) { in __time_critical_func()
56 uint32_t save = spin_lock_blocking(sem->core.spin_lock); in __time_critical_func()
59 spin_unlock(sem->core.spin_lock, save); in __time_critical_func()
62 spin_unlock(sem->core.spin_lock, save); in __time_critical_func()
[all …]
Dmutex.c11 lock_init(&mtx->core, next_striped_spin_lock_num()); in mutex_init()
20 lock_init(&mtx->core, next_striped_spin_lock_num()); in recursive_mutex_init()
38 uint32_t save = spin_lock_blocking(mtx->core.spin_lock); in __time_critical_func()
41 spin_unlock(mtx->core.spin_lock, save); in __time_critical_func()
44 lock_internal_spin_unlock_with_wait(&mtx->core, save); in __time_critical_func()
51 uint32_t save = spin_lock_blocking(mtx->core.spin_lock); in __time_critical_func()
55 spin_unlock(mtx->core.spin_lock, save); in __time_critical_func()
59 lock_internal_spin_unlock_with_wait(&mtx->core, save); in __time_critical_func()
71 uint32_t save = spin_lock_blocking(mtx->core.spin_lock); in __time_critical_func()
79 spin_unlock(mtx->core.spin_lock, save); in __time_critical_func()
[all …]
Dlock_core.c9 void lock_init(lock_core_t *core, uint lock_num) { in lock_init() argument
11 core->spin_lock = spin_lock_instance(lock_num); in lock_init()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_util/
Dqueue.c12 lock_init(&q->core, spinlock_num); in queue_init_with_spinlock()
46 uint32_t save = spin_lock_blocking(q->core.spin_lock); in queue_add_internal()
50 lock_internal_spin_unlock_with_notify(&q->core, save); in queue_add_internal()
54 lock_internal_spin_unlock_with_wait(&q->core, save); in queue_add_internal()
56 spin_unlock(q->core.spin_lock, save); in queue_add_internal()
64 uint32_t save = spin_lock_blocking(q->core.spin_lock); in queue_remove_internal()
68 lock_internal_spin_unlock_with_notify(&q->core, save); in queue_remove_internal()
72 lock_internal_spin_unlock_with_wait(&q->core, save); in queue_remove_internal()
74 spin_unlock(q->core.spin_lock, save); in queue_remove_internal()
82 uint32_t save = spin_lock_blocking(q->core.spin_lock); in queue_peek_internal()
[all …]
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_binary_info/include/pico/binary_info/
Dstructure.h70 struct _binary_info_core core; member
75 struct _binary_info_core core; member
81 struct _binary_info_core core; member
86 struct _binary_info_core core; member
92 struct _binary_info_core core; member
98 struct _binary_info_core core; member
110 struct _binary_info_core core; member
117 struct _binary_info_core core; member
128 struct _binary_info_core core; member
Dcode.h35 …nclosure _decl; __bi_decl(__bi_ptr_lineno_var_name, &__bi_lineno_var_name.core, ".binary_info.keep…
42 …nclosure _decl; __bi_decl(__bi_ptr_lineno_var_name, &__bi_lineno_var_name.core, ".binary_info.", )…
44 …re _attr _decl; __bi_decl(__bi_ptr_lineno_var_name, &__bi_lineno_var_name.core, ".binary_info.keep…
45 …re _attr _decl; __bi_decl(__bi_ptr_lineno_var_name, &__bi_lineno_var_name.core, ".binary_info.", )…
56 .core = { \
66 .core = { \
76 .core = { \
89 .core = { \
98 .core = { \
108 .core = { \
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_lwip/
DCMakeLists.txt29 ${PICO_LWIP_PATH}/src/core/init.c
30 ${PICO_LWIP_PATH}/src/core/def.c
31 ${PICO_LWIP_PATH}/src/core/dns.c
32 ${PICO_LWIP_PATH}/src/core/inet_chksum.c
33 ${PICO_LWIP_PATH}/src/core/ip.c
34 ${PICO_LWIP_PATH}/src/core/mem.c
35 ${PICO_LWIP_PATH}/src/core/memp.c
36 ${PICO_LWIP_PATH}/src/core/netif.c
37 ${PICO_LWIP_PATH}/src/core/pbuf.c
38 ${PICO_LWIP_PATH}/src/core/raw.c
[all …]
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_sync/include/pico/
Dmutex.h48 lock_core_t core; member
61 lock_core_t core; member
249 return mtx->core.spin_lock != 0; in mutex_is_initialized()
259 return mtx->core.spin_lock != 0; in recursive_mutex_is_initialized()
306 …atic __attribute__((section(".mutex_array"))) recursive_mutex_t name = { .core = { .spin_lock = (s…
Dsem.h32 struct lock_core core; member
Dlock_core.h72 void lock_init(lock_core_t *core, uint lock_num);
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_async_context/
Dasync_context_threadsafe_background.c119 if (self->core.core_num == get_core_num()) { in lock_release()
121 } else if (async_context_base_needs_servicing(&self->core)) { in lock_release()
132 async_context_threadsafe_background_wake_up(&self->core); in lock_release()
161 assert(get_core_num() == self->core.core_num); in low_prio_irq_init()
176 assert(get_core_num() == self->core.core_num); in low_prio_irq_deinit()
190 async_context_threadsafe_background_wake_up(&self->core); in alarm_handler()
196 self->core.type = &template; in async_context_threadsafe_background_init()
197 …self->core.flags = ASYNC_CONTEXT_FLAG_CALLBACK_FROM_IRQ | ASYNC_CONTEXT_FLAG_CALLBACK_FROM_NON_IRQ; in async_context_threadsafe_background_init()
198 self->core.core_num = get_core_num(); in async_context_threadsafe_background_init()
208 if (self->core.core_num != alarm_pool_core_num(self->alarm_pool)) { in async_context_threadsafe_background_init()
[all …]
Dasync_context_freertos.c44 async_context_freertos_lock_check(&self->core); in process_under_lock()
49 absolute_time_t next_time = async_context_base_execute_once(&self->core); in process_under_lock()
71 async_context_freertos_acquire_lock_blocking(&self->core); in async_context_task()
73 async_context_freertos_release_lock(&self->core); in async_context_task()
104 async_context_freertos_wake_up(&self->core); in timer_handler()
109 self->core.type = &template; in async_context_freertos_init()
110 self->core.flags = ASYNC_CONTEXT_FLAG_CALLBACK_FROM_NON_IRQ; in async_context_freertos_init()
111 self->core.core_num = get_core_num(); in async_context_freertos_init()
125 async_context_deinit(&self->core); in async_context_freertos_init()
Dasync_context_poll.c18 self->core.core_num = get_core_num(); in async_context_poll_init_with_defaults()
19 self->core.type = &template; in async_context_poll_init_with_defaults()
20 self->core.flags = ASYNC_CONTEXT_FLAG_POLLED | ASYNC_CONTEXT_FLAG_CALLBACK_FROM_NON_IRQ; in async_context_poll_init_with_defaults()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_util/include/pico/util/
Dqueue.h33 lock_core_t core; member
98 uint32_t save = spin_lock_blocking(q->core.spin_lock); in queue_get_level()
100 spin_unlock(q->core.spin_lock, save); in queue_get_level()
124 uint32_t save = spin_lock_blocking(q->core.spin_lock); in queue_reset_max_level()
126 spin_unlock(q->core.spin_lock, save); in queue_reset_max_level()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/hardware_gpio/
Dgpio.c144 uint core = get_core_num(); in gpio_default_irq_handler() local
145 gpio_irq_callback_t callback = callbacks[core]; in gpio_default_irq_handler()
146 …io_irq_ctrl_hw_t *irq_ctrl_base = core ? &iobank0_hw->proc1_irq_ctrl : &iobank0_hw->proc0_irq_ctrl; in gpio_default_irq_handler()
152 if (events && !(raw_irq_mask[core] & (1u << i))) { in gpio_default_irq_handler()
191 uint core = get_core_num(); in gpio_set_irq_callback() local
192 if (callbacks[core]) { in gpio_set_irq_callback()
196 callbacks[core] = callback; in gpio_set_irq_callback()
198 callbacks[core] = callback; in gpio_set_irq_callback()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_cyw43_arch/
Dcyw43_arch_poll.c28 return &cyw43_async_context_poll.core; in cyw43_arch_init_default_async_context()
69 if (context == &cyw43_async_context_poll.core) { in cyw43_arch_deinit()
Dcyw43_arch_freertos.c37 return &cyw43_async_context_freertos.core; in cyw43_arch_init_default_async_context()
78 if (context == &cyw43_async_context_freertos.core) { in cyw43_arch_deinit()
Dcyw43_arch_threadsafe_background.c34 return &cyw43_async_context_threadsafe_background.core; in cyw43_arch_init_default_async_context()
75 if (context == &cyw43_async_context_threadsafe_background.core) { in cyw43_arch_deinit()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_runtime/
Druntime.c127 static_assert(!offsetof(mutex_t, core), ""); in runtime_init()
128 static_assert(!offsetof(recursive_mutex_t, core), ""); in runtime_init()
137 l = &rm[1].core; // next in runtime_init()
141 l = &m[1].core; // next in runtime_init()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_async_context/include/pico/
Dasync_context_poll.h29 async_context_t core; member
Dasync_context_threadsafe_background.h57 async_context_t core; member
Dasync_context_freertos.h60 async_context_t core; member
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/cmsis/
DCMakeLists.txt1 …clude other CMSIS libraries... it is likely that we always want to use the stub version of the core
41 # message(WARNING "CMSIS core not found in ${PICO_CMSIS_PATH} for vendor ${PICO_CMSIS_VENDOR}, d…
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_standard_link/
Dmemmap_no_flash.ld191 /* by default we put core 0 stack at the end of scratch Y, so that if core 1
Dmemmap_copy_to_ram.ld223 /* by default we put core 0 stack at the end of scratch Y, so that if core 1

12