Lines Matching refs:adc_hal_dma_ctx
78 adc_hal_dma_ctx_t adc_hal_dma_ctx; member
338 adc_hal_dma_ctx_config(&data->adc_hal_dma_ctx, &adc_hal_dma_config); in adc_esp32_digi_start()
341 adc_hal_digi_init(&data->adc_hal_dma_ctx); in adc_esp32_digi_start()
342 adc_hal_digi_controller_config(&data->adc_hal_dma_ctx, &adc_hal_digi_ctrlr_cfg); in adc_esp32_digi_start()
343 adc_hal_digi_start(&data->adc_hal_dma_ctx, data->dma_buffer); in adc_esp32_digi_start()
351 adc_hal_digi_dis_intr(&data->adc_hal_dma_ctx, ADC_HAL_DMA_INTR_MASK); in adc_esp32_digi_stop()
352 adc_hal_digi_clr_intr(&data->adc_hal_dma_ctx, ADC_HAL_DMA_INTR_MASK); in adc_esp32_digi_stop()
353 adc_hal_digi_stop(&data->adc_hal_dma_ctx); in adc_esp32_digi_stop()
354 adc_hal_digi_deinit(&data->adc_hal_dma_ctx); in adc_esp32_digi_stop()
674 data->adc_hal_dma_ctx.rx_desc = k_aligned_alloc(sizeof(uint32_t), in adc_esp32_init()
676 if (!data->adc_hal_dma_ctx.rx_desc) { in adc_esp32_init()
680 LOG_DBG("rx_desc = 0x%08X", (unsigned int)data->adc_hal_dma_ctx.rx_desc); in adc_esp32_init()
685 k_free(data->adc_hal_dma_ctx.rx_desc); in adc_esp32_init()