Searched refs:spin_lock_instance (Results 1 – 11 of 11) sorted by relevance
29 PICO_WEAK_FUNCTION_DEF(spin_lock_instance) in PICO_WEAK_FUNCTION_DEF() argument31 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()
20 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()
125 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()
10 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()
11 core->spin_lock = spin_lock_instance(lock_num); in lock_init()
18 crit_sec->spin_lock = spin_lock_instance(lock_num); in critical_section_init_with_lock_num()
46 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()
153 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()
77 spin_lock_t *spin_lock_instance(uint lock_num);
230 __force_inline static spin_lock_t *spin_lock_instance(uint lock_num) { in spin_lock_instance() function
202 pool->lock = spin_lock_instance(next_striped_spin_lock_num()); in alarm_pool_post_alloc_init()