Lines Matching refs:pBuffer
67 static uint32_t CRC_Handle_8(CRC_HandleTypeDef *hcrc, uint8_t pBuffer[], uint32_t BufferLength);
68 static uint32_t CRC_Handle_16(CRC_HandleTypeDef *hcrc, uint16_t pBuffer[], uint32_t BufferLength);
289 uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) in HAL_CRC_Accumulate() argument
303 hcrc->Instance->DR = pBuffer[index]; in HAL_CRC_Accumulate()
309 temp = CRC_Handle_8(hcrc, (uint8_t *)pBuffer, BufferLength); in HAL_CRC_Accumulate()
313 …temp = CRC_Handle_16(hcrc, (uint16_t *)(void *)pBuffer, BufferLength); /* Derogation MisraC2012… in HAL_CRC_Accumulate()
341 uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) in HAL_CRC_Calculate() argument
359 hcrc->Instance->DR = pBuffer[index]; in HAL_CRC_Calculate()
366 temp = CRC_Handle_8(hcrc, (uint8_t *)pBuffer, BufferLength); in HAL_CRC_Calculate()
371 …temp = CRC_Handle_16(hcrc, (uint16_t *)(void *)pBuffer, BufferLength); /* Derogation MisraC2012… in HAL_CRC_Calculate()
434 static uint32_t CRC_Handle_8(CRC_HandleTypeDef *hcrc, uint8_t pBuffer[], uint32_t BufferLength) in CRC_Handle_8() argument
445 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8()
446 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8()
447 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8()
448 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8()
455 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8()
459 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8()
465 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8()
469 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8()
485 static uint32_t CRC_Handle_16(CRC_HandleTypeDef *hcrc, uint16_t pBuffer[], uint32_t BufferLength) in CRC_Handle_16() argument
495 hcrc->Instance->DR = ((uint32_t)pBuffer[2U * i] << 16U) | (uint32_t)pBuffer[(2U * i) + 1U]; in CRC_Handle_16()
500 *pReg = pBuffer[2U * i]; in CRC_Handle_16()