Home
last modified time | relevance | path

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

12

/hal_stm32-3.7.0/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-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 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-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-3.7.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32u5xx_hal_jpeg.c2619 uint32_t msb; in JPEG_ACHuff_BitsVals_To_SizeCodes() local
2644 msb = (i & 0xF0UL) >> 4; in JPEG_ACHuff_BitsVals_To_SizeCodes()
2646 i = (msb * 10UL) + lsb - 1UL; in JPEG_ACHuff_BitsVals_To_SizeCodes()
2723 uint32_t msb; in JPEG_Set_HuffDC_Mem() local
2757 msb = ((uint32_t)(((uint32_t)dcSizeCodesTable.CodeLength[i] & 0xFU) << 8)) | in JPEG_Set_HuffDC_Mem()
2763 *address = lsb | (msb << 16); in JPEG_Set_HuffDC_Mem()
2786 uint32_t msb; in JPEG_Set_HuffAC_Mem() local
2834 msb = ((uint32_t)(((uint32_t)acSizeCodesTable.CodeLength[i] & 0xFU) << 8)) | in JPEG_Set_HuffAC_Mem()
2840 *address = lsb | (msb << 16); in JPEG_Set_HuffAC_Mem()
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 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-3.7.0/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
112 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
120 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
126 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
132 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-3.7.0/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
Dstm32h7rsxx_hal_jpeg.c2619 uint32_t msb; in JPEG_ACHuff_BitsVals_To_SizeCodes() local
2644 msb = (i & 0xF0UL) >> 4; in JPEG_ACHuff_BitsVals_To_SizeCodes()
2646 i = (msb * 10UL) + lsb - 1UL; in JPEG_ACHuff_BitsVals_To_SizeCodes()
2723 uint32_t msb; in JPEG_Set_HuffDC_Mem() local
2757 msb = ((uint32_t)(((uint32_t)dcSizeCodesTable.CodeLength[i] & 0xFU) << 8)) | in JPEG_Set_HuffDC_Mem()
2763 *address = lsb | (msb << 16); in JPEG_Set_HuffDC_Mem()
2786 uint32_t msb; in JPEG_Set_HuffAC_Mem() local
2834 msb = ((uint32_t)(((uint32_t)acSizeCodesTable.CodeLength[i] & 0xFU) << 8)) | in JPEG_Set_HuffAC_Mem()
2840 *address = lsb | (msb << 16); in JPEG_Set_HuffAC_Mem()
/hal_stm32-3.7.0/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 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);
1791 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1795 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 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);
1773 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1777 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()
/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 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);
1800 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1805 if (msb > 0x7FU) in PKA_GetOptBitSize_u8()
1809 else if (msb > 0x3FU) in PKA_GetOptBitSize_u8()
1813 else if (msb > 0x1FU) in PKA_GetOptBitSize_u8()
1817 else if (msb > 0x0FU) in PKA_GetOptBitSize_u8()
1821 else if (msb > 0x07U) in PKA_GetOptBitSize_u8()
1825 else if (msb > 0x03U) in PKA_GetOptBitSize_u8()
1829 else if (msb > 0x01U) in PKA_GetOptBitSize_u8()
1833 else if (msb > 0x00U) in PKA_GetOptBitSize_u8()
[all …]
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 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);
1800 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1804 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()
/hal_stm32-3.7.0/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
111 while ((msb-- > 0U) && ((Pol & ((uint32_t)(0x1U) << (msb & 0x1FU))) == 0U)) in HAL_CRCEx_Polynomial_Set()
119 if (msb >= HAL_CRC_LENGTH_7B) in HAL_CRCEx_Polynomial_Set()
125 if (msb >= HAL_CRC_LENGTH_8B) in HAL_CRCEx_Polynomial_Set()
131 if (msb >= HAL_CRC_LENGTH_16B) in HAL_CRCEx_Polynomial_Set()

12