Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 23 of 23) sorted by relevance

/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/source/
Dcy_crypto_core_crc_v1.c134 uint32_t dataSize, in Cy_Crypto_Core_V1_Crc() argument
143 uint32_t partSize = (dataSize <= 0xFFFFu) ? dataSize : 0xFFFFu; in Cy_Crypto_Core_V1_Crc()
156 dataSize -= partSize; in Cy_Crypto_Core_V1_Crc()
159 } while (dataSize > 0u); in Cy_Crypto_Core_V1_Crc()
291 void const *data, uint32_t dataSize) in Cy_Crypto_Core_V1_Crc_CalcPartial() argument
296 uint32_t partSize = (dataSize <= 0xFFFFu) ? dataSize : 0xFFFFu; in Cy_Crypto_Core_V1_Crc_CalcPartial()
309 dataSize -= partSize; in Cy_Crypto_Core_V1_Crc_CalcPartial()
312 } while (dataSize > 0u); in Cy_Crypto_Core_V1_Crc_CalcPartial()
385 uint32_t dataSize) in Cy_Crypto_Core_V1_Crc_Calc() argument
392 Cy_Crypto_SetReg2Instr(base, (uint32_t)data, dataSize ); in Cy_Crypto_Core_V1_Crc_Calc()
Dcy_crypto_core_crc_v2.c137 uint32_t dataSize, in Cy_Crypto_Core_V2_Crc() argument
142 SCB_CleanDCache_by_Addr((volatile void *)data,(int32_t)dataSize); in Cy_Crypto_Core_V2_Crc()
145 Cy_Crypto_Core_V2_FFStart(base, CY_CRYPTO_V2_RB_FF_LOAD0, (uint8_t const *)data, dataSize); in Cy_Crypto_Core_V2_Crc()
286 void const *data, uint32_t dataSize) in Cy_Crypto_Core_V2_Crc_CalcPartial() argument
290 SCB_CleanDCache_by_Addr((volatile void *)data,(int32_t)dataSize); in Cy_Crypto_Core_V2_Crc_CalcPartial()
294 Cy_Crypto_Core_V2_FFStart(base, CY_CRYPTO_V2_RB_FF_LOAD0, (uint8_t const *)data, dataSize); in Cy_Crypto_Core_V2_Crc_CalcPartial()
379 uint32_t dataSize) in Cy_Crypto_Core_V2_Crc_Calc() argument
386 SCB_CleanDCache_by_Addr((volatile void *)data,(int32_t)dataSize); in Cy_Crypto_Core_V2_Crc_Calc()
390 Cy_Crypto_Core_V2_FFStart(base, CY_CRYPTO_V2_RB_FF_LOAD0, (uint8_t const *)data, dataSize); in Cy_Crypto_Core_V2_Crc_Calc()
Dcy_crypto_core_trng.c173 cy_en_crypto_status_t Cy_Crypto_Core_Trng_Start(CRYPTO_Type *base, uint32_t dataSize) in Cy_Crypto_Core_Trng_Start() argument
189 if (dataSize <= 32U) in Cy_Crypto_Core_Trng_Start()
195 Cy_Crypto_SetReg1Instr(base, dataSize); in Cy_Crypto_Core_Trng_Start()
202 REG_CRYPTO_TR_CTL2(base) = dataSize; in Cy_Crypto_Core_Trng_Start()
Dcy_flash_v2.c159 apiArgs.ProgramRow.arg1.dataSize = (uint32_t)config->dataSize; in Cy_Flash_Program_WorkFlash()
213 apiArgs.ProgramRow.arg1.dataSize = (uint32_t)config->dataSize; in Cy_Flash_Program()
971 .dataSize = CY_FLASH_PROGRAMROW_DATA_SIZE_32BIT, in Cy_Flash_StartWrite()
978 flash_programrow_config.dataSize = CY_FLASH_PROGRAMROW_DATA_SIZE_32BIT; in Cy_Flash_StartWrite()
984 flash_programrow_config.dataSize = CY_FLASH_PROGRAMROW_DATA_SIZE_256BIT; in Cy_Flash_StartWrite()
1096 .dataSize = CY_FLASH_PROGRAMROW_DATA_SIZE_32BIT, in Cy_Flash_ProgramRow()
1103 flash_programrow_config.dataSize = CY_FLASH_PROGRAMROW_DATA_SIZE_32BIT; in Cy_Flash_ProgramRow()
1109 flash_programrow_config.dataSize = CY_FLASH_PROGRAMROW_DATA_SIZE_256BIT; in Cy_Flash_ProgramRow()
Dcy_crypto_server.c443 …ta->resp = Cy_Crypto_Core_SetVuMemoryAddress(CY_CRYPTO_BASE, cfContext->src0, cfContext->dataSize); in Cy_Crypto_Server_Process()
613 cfContext->dst, cfContext->src0, (uint16_t)cfContext->dataSize); in Cy_Crypto_Server_Process()
623 … cfContext->dst, (uint8_t)cfContext->data, (uint16_t)cfContext->dataSize); in Cy_Crypto_Server_Process()
634 … cfContext->src0, cfContext->src1, (uint16_t)cfContext->dataSize); in Cy_Crypto_Server_Process()
644 … cfContext->dst, cfContext->src0, cfContext->src1, (uint16_t)cfContext->dataSize); in Cy_Crypto_Server_Process()
664 … cfContext->crc, cfContext->data, cfContext->dataSize, cfContext->lfsrInitState); in Cy_Crypto_Server_Process()
Dcy_crypto.c737 cfContext->dataSize = size; in Cy_Crypto_Str_MemCpy()
766 cfContext->dataSize = size; in Cy_Crypto_Str_MemSet()
795 cfContext->dataSize = size; in Cy_Crypto_Str_MemCmp()
827 cfContext->dataSize = size; in Cy_Crypto_Str_MemXor()
877 uint16_t dataSize, in Cy_Crypto_Crc_Run() argument
891 cfContext->dataSize = dataSize; in Cy_Crypto_Crc_Run()
897 SCB_CleanDCache_by_Addr((volatile void *)data,(int32_t)dataSize); in Cy_Crypto_Crc_Run()
1019 cfContext->dataSize = newMembufSize; in Cy_Crypto_SetMemBufAddress()
Dcy_dmac.c76 CY_ASSERT_L3(CY_DMAC_IS_DATA_SIZE_VALID(config->dataSize)); in Cy_DMAC_Descriptor_Init()
88 _VAL2FLD(DMAC_CH_V2_DESCR_CTL_DATA_SIZE, config->dataSize) | in Cy_DMAC_Descriptor_Init()
Dcy_flash_srom.c77 …e_in_bytes = Cy_Srom_Get_DataSize((cy_en_programrow_datasize_t)(params->ProgramRow.arg1.dataSize)); in Cy_Srom_CallApi()
179 …e_in_bytes = Cy_Srom_Get_DataSize((cy_en_programrow_datasize_t)(params->ProgramRow.arg1.dataSize)); in Cy_Srom_CallApi_NonBlock()
Dcy_dma.c115 CY_ASSERT_L3(CY_DMA_IS_DATA_SIZE_VALID(config->dataSize)); in Cy_DMA_Descriptor_Init()
126 _VAL2FLD(CY_DMA_CTL_DATA_SIZE, config->dataSize) | in Cy_DMA_Descriptor_Init()
Dcy_usbfs_dev_drv_io_dma.c79 cy_en_dma_data_size_t dataSize,
313 cy_en_dma_data_size_t dataSize, volatile uint32_t const *dataReg) in DmaEndpointInit1D() argument
315 Cy_DMA_Descriptor_SetDataSize(descr, dataSize); in DmaEndpointInit1D()
Dcy_canfd.c1193 uint32_t dataSize = 0UL; in Cy_CANFD_GetFIFOTop() local
1206 dataSize = (uint32_t)dataBufferSizeInWord[_FLD2VAL(CANFD_CH_M_TTCAN_RXESC_F0DS, in Cy_CANFD_GetFIFOTop()
1212 dataSize = (uint32_t)dataBufferSizeInWord[_FLD2VAL(CANFD_CH_M_TTCAN_RXESC_F1DS, in Cy_CANFD_GetFIFOTop()
1237 for (count = 0UL; count < dataSize; count++) in Cy_CANFD_GetFIFOTop()
/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/include/
Dcy_crypto_core_crc.h57 uint32_t dataSize,
222 uint32_t dataSize, in Cy_Crypto_Core_Crc() argument
230 tmpResult = Cy_Crypto_Core_V1_Crc(base, crc, data, dataSize, lfsrInitState); in Cy_Crypto_Core_Crc()
236 tmpResult = Cy_Crypto_Core_V2_Crc(base, crc, data, dataSize, lfsrInitState); in Cy_Crypto_Core_Crc()
369 … void const *data, uint32_t dataSize) in Cy_Crypto_Core_Crc_CalcPartial() argument
376 tmpResult = Cy_Crypto_Core_V1_Crc_CalcPartial(base, data, dataSize); in Cy_Crypto_Core_Crc_CalcPartial()
382 tmpResult = Cy_Crypto_Core_V2_Crc_CalcPartial(base, data, dataSize); in Cy_Crypto_Core_Crc_CalcPartial()
458 void const *data, uint32_t dataSize) in Cy_Crypto_Core_Crc_Calc() argument
465 tmpResult = Cy_Crypto_Core_V1_Crc_Calc(base, width, crc, data, dataSize); in Cy_Crypto_Core_Crc_Calc()
471 tmpResult = Cy_Crypto_Core_V2_Crc_Calc(base, width, crc, data, dataSize); in Cy_Crypto_Core_Crc_Calc()
Dcy_crypto_core_crc_v1.h52 uint32_t dataSize,
67 …tatus_t Cy_Crypto_Core_V1_Crc_CalcPartial(CRYPTO_Type *base, void const *data, uint32_t dataSize);
75 uint32_t dataSize);
Dcy_crypto_core_crc_v2.h52 uint32_t dataSize,
67 …tatus_t Cy_Crypto_Core_V2_Crc_CalcPartial(CRYPTO_Type *base, void const *data, uint32_t dataSize);
75 uint32_t dataSize);
Dcy_dmac.h323 #define CY_DMAC_IS_DATA_SIZE_VALID(dataSize) ((CY_DMAC_BYTE == (dataSize)) || \ argument
324 (CY_DMAC_HALFWORD == (dataSize)) || \
325 (CY_DMAC_WORD == (dataSize)))
425 …cy_en_dmac_data_size_t dataSize; /**< The size of the data bus for transfer. See \ref… member
521 …iptor_SetDataSize (cy_stc_dmac_descriptor_t * descriptor, cy_en_dmac_data_size_t dataSize);
877 …DMAC_Descriptor_SetDataSize(cy_stc_dmac_descriptor_t * descriptor, cy_en_dmac_data_size_t dataSize) in Cy_DMAC_Descriptor_SetDataSize() argument
879 CY_ASSERT_L3(CY_DMAC_IS_DATA_SIZE_VALID(dataSize)); in Cy_DMAC_Descriptor_SetDataSize()
881 CY_REG32_CLR_SET(descriptor->ctl, DMAC_CH_V2_DESCR_CTL_DATA_SIZE, dataSize); in Cy_DMAC_Descriptor_SetDataSize()
Dcy_dma.h360 #define CY_DMA_IS_DATA_SIZE_VALID(dataSize) ((CY_DMA_BYTE == (dataSize)) || \ argument
361 (CY_DMA_HALFWORD == (dataSize)) || \
362 (CY_DMA_WORD == (dataSize)))
442 …cy_en_dma_data_size_t dataSize; /**< The size of the data bus for transfer. See \ref … member
570 …criptor_SetDataSize (cy_stc_dma_descriptor_t * descriptor, cy_en_dma_data_size_t dataSize);
967 …Cy_DMA_Descriptor_SetDataSize(cy_stc_dma_descriptor_t * descriptor, cy_en_dma_data_size_t dataSize) in Cy_DMA_Descriptor_SetDataSize() argument
969 CY_ASSERT_L3(CY_DMA_IS_DATA_SIZE_VALID(dataSize)); in Cy_DMA_Descriptor_SetDataSize()
971 CY_REG32_CLR_SET(descriptor->ctl, CY_DMA_CTL_DATA_SIZE, dataSize); in Cy_DMA_Descriptor_SetDataSize()
Dcy_crypto_common.h1269 uint32_t dataSize; /**< Operation data size */ member
1287 uint32_t dataSize; /**< Operation data size */ member
Dcy_crypto.h1686 uint16_t dataSize,
Dcy_flash.h718 …cy_en_flash_programrow_datasize_t dataSize; /**< size of the data to be written. \ref cy_en_… member
Dcy_crypto_core_trng.h110 cy_en_crypto_status_t Cy_Crypto_Core_Trng_Start(CRYPTO_Type *base, uint32_t dataSize);
Dcy_flash_srom.h500 uint32_t dataSize : 8; // Data size. see \ref cy_en_programrow_datasize_t member
/hal_infineon-3.7.0/mtb-hal-cat1/source/
Dcyhal_dma_dw.c70 .dataSize = CY_DMA_WORD, // Overridden by cyhal_dma_cfg_t.transfer_width
528 obj->descriptor_config.dw.dataSize = CY_DMA_BYTE; in _cyhal_dma_dw_configure()
530 obj->descriptor_config.dw.dataSize = CY_DMA_HALFWORD; in _cyhal_dma_dw_configure()
532 obj->descriptor_config.dw.dataSize = CY_DMA_WORD; in _cyhal_dma_dw_configure()
Dcyhal_dma_dmac.c130 .dataSize = CY_DMAC_WORD, // Overridden by cyhal_dma_cfg_t.transfer_width
148 .dataSize = CY_DMAC_WORD, // Overridden by cyhal_dma_cfg_t.transfer_width
728 GET_RESOURCE_DATA(obj->descriptor_config).dataSize = CY_DMAC_BYTE; in _cyhal_dma_dmac_configure()
730 GET_RESOURCE_DATA(obj->descriptor_config).dataSize = CY_DMAC_HALFWORD; in _cyhal_dma_dmac_configure()
732 GET_RESOURCE_DATA(obj->descriptor_config).dataSize = CY_DMAC_WORD; in _cyhal_dma_dmac_configure()