Home
last modified time | relevance | path

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

/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/source/
Dcy_dmac.c77 CY_ASSERT_L3(CY_DMAC_IS_TYPE_VALID(config->descriptorType)); in Cy_DMAC_Descriptor_Init()
89 _VAL2FLD(DMAC_CH_V2_DESCR_CTL_DESCR_TYPE, config->descriptorType); in Cy_DMAC_Descriptor_Init()
93 if(CY_DMAC_SCATTER_TRANSFER != config->descriptorType) in Cy_DMAC_Descriptor_Init()
98 if(CY_DMAC_SINGLE_TRANSFER != config->descriptorType) in Cy_DMAC_Descriptor_Init()
105 if((CY_DMAC_1D_TRANSFER == config->descriptorType) || in Cy_DMAC_Descriptor_Init()
106 (CY_DMAC_2D_TRANSFER == config->descriptorType)) in Cy_DMAC_Descriptor_Init()
115 if(CY_DMAC_2D_TRANSFER == config->descriptorType) in Cy_DMAC_Descriptor_Init()
459 …tDescriptorType(cy_stc_dmac_descriptor_t * descriptor, cy_en_dmac_descriptor_type_t descriptorType) in Cy_DMAC_Descriptor_SetDescriptorType() argument
461 CY_ASSERT_L3(CY_DMAC_IS_TYPE_VALID(descriptorType)); in Cy_DMAC_Descriptor_SetDescriptorType()
463 …if (descriptorType != Cy_DMAC_Descriptor_GetDescriptorType(descriptor)) /* Do not perform if the t… in Cy_DMAC_Descriptor_SetDescriptorType()
[all …]
Dcy_dma.c116 CY_ASSERT_L3(CY_DMA_IS_TYPE_VALID(config->descriptorType)); in Cy_DMA_Descriptor_Init()
127 _VAL2FLD(CY_DMA_CTL_TYPE, config->descriptorType); in Cy_DMA_Descriptor_Init()
133 switch(config->descriptorType) in Cy_DMA_Descriptor_Init()
429 …SetDescriptorType(cy_stc_dma_descriptor_t * descriptor, cy_en_dma_descriptor_type_t descriptorType) in Cy_DMA_Descriptor_SetDescriptorType() argument
431 CY_ASSERT_L3(CY_DMA_IS_TYPE_VALID(descriptorType)); in Cy_DMA_Descriptor_SetDescriptorType()
434 if ((CY_DMA_CRC_TRANSFER != descriptorType) || (CY_DW_CRC == 1UL)) in Cy_DMA_Descriptor_SetDescriptorType()
436 …if (descriptorType != Cy_DMA_Descriptor_GetDescriptorType(descriptor)) /* Do not perform if the ty… in Cy_DMA_Descriptor_SetDescriptorType()
441 CY_REG32_CLR_SET(descriptor->ctl, CY_DMA_CTL_TYPE, descriptorType); in Cy_DMA_Descriptor_SetDescriptorType()
/hal_infineon-3.5.0/mtb-hal-cat1/source/
Dcyhal_dma_dmac.c139 .descriptorType = CY_DMAC_1D_TRANSFER, // Overriden by cyhal_dma_cfg_t.burst_size
166 .descriptorType = CY_AXIDMAC_1D_MEMORY_COPY, // Overriden by cyhal_dma_cfg_t.burst_size
503 …_axidmac_descriptor_type_t descr_type = GET_RESOURCE_DATA(&obj->descriptor_config)->descriptorType; in _cyhal_dma_dmac_stage()
504 GET_RESOURCE_DATA(&obj->descriptor_config)->descriptorType = CY_AXIDMAC_3D_MEMORY_COPY; in _cyhal_dma_dmac_stage()
507 GET_RESOURCE_DATA(&obj->descriptor_config)->descriptorType = descr_type; in _cyhal_dma_dmac_stage()
776 GET_RESOURCE_DATA(obj->descriptor_config).descriptorType = CY_AXIDMAC_2D_MEMORY_COPY; in _cyhal_dma_dmac_configure()
782 GET_RESOURCE_DATA(obj->descriptor_config).descriptorType = CY_DMAC_2D_TRANSFER; in _cyhal_dma_dmac_configure()
793 GET_RESOURCE_DATA(obj->descriptor_config).descriptorType = CY_AXIDMAC_1D_MEMORY_COPY; in _cyhal_dma_dmac_configure()
796 GET_RESOURCE_DATA(obj->descriptor_config).descriptorType = CY_DMAC_1D_TRANSFER; in _cyhal_dma_dmac_configure()
Dcyhal_dma_dw.c73 .descriptorType = CY_DMA_1D_TRANSFER, // Overriden by cyhal_dma_cfg_t.burst_size
555 obj->descriptor_config.dw.descriptorType = CY_DMA_2D_TRANSFER; in _cyhal_dma_dw_configure()
563 obj->descriptor_config.dw.descriptorType = CY_DMA_1D_TRANSFER; in _cyhal_dma_dw_configure()
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/include/
Dcy_dma.h445 …cy_en_dma_descriptor_type_t descriptorType; /**< The type of the descriptor. See \ref cy_en_dma_d… member
558 …escriptorType (cy_stc_dma_descriptor_t * descriptor, cy_en_dma_descriptor_type_t descriptorType);
1889 #define descrType descriptorType
Dcy_dmac.h434 …cy_en_dmac_descriptor_type_t descriptorType; /**< The type of the descriptor. See \ref cy_en_dmac… member
509 …criptorType (cy_stc_dmac_descriptor_t * descriptor, cy_en_dmac_descriptor_type_t descriptorType);