Home
last modified time | relevance | path

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

/hal_ambiq-latest/mcu/apollo4p/hal/
Dam_hal_pdm.c509 uint32_t ui32Threshold; in find_dma_threshold() local
512 for ( ui32Threshold = 24; ui32Threshold >= ui32Minimum; ui32Threshold -= 4 ) in find_dma_threshold()
520 if ((ui32TotalCount % ui32Threshold) == 0) in find_dma_threshold()
530 if (ui32Threshold < ui32Minimum) in find_dma_threshold()
532 ui32Threshold = 0; in find_dma_threshold()
535 return ui32Threshold; in find_dma_threshold()
573 uint32_t ui32Threshold = find_dma_threshold(pTransferCfg->ui32TotalCount); in am_hal_pdm_dma_start() local
578 if (ui32Threshold == 0) in am_hal_pdm_dma_start()
583 PDMn(ui32Module)->FIFOTHR = ui32Threshold; in am_hal_pdm_dma_start()
/hal_ambiq-latest/mcu/apollo3p/hal/
Dam_hal_pdm.c139 uint32_t ui32Threshold; member
486 uint32_t ui32Threshold; in find_dma_threshold() local
489 for ( ui32Threshold = 24; ui32Threshold >= ui32Minimum; ui32Threshold -= 4 ) in find_dma_threshold()
497 if ((ui32TotalCount % ui32Threshold) == 0) in find_dma_threshold()
507 if (ui32Threshold < ui32Minimum) in find_dma_threshold()
509 ui32Threshold = 0; in find_dma_threshold()
512 return ui32Threshold; in find_dma_threshold()
551 pState->ui32Threshold = find_dma_threshold(pDmaCfg->ui32TotalCount); in am_hal_dma_param_setup()
556 if (pState->ui32Threshold == 0) in am_hal_dma_param_setup()
581 PDMn(ui32Module)->FIFOTHR = pState->ui32Threshold; in am_hal_dma_restart()
/hal_ambiq-latest/mcu/apollo3/hal/
Dam_hal_pdm.c139 uint32_t ui32Threshold; member
486 uint32_t ui32Threshold; in find_dma_threshold() local
489 for ( ui32Threshold = 24; ui32Threshold >= ui32Minimum; ui32Threshold -= 4 ) in find_dma_threshold()
497 if ((ui32TotalCount % ui32Threshold) == 0) in find_dma_threshold()
507 if (ui32Threshold < ui32Minimum) in find_dma_threshold()
509 ui32Threshold = 0; in find_dma_threshold()
512 return ui32Threshold; in find_dma_threshold()
551 pState->ui32Threshold = find_dma_threshold(pDmaCfg->ui32TotalCount); in am_hal_dma_param_setup()
556 if (pState->ui32Threshold == 0) in am_hal_dma_param_setup()
581 PDMn(ui32Module)->FIFOTHR = pState->ui32Threshold; in am_hal_dma_restart()