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);
293 uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) in HAL_CRC_Accumulate() argument
307 hcrc->Instance->DR = pBuffer[index]; in HAL_CRC_Accumulate()
313 temp = CRC_Handle_8(hcrc, (uint8_t *)pBuffer, BufferLength); in HAL_CRC_Accumulate()
317 …temp = CRC_Handle_16(hcrc, (uint16_t *)(void *)pBuffer, BufferLength); /* Derogation MisraC2012… in HAL_CRC_Accumulate()
345 uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength) in HAL_CRC_Calculate() argument
363 hcrc->Instance->DR = pBuffer[index]; in HAL_CRC_Calculate()
370 temp = CRC_Handle_8(hcrc, (uint8_t *)pBuffer, BufferLength); in HAL_CRC_Calculate()
375 …temp = CRC_Handle_16(hcrc, (uint16_t *)(void *)pBuffer, BufferLength); /* Derogation MisraC2012… in HAL_CRC_Calculate()
438 static uint32_t CRC_Handle_8(CRC_HandleTypeDef *hcrc, uint8_t pBuffer[], uint32_t BufferLength) in CRC_Handle_8() argument
449 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8()
450 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8()
451 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8()
452 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8()
459 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8()
463 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8()
469 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8()
473 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8()
489 static uint32_t CRC_Handle_16(CRC_HandleTypeDef *hcrc, uint16_t pBuffer[], uint32_t BufferLength) in CRC_Handle_16() argument
499 hcrc->Instance->DR = ((uint32_t)pBuffer[2U * i] << 16U) | (uint32_t)pBuffer[(2U * i) + 1U]; in CRC_Handle_16()
504 *pReg = pBuffer[2U * i]; in CRC_Handle_16()