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);
287 uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) in HAL_CRC_Accumulate() argument
301 hcrc->Instance->DR = pBuffer[index]; in HAL_CRC_Accumulate()
307 temp = CRC_Handle_8(hcrc, (uint8_t *)pBuffer, BufferLength); in HAL_CRC_Accumulate()
311 …temp = CRC_Handle_16(hcrc, (uint16_t *)(void *)pBuffer, BufferLength); /* Derogation MisraC2012… in HAL_CRC_Accumulate()
339 uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) in HAL_CRC_Calculate() argument
357 hcrc->Instance->DR = pBuffer[index]; in HAL_CRC_Calculate()
364 temp = CRC_Handle_8(hcrc, (uint8_t *)pBuffer, BufferLength); in HAL_CRC_Calculate()
369 …temp = CRC_Handle_16(hcrc, (uint16_t *)(void *)pBuffer, BufferLength); /* Derogation MisraC2012… in HAL_CRC_Calculate()
432 static uint32_t CRC_Handle_8(CRC_HandleTypeDef *hcrc, uint8_t pBuffer[], uint32_t BufferLength) in CRC_Handle_8() argument
443 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8()
444 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8()
445 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8()
446 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8()
453 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8()
457 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8()
463 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8()
467 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8()
483 static uint32_t CRC_Handle_16(CRC_HandleTypeDef *hcrc, uint16_t pBuffer[], uint32_t BufferLength) in CRC_Handle_16() argument
493 hcrc->Instance->DR = ((uint32_t)pBuffer[2U * i] << 16U) | (uint32_t)pBuffer[(2U * i) + 1U]; in CRC_Handle_16()
498 *pReg = pBuffer[2U * i]; in CRC_Handle_16()