Home
last modified time | relevance | path

Searched refs:j (Results 1 – 11 of 11) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_dcmi.c1464 uint32_t j = 1; in DCMI_TransferSize() local
1476 while (j < NPRIME) in DCMI_TransferSize()
1478 if (temp < PrimeArray[j]) in DCMI_TransferSize()
1482 while ((temp % PrimeArray[j]) == 0U) in DCMI_TransferSize()
1484 aPrime[j]++; in DCMI_TransferSize()
1485 temp /= PrimeArray[j]; in DCMI_TransferSize()
1487 j++; in DCMI_TransferSize()
1495 j = NPRIME-1U; in DCMI_TransferSize()
1496 while ((j > 0U) && (output <= 0xFFFEU)) in DCMI_TransferSize()
1498 while (aPrime[j] > 0U) in DCMI_TransferSize()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_otfdec.c789 uint32_t j; in HAL_OTFDEC_KeyCRCComputation() local
794 for (j = 0U; j < 4U; j++) in HAL_OTFDEC_KeyCRCComputation()
798 if (j == 0U) in HAL_OTFDEC_KeyCRCComputation()
804 keyval ^= (key_strobe[j] << 24) | ((uint32_t)crc << 16) | (key_strobe[j] << 8) | crc; in HAL_OTFDEC_KeyCRCComputation()
884 uint32_t j; in HAL_OTFDEC_Cipher() local
905 for (j = 0; j < size; j++) in HAL_OTFDEC_Cipher()
Dstm32u5xx_hal_jpeg.c2550 uint32_t j; in JPEG_Bits_To_SizeCodes() local
2556 j = 0; in JPEG_Bits_To_SizeCodes()
2560 if ((j + i) > 256UL) in JPEG_Bits_To_SizeCodes()
2567 Huffsize[j] = (uint8_t) k + 1U; in JPEG_Bits_To_SizeCodes()
2568 j++; in JPEG_Bits_To_SizeCodes()
2572 Huffsize[j] = 0; in JPEG_Bits_To_SizeCodes()
2573 *LastK = j; in JPEG_Bits_To_SizeCodes()
2578 j = 0; in JPEG_Bits_To_SizeCodes()
2579 while (Huffsize[j] != 0U) in JPEG_Bits_To_SizeCodes()
2581 while (((uint32_t) Huffsize[j]) == si) in JPEG_Bits_To_SizeCodes()
[all …]
Dstm32u5xx_hal_hcd.c4445 uint8_t j = 0U; in HAL_HCD_GetFreePMA() local
4446 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
4449 if ((Entry & ((uint32_t)1U << j)) == 0U) in HAL_HCD_GetFreePMA()
4453 FirstFreeBlock_col = j; in HAL_HCD_GetFreePMA()
4457 j++; in HAL_HCD_GetFreePMA()
4460 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
4463 j++; in HAL_HCD_GetFreePMA()
4467 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
4468 ((j == 31U) && ((Entry & ((uint32_t)1U << j)) != 0U))) in HAL_HCD_GetFreePMA()
4473 j++; in HAL_HCD_GetFreePMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_otfdec.c789 uint32_t j; in HAL_OTFDEC_KeyCRCComputation() local
794 for (j = 0U; j < 4U; j++) in HAL_OTFDEC_KeyCRCComputation()
798 if (j == 0U) in HAL_OTFDEC_KeyCRCComputation()
804 keyval ^= (key_strobe[j] << 24) | ((uint32_t)crc << 16) | (key_strobe[j] << 8) | crc; in HAL_OTFDEC_KeyCRCComputation()
884 uint32_t j; in HAL_OTFDEC_Cipher() local
902 for (j = 0; j < size; j++) in HAL_OTFDEC_Cipher()
Dstm32h5xx_hal_hcd.c2503 uint8_t j = 0U; in HAL_HCD_GetFreePMA() local
2504 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2507 if ((Entry & ((uint32_t)1U << j)) == 0U) in HAL_HCD_GetFreePMA()
2511 FirstFreeBlock_col = j; in HAL_HCD_GetFreePMA()
2515 j++; in HAL_HCD_GetFreePMA()
2518 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2521 j++; in HAL_HCD_GetFreePMA()
2525 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
2526 ((j == 31U) && ((Entry & ((uint32_t)1U << j)) != 0U))) in HAL_HCD_GetFreePMA()
2531 j++; in HAL_HCD_GetFreePMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_otfdec.c789 uint32_t j; in HAL_OTFDEC_KeyCRCComputation() local
794 for (j = 0U; j < 4U; j++) in HAL_OTFDEC_KeyCRCComputation()
798 if (j == 0U) in HAL_OTFDEC_KeyCRCComputation()
804 keyval ^= (key_strobe[j] << 24) | ((uint32_t)crc << 16) | (key_strobe[j] << 8) | crc; in HAL_OTFDEC_KeyCRCComputation()
884 uint32_t j; in HAL_OTFDEC_Cipher() local
905 for (j = 0; j < size; j++) in HAL_OTFDEC_Cipher()
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_hcd.c2512 uint8_t j = 0U; in HAL_HCD_GetFreePMA() local
2513 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2516 if ((Entry & ((uint32_t)1U << j)) == 0U) in HAL_HCD_GetFreePMA()
2520 FirstFreeBlock_col = j; in HAL_HCD_GetFreePMA()
2524 j++; in HAL_HCD_GetFreePMA()
2527 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2530 j++; in HAL_HCD_GetFreePMA()
2534 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
2535 ((j == 31U) && ((Entry & ((uint32_t)1U << j)) != 0U))) in HAL_HCD_GetFreePMA()
2540 j++; in HAL_HCD_GetFreePMA()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_otfdec.c762 uint32_t j; in HAL_OTFDEC_KeyCRCComputation() local
767 for (j = 0U; j < 4U; j++) in HAL_OTFDEC_KeyCRCComputation()
771 if (j == 0U) in HAL_OTFDEC_KeyCRCComputation()
777 keyval ^= (key_strobe[j] << 24) | ((uint32_t)crc << 16) | (key_strobe[j] << 8) | crc; in HAL_OTFDEC_KeyCRCComputation()
Dstm32h7xx_hal_jpeg.c3070 uint32_t j; in JPEG_Set_Quantization_Mem() local
3096 for (j = 0; j < 4UL; j++) in JPEG_Set_Quantization_Mem()
3099 quantVal = ((((uint32_t) QTable[JPEG_ZIGZAG_ORDER[i + j]]) * ScaleFactor) + 50UL) / 100UL; in JPEG_Set_Quantization_Mem()
3114 quantRow |= ((quantVal & 0xFFUL) << (8UL * j)); in JPEG_Set_Quantization_Mem()
4148 uint32_t quantRow, quantVal, scale, i, j; in JPEG_GetQuality() local
4155 for (j = 0; j < 4UL; j++) in JPEG_GetQuality()
4157 quantVal = (quantRow >> (8UL * j)) & 0xFFUL; in JPEG_GetQuality()
4166 scale = (quantVal * 100UL) / ((uint32_t) hjpeg->QuantTable0[JPEG_ZIGZAG_ORDER[i + j]]); in JPEG_GetQuality()
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_jpeg.c3065 uint32_t j; in JPEG_Set_Quantization_Mem() local
3091 for (j = 0; j < 4UL; j++) in JPEG_Set_Quantization_Mem()
3094 quantVal = ((((uint32_t) QTable[JPEG_ZIGZAG_ORDER[i + j]]) * ScaleFactor) + 50UL) / 100UL; in JPEG_Set_Quantization_Mem()
3109 quantRow |= ((quantVal & 0xFFUL) << (8UL * j)); in JPEG_Set_Quantization_Mem()
4115 uint32_t quantRow, quantVal, scale, i, j; in JPEG_GetQuality() local
4122 for (j = 0; j < 4UL; j++) in JPEG_GetQuality()
4124 quantVal = (quantRow >> (8UL * j)) & 0xFFUL; in JPEG_GetQuality()
4133 scale = (quantVal * 100UL) / ((uint32_t) hjpeg->QuantTable0[JPEG_ZIGZAG_ORDER[i + j]]); in JPEG_GetQuality()