Home
last modified time | relevance | path

Searched refs:claimed (Results 1 – 3 of 3) sorted by relevance

/lk-master/external/platform/pico/rp2_common/hardware_sync/
A Dsync.c12 static uint32_t claimed; variable
41 hw_claim_or_assert((uint8_t *) &claimed, lock_num, "Spinlock %d is already claimed"); in spin_lock_claim()
52 hw_claim_clear((uint8_t *) &claimed, lock_num); in spin_lock_unclaim()
56 …return hw_claim_unused_from_range((uint8_t*)&claimed, required, PICO_SPINLOCK_ID_CLAIM_FREE_FIRST,… in spin_lock_claim_unused()
/lk-master/external/platform/pico/rp2_common/hardware_timer/
A Dtimer.c19 static uint8_t claimed; variable
23 hw_claim_or_assert(&claimed, alarm_num, "Hardware alarm %d already claimed"); in hardware_alarm_claim()
28 hw_claim_clear(&claimed, alarm_num); in hardware_alarm_unclaim()
/lk-master/external/platform/pico/rp2_common/hardware_pio/
A Dpio.c21 static uint8_t claimed; variable
27 hw_claim_or_assert(&claimed, NUM_PIO_STATE_MACHINES + sm, "PIO 1 SM %d already claimed"); in pio_sm_claim()
29 hw_claim_or_assert(&claimed, sm, "PIO 0 SM %d already claimed"); in pio_sm_claim()
41 hw_claim_clear(&claimed, which * NUM_PIO_STATE_MACHINES + sm); in pio_sm_unclaim()
47 int index = hw_claim_unused_from_range((uint8_t*)&claimed, required, base, in pio_claim_unused_sm()

Completed in 4 milliseconds