/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_sync/ |
D | sem.c | 11 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 …]
|
D | mutex.c | 11 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 …]
|
D | lock_core.c | 9 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/ |
D | queue.c | 12 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/ |
D | structure.h | 70 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
|
D | code.h | 35 …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/ |
D | CMakeLists.txt | 29 ${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/ |
D | mutex.h | 48 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…
|
D | sem.h | 32 struct lock_core core; member
|
D | lock_core.h | 72 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/ |
D | async_context_threadsafe_background.c | 119 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 …]
|
D | async_context_freertos.c | 44 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()
|
D | async_context_poll.c | 18 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/ |
D | queue.h | 33 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/ |
D | gpio.c | 144 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/ |
D | cyw43_arch_poll.c | 28 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()
|
D | cyw43_arch_freertos.c | 37 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()
|
D | cyw43_arch_threadsafe_background.c | 34 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/ |
D | runtime.c | 127 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/ |
D | async_context_poll.h | 29 async_context_t core; member
|
D | async_context_threadsafe_background.h | 57 async_context_t core; member
|
D | async_context_freertos.h | 60 async_context_t core; member
|
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/cmsis/ |
D | CMakeLists.txt | 1 …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/ |
D | memmap_no_flash.ld | 191 /* by default we put core 0 stack at the end of scratch Y, so that if core 1
|
D | memmap_copy_to_ram.ld | 223 /* by default we put core 0 stack at the end of scratch Y, so that if core 1
|