Searched refs:allocated_channels (Results 1 – 2 of 2) sorted by relevance
| /hal_nordic-latest/nrfx/drivers/src/ |
| D | nrfx_ppib.c | 128 nrfx_atomic_t allocated_channels; member 135 .allocated_channels = (nrfx_atomic_t)PPIB_AVAILABLE_CHANNELS_MASK(left_idx, right_idx), \ 172 uint32_t mask = p_cb->available_channels & ~p_cb->allocated_channels; in nrfx_ppib_free() 191 return nrfx_flag32_alloc(&p_cb->allocated_channels, p_channel); in nrfx_ppib_channel_alloc() 208 return nrfx_flag32_free(&p_cb->allocated_channels, channel); in nrfx_ppib_channel_free()
|
| D | nrfx_dppi.c | 305 nrfx_atomic_t allocated_channels; member 316 .allocated_channels = (nrfx_atomic_t)DPPI_AVAILABLE_CHANNELS_MASK(prefix##idx), \ 333 …rfy_dppi_channels_disable(p_instance->p_reg, p_cb->available_channels & ~p_cb->allocated_channels); in dppi_free() 348 p_cb->allocated_channels = p_cb->available_channels; in dppi_free() 358 return nrfx_flag32_alloc(&p_cb->allocated_channels, p_channel); in dppi_channel_alloc() 366 return nrfx_flag32_free(&p_cb->allocated_channels, channel); in dppi_channel_free() 375 if (!nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_enable() 393 if (!nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_disable() 430 !nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_include_in_group() 452 !nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_remove_from_group()
|