Home
last modified time | relevance | path

Searched refs:msb (Results 1 – 20 of 20) sorted by relevance

/hal_stm32-2.7.6/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_crc_ex.c93 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
105 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
112 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
118 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
124 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32l5xx_hal_pka.c284 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb);
1796 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1800 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()
/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-2.7.6/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32u5xx_hal_pka.c298 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb);
2001 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
2005 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32wbxx_hal_pka.c283 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb);
1769 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1773 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()
/hal_stm32-2.7.6/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-2.7.6/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32h7xx_hal_jpeg.c2600 uint32_t l, lsb, msb; in JPEG_ACHuff_BitsVals_To_SizeCodes() local
2625 msb = (l & 0xF0UL) >> 4; in JPEG_ACHuff_BitsVals_To_SizeCodes()
2627 l = (msb * 10UL) + lsb - 1UL; in JPEG_ACHuff_BitsVals_To_SizeCodes()
2704 uint32_t msb; in JPEG_Set_HuffDC_Mem() local
2737msb = ((uint32_t)(((uint32_t)dcSizeCodesTable.CodeLength[i] & 0xFU) << 8)) | ((uint32_t)dcSizeCode… in JPEG_Set_HuffDC_Mem()
2743 *address = lsb | (msb << 16); in JPEG_Set_HuffDC_Mem()
2764 uint32_t i, lsb, msb; in JPEG_Set_HuffAC_Mem() local
2811msb = ((uint32_t)(((uint32_t)acSizeCodesTable.CodeLength[i] & 0xFU) << 8)) | ((uint32_t)acSizeCode… in JPEG_Set_HuffAC_Mem()
2817 *address = lsb | (msb << 16); in JPEG_Set_HuffAC_Mem()
/hal_stm32-2.7.6/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32f7xx_hal_jpeg.c2595 uint32_t l, lsb, msb; in JPEG_ACHuff_BitsVals_To_SizeCodes() local
2620 msb = (l & 0xF0UL) >> 4; in JPEG_ACHuff_BitsVals_To_SizeCodes()
2622 l = (msb * 10UL) + lsb - 1UL; in JPEG_ACHuff_BitsVals_To_SizeCodes()
2699 uint32_t msb; in JPEG_Set_HuffDC_Mem() local
2732msb = ((uint32_t)(((uint32_t)dcSizeCodesTable.CodeLength[i] & 0xFU) << 8)) | ((uint32_t)dcSizeCode… in JPEG_Set_HuffDC_Mem()
2738 *address = lsb | (msb << 16); in JPEG_Set_HuffDC_Mem()
2759 uint32_t i, lsb, msb; in JPEG_Set_HuffAC_Mem() local
2806msb = ((uint32_t)(((uint32_t)acSizeCodesTable.CodeLength[i] & 0xFU) << 8)) | ((uint32_t)acSizeCode… in JPEG_Set_HuffAC_Mem()
2812 *address = lsb | (msb << 16); in JPEG_Set_HuffAC_Mem()
/hal_stm32-2.7.6/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-2.7.6/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32l4xx_hal_pka.c284 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb);
1798 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1802 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()
/hal_stm32-2.7.6/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_crc_ex.c92 uint32_t msb = 31U; /* polynomial degree is 32 at most, so msb is initialized to max value */ in HAL_CRCEx_Polynomial_Set() local
104 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
111 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
117 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
123 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32wlxx_hal_pka.c284 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb);
1798 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1803 if (msb > 0x7FU) in PKA_GetOptBitSize_u8()
1807 else if (msb > 0x3FU) in PKA_GetOptBitSize_u8()
1811 else if (msb > 0x1FU) in PKA_GetOptBitSize_u8()
1815 else if (msb > 0x0FU) in PKA_GetOptBitSize_u8()
1819 else if (msb > 0x07U) in PKA_GetOptBitSize_u8()
1823 else if (msb > 0x03U) in PKA_GetOptBitSize_u8()
1827 else if (msb > 0x01U) in PKA_GetOptBitSize_u8()
1831 else if (msb > 0x00U) in PKA_GetOptBitSize_u8()
[all …]