Lines Matching refs:p_cb

328     dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx];  in dppi_free()  local
329 uint32_t mask = p_cb->available_groups & ~p_cb->allocated_groups; in dppi_free()
333 …nrfy_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()
351 p_cb->allocated_groups = p_cb->available_groups; in dppi_free()
356 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_channel_alloc() local
358 return nrfx_flag32_alloc(&p_cb->allocated_channels, p_channel); in dppi_channel_alloc()
363 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_channel_free() local
366 return nrfx_flag32_free(&p_cb->allocated_channels, channel); in dppi_channel_free()
371 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_channel_enable() local
375 if (!nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_enable()
389 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_channel_disable() local
393 if (!nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_disable()
409 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_group_alloc() local
411 return nrfx_flag32_alloc(&p_cb->allocated_groups, (uint8_t *)p_group); in dppi_group_alloc()
416 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_group_free() local
419 return nrfx_flag32_free(&p_cb->allocated_groups, group); in dppi_group_free()
426 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_channel_include_in_group() local
429 if (!nrfx_flag32_is_allocated(p_cb->allocated_groups, group) || in dppi_channel_include_in_group()
430 !nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_include_in_group()
448 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_channel_remove_from_group() local
451 if (!nrfx_flag32_is_allocated(p_cb->allocated_groups, group) || in dppi_channel_remove_from_group()
452 !nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_remove_from_group()
469 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_group_clear() local
472 if (!nrfx_flag32_is_allocated(p_cb->allocated_groups, group)) in dppi_group_clear()
478 nrfy_dppi_channels_remove_from_group(p_instance->p_reg, p_cb->available_channels, group); in dppi_group_clear()
487 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_group_enable() local
490 if (!nrfx_flag32_is_allocated(p_cb->allocated_groups, group)) in dppi_group_enable()
505 dppic_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in dppi_group_disable() local
508 if (!nrfx_flag32_is_allocated(p_cb->allocated_groups, group)) in dppi_group_disable()