Home
last modified time | relevance | path

Searched refs:spin_lock_instance (Results 1 – 11 of 11) sorted by relevance

/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/host/hardware_sync/
Dsync_core0_only.c29 PICO_WEAK_FUNCTION_DEF(spin_lock_instance) in PICO_WEAK_FUNCTION_DEF() argument
31 spin_lock_t *PICO_WEAK_FUNCTION_IMPL_NAME(spin_lock_instance)(uint lock_num) { in PICO_WEAK_FUNCTION_DEF()
45 spin_lock_t *lock = spin_lock_instance(lock_num); in PICO_WEAK_FUNCTION_DEF()
111 spin_unlock_unsafe(spin_lock_instance(i)); in PICO_WEAK_FUNCTION_DEF()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/hardware_sync/
Dsync.c20 spin_unlock_unsafe(spin_lock_instance(i)); in spin_locks_reset()
26 spin_lock_t *lock = spin_lock_instance(lock_num); in spin_lock_init()
52 spin_unlock_unsafe(spin_lock_instance(lock_num)); in spin_lock_unclaim()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/hardware_timer/
Dtimer.c125 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_TIMER); in hardware_alarm_irq_handler()
162 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_TIMER); in hardware_alarm_set_callback()
184 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_TIMER); in hardware_alarm_set_target()
226 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_TIMER); in hardware_alarm_cancel()
235 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_TIMER); in hardware_alarm_force_irq()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/hardware_claim/
Dclaim.c10 return spin_lock_blocking(spin_lock_instance(PICO_SPINLOCK_ID_HARDWARE_CLAIM)); in hw_claim_lock()
14 spin_unlock(spin_lock_instance(PICO_SPINLOCK_ID_HARDWARE_CLAIM), save); in hw_claim_unlock()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_sync/
Dlock_core.c11 core->spin_lock = spin_lock_instance(lock_num); in lock_init()
Dcritical_section.c18 crit_sec->spin_lock = spin_lock_instance(lock_num); in critical_section_init_with_lock_num()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/hardware_irq/
Dirq.c46 spin_unlock(spin_lock_instance(PICO_SPINLOCK_ID_IRQ), save); in set_raw_irq_handler_and_unlock()
131 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_IRQ); in irq_set_exclusive_handler()
144 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_IRQ); in irq_get_exclusive_handler()
213 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_IRQ); in irq_add_shared_handler()
282 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_IRQ); in irq_remove_handler()
402 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_IRQ); in irq_add_tail_to_free_list()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_rand/
Drand.c153 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_RAND); in capture_additional_rosc_samples()
221 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_RAND); in initialise_rand()
279 spin_lock_t *lock = spin_lock_instance(PICO_SPINLOCK_ID_RAND); in get_rand_64()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/host/hardware_sync/include/hardware/
Dsync.h77 spin_lock_t *spin_lock_instance(uint lock_num);
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/hardware_sync/include/hardware/
Dsync.h230 __force_inline static spin_lock_t *spin_lock_instance(uint lock_num) { in spin_lock_instance() function
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_time/
Dtime.c202 pool->lock = spin_lock_instance(next_striped_spin_lock_num()); in alarm_pool_post_alloc_init()