Home
last modified time | relevance | path

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

/hal_infineon-latest/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_axidmac.c55 CY_ASSERT_L3(CY_AXIDMAC_IS_TYPE_VALID(config->descriptorType)); in Cy_AXIDMAC_Descriptor_Init()
64 _VAL2FLD(AXI_DMAC_CH_DESCR_CTL_DESCR_TYPE, config->descriptorType); in Cy_AXIDMAC_Descriptor_Init()
72 if(CY_AXIDMAC_1D_MEMORY_COPY != config->descriptorType) in Cy_AXIDMAC_Descriptor_Init()
79 if((CY_AXIDMAC_2D_MEMORY_COPY == config->descriptorType) || in Cy_AXIDMAC_Descriptor_Init()
80 (CY_AXIDMAC_3D_MEMORY_COPY == config->descriptorType)) in Cy_AXIDMAC_Descriptor_Init()
87 if(CY_AXIDMAC_3D_MEMORY_COPY == config->descriptorType) in Cy_AXIDMAC_Descriptor_Init()
313 …iptorType(cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_descriptor_type_t descriptorType) in Cy_AXIDMAC_Descriptor_SetDescriptorType() argument
315 CY_ASSERT_L3(CY_AXIDMAC_IS_TYPE_VALID(descriptorType)); in Cy_AXIDMAC_Descriptor_SetDescriptorType()
317 …if (descriptorType != Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)) /* Do not perform if th… in Cy_AXIDMAC_Descriptor_SetDescriptorType()
324 CY_REG32_CLR_SET(descriptor->ctl, AXI_DMAC_CH_DESCR_CTL_DESCR_TYPE, descriptorType); in Cy_AXIDMAC_Descriptor_SetDescriptorType()
Dcy_dma.c121 CY_ASSERT_L3(CY_DMA_IS_TYPE_VALID(config->descriptorType)); in Cy_DMA_Descriptor_Init()
132 _VAL2FLD(CY_DMA_CTL_TYPE, config->descriptorType); in Cy_DMA_Descriptor_Init()
138 switch(config->descriptorType) in Cy_DMA_Descriptor_Init()
434 …SetDescriptorType(cy_stc_dma_descriptor_t * descriptor, cy_en_dma_descriptor_type_t descriptorType) in Cy_DMA_Descriptor_SetDescriptorType() argument
436 CY_ASSERT_L3(CY_DMA_IS_TYPE_VALID(descriptorType)); in Cy_DMA_Descriptor_SetDescriptorType()
439 if ((CY_DMA_CRC_TRANSFER != descriptorType) || (CY_DW_CRC == 1UL)) in Cy_DMA_Descriptor_SetDescriptorType()
441 …if (descriptorType != Cy_DMA_Descriptor_GetDescriptorType(descriptor)) /* Do not perform if the ty… in Cy_DMA_Descriptor_SetDescriptorType()
446 CY_REG32_CLR_SET(descriptor->ctl, CY_DMA_CTL_TYPE, descriptorType); in Cy_DMA_Descriptor_SetDescriptorType()
/hal_infineon-latest/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
500 …_axidmac_descriptor_type_t descr_type = GET_RESOURCE_DATA(&obj->descriptor_config)->descriptorType; in _cyhal_dma_dmac_stage()
501 GET_RESOURCE_DATA(&obj->descriptor_config)->descriptorType = CY_AXIDMAC_3D_MEMORY_COPY; in _cyhal_dma_dmac_stage()
504 GET_RESOURCE_DATA(&obj->descriptor_config)->descriptorType = descr_type; in _cyhal_dma_dmac_stage()
770 GET_RESOURCE_DATA(obj->descriptor_config).descriptorType = CY_AXIDMAC_2D_MEMORY_COPY; in _cyhal_dma_dmac_configure()
776 GET_RESOURCE_DATA(obj->descriptor_config).descriptorType = CY_DMAC_2D_TRANSFER; in _cyhal_dma_dmac_configure()
787 GET_RESOURCE_DATA(obj->descriptor_config).descriptorType = CY_AXIDMAC_1D_MEMORY_COPY; in _cyhal_dma_dmac_configure()
790 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
548 obj->descriptor_config.dw.descriptorType = CY_DMA_2D_TRANSFER; in _cyhal_dma_dw_configure()
556 obj->descriptor_config.dw.descriptorType = CY_DMA_1D_TRANSFER; in _cyhal_dma_dw_configure()
/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_dma.h461 …cy_en_dma_descriptor_type_t descriptorType; /**< The type of the descriptor. See \ref cy_en_dma_d… member
578 …escriptorType (cy_stc_dma_descriptor_t * descriptor, cy_en_dma_descriptor_type_t descriptorType);
2027 #define descrType descriptorType
Dcy_axidmac.h352 …cy_en_axidmac_descriptor_type_t descriptorType; /**< The type of the descriptor. See \ref cy_en_a… member
567 …rType (cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_descriptor_type_t descriptorType);
Dcy_dmac.h439 …cy_en_dmac_descriptor_type_t descriptorType; /**< The type of the descriptor. See \ref cy_en_dmac… member
515 …criptorType (cy_stc_dmac_descriptor_t * descriptor, cy_en_dmac_descriptor_type_t descriptorType);
/hal_infineon-latest/serial-flash/
Dcy_serial_flash_qspi.c175 .descriptorType = CY_DMA_2D_TRANSFER,