Home
last modified time | relevance | path

Searched refs:xCount (Results 1 – 6 of 6) sorted by relevance

/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/source/
Dcy_dmac.c100 Cy_DMAC_Descriptor_SetXloopDataCount(descriptor, config->xCount); in Cy_DMAC_Descriptor_Init()
303 void Cy_DMAC_Descriptor_SetXloopDataCount(cy_stc_dmac_descriptor_t * descriptor, uint32_t xCount) in Cy_DMAC_Descriptor_SetXloopDataCount() argument
311 CY_ASSERT_L2(CY_DMAC_IS_SCATTER_COUNT_VALID(xCount)); in Cy_DMAC_Descriptor_SetXloopDataCount()
313 …cr_scatter_t*)descriptor)->xSize = _VAL2FLD(DMAC_CH_V2_DESCR_X_SIZE_X_COUNT, (xCount * 2UL) - 1UL); in Cy_DMAC_Descriptor_SetXloopDataCount()
317 CY_ASSERT_L2(CY_DMAC_IS_LOOP_COUNT_VALID(xCount)); in Cy_DMAC_Descriptor_SetXloopDataCount()
319 descriptor->xSize = _VAL2FLD(DMAC_CH_V2_DESCR_X_SIZE_X_COUNT, xCount - 1UL); in Cy_DMAC_Descriptor_SetXloopDataCount()
Dcy_dma.c143 CY_ASSERT_L2(CY_DMA_IS_LOOP_COUNT_VALID(config->xCount)); in Cy_DMA_Descriptor_Init()
149 _VAL2FLD(CY_DMA_CTL_COUNT, config->xCount - 1UL); in Cy_DMA_Descriptor_Init()
158 CY_ASSERT_L2(CY_DMA_IS_LOOP_COUNT_VALID(config->xCount)); in Cy_DMA_Descriptor_Init()
167 _VAL2FLD(CY_DMA_CTL_COUNT, config->xCount - 1UL); in Cy_DMA_Descriptor_Init()
184 CY_ASSERT_L2(CY_DMA_IS_LOOP_COUNT_VALID(config->xCount)); in Cy_DMA_Descriptor_Init()
189 _VAL2FLD(CY_DMA_CTL_COUNT, config->xCount - 1UL); in Cy_DMA_Descriptor_Init()
/hal_infineon-3.5.0/mtb-hal-cat1/source/
Dcyhal_dma_dmac.c142 … .xCount = 1UL, // Overriden by cyhal_dma_cfg_t.length/burst_size
170 … .xCount = 1UL, // Overriden by cyhal_dma_cfg_t.length/burst_size
418 ? GET_RESOURCE_DATA(obj->descriptor_config).xCount in _cyhal_dma_dmac_convert_interrupt_cause()
639 obj->expected_bursts = cfg->dmac_descriptor_config->xCount; in _cyhal_dma_dmac_init_cfg()
778 GET_RESOURCE_DATA(obj->descriptor_config).xCount = (cfg->length / cfg->burst_size); in _cyhal_dma_dmac_configure()
783 GET_RESOURCE_DATA(obj->descriptor_config).xCount = cfg->burst_size; in _cyhal_dma_dmac_configure()
797 GET_RESOURCE_DATA(obj->descriptor_config).xCount = total_length; in _cyhal_dma_dmac_configure()
806 obj->expected_bursts = GET_RESOURCE_DATA(obj->descriptor_config).xCount; in _cyhal_dma_dmac_configure()
Dcyhal_dma_dw.c78 … .xCount = 1UL, // Overriden by cyhal_dma_cfg_t.length/burst_size
556 obj->descriptor_config.dw.xCount = cfg->burst_size; in _cyhal_dma_dw_configure()
564 obj->descriptor_config.dw.xCount = cfg->length; in _cyhal_dma_dw_configure()
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/include/
Dcy_dma.h453 …uint32_t xCount; /**< The number of transfers in an X-loop. Valid rang… member
561 …void Cy_DMA_Descriptor_SetXloopDataCount (cy_stc_dma_descriptor_t * descriptor, uint32_t xCount);
1223 …INE void Cy_DMA_Descriptor_SetXloopDataCount(cy_stc_dma_descriptor_t * descriptor, uint32_t xCount) in Cy_DMA_Descriptor_SetXloopDataCount() argument
1226 CY_ASSERT_L2(CY_DMA_IS_LOOP_COUNT_VALID(xCount)); in Cy_DMA_Descriptor_SetXloopDataCount()
1228 CY_REG32_CLR_SET(descriptor->xCtl, CY_DMA_CTL_COUNT, xCount - 1UL); in Cy_DMA_Descriptor_SetXloopDataCount()
Dcy_dmac.h439 …uint32_t xCount; /**< The number of transfers in an X-loop. Valid ran… member
512 …id Cy_DMAC_Descriptor_SetXloopDataCount (cy_stc_dmac_descriptor_t * descriptor, uint32_t xCount);