Home
last modified time | relevance | path

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

/hal_stm32-latest/lib/stm32wb0/BLE_TransparentMode/STM32_BLE/App/
Dadv_buff_alloc.c42 uint8_t i, j; in adv_buff_init() local
45 for(j = 0; j < CFG_BLE_NUM_ADV_SETS; j++) in adv_buff_init()
46 adv_buf_info[i][j].handle = 0xFF; in adv_buff_init()
206 uint8_t i, j; in adv_buff_free_old() local
211 for(j = 0; j < NUM_ADV_BUFF_TYPES; j++){ in adv_buff_free_old()
214 if(adv_buf_info[j][i].old_buff_data == buff){ in adv_buff_free_old()
216 adv_buf_info[j][i].old_buff_data = NULL; in adv_buff_free_old()
221 if(adv_buf_info[j][i].curr_buff_data == buff){ in adv_buff_free_old()
224 dm_free(adv_buf_info[j][i].curr_buff_data); in adv_buff_free_old()
225 adv_buf_info[j][i].curr_buff_data = NULL; in adv_buff_free_old()
[all …]
/hal_stm32-latest/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-latest/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.c4477 uint8_t j = 0U; in HAL_HCD_GetFreePMA() local
4478 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
4481 if ((Entry & ((uint32_t)1U << j)) == 0U) in HAL_HCD_GetFreePMA()
4485 FirstFreeBlock_col = j; in HAL_HCD_GetFreePMA()
4489 j++; in HAL_HCD_GetFreePMA()
4492 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
4495 j++; in HAL_HCD_GetFreePMA()
4499 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
4500 ((j == 31U) && ((Entry & ((uint32_t)1U << j)) != 0U))) in HAL_HCD_GetFreePMA()
4505 j++; in HAL_HCD_GetFreePMA()
[all …]
/hal_stm32-latest/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.c4477 uint8_t j = 0U; in HAL_HCD_GetFreePMA() local
4478 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
4481 if ((Entry & ((uint32_t)1U << j)) == 0U) in HAL_HCD_GetFreePMA()
4485 FirstFreeBlock_col = j; in HAL_HCD_GetFreePMA()
4489 j++; in HAL_HCD_GetFreePMA()
4492 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
4495 j++; in HAL_HCD_GetFreePMA()
4499 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
4500 ((j == 31U) && ((Entry & ((uint32_t)1U << j)) != 0U))) in HAL_HCD_GetFreePMA()
4505 j++; in HAL_HCD_GetFreePMA()
[all …]
/hal_stm32-latest/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
902 for (j = 0; j < size; j++) in HAL_OTFDEC_Cipher()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_hcd.c2552 uint8_t j = 0U; in HAL_HCD_GetFreePMA() local
2553 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2556 if ((Entry & ((uint32_t)1U << j)) == 0U) in HAL_HCD_GetFreePMA()
2560 FirstFreeBlock_col = j; in HAL_HCD_GetFreePMA()
2564 j++; in HAL_HCD_GetFreePMA()
2567 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2570 j++; in HAL_HCD_GetFreePMA()
2574 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
2575 ((j == 31U) && ((Entry & ((uint32_t)1U << j)) != 0U))) in HAL_HCD_GetFreePMA()
2580 j++; in HAL_HCD_GetFreePMA()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_hcd.c2552 uint8_t j = 0U; in HAL_HCD_GetFreePMA() local
2553 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2556 if ((Entry & ((uint32_t)1U << j)) == 0U) in HAL_HCD_GetFreePMA()
2560 FirstFreeBlock_col = j; in HAL_HCD_GetFreePMA()
2564 j++; in HAL_HCD_GetFreePMA()
2567 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2570 j++; in HAL_HCD_GetFreePMA()
2574 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
2575 ((j == 31U) && ((Entry & ((uint32_t)1U << j)) != 0U))) in HAL_HCD_GetFreePMA()
2580 j++; in HAL_HCD_GetFreePMA()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_jpeg.c2551 uint32_t j; in JPEG_Bits_To_SizeCodes() local
2557 j = 0; in JPEG_Bits_To_SizeCodes()
2561 if ((j + i) > 256UL) in JPEG_Bits_To_SizeCodes()
2568 Huffsize[j] = (uint8_t) k + 1U; in JPEG_Bits_To_SizeCodes()
2569 j++; in JPEG_Bits_To_SizeCodes()
2573 Huffsize[j] = 0; in JPEG_Bits_To_SizeCodes()
2574 *LastK = j; in JPEG_Bits_To_SizeCodes()
2579 j = 0; in JPEG_Bits_To_SizeCodes()
2580 while (Huffsize[j] != 0U) in JPEG_Bits_To_SizeCodes()
2582 while (((uint32_t) Huffsize[j]) == si) in JPEG_Bits_To_SizeCodes()
[all …]
Dstm32n6xx_hal_mce.c922 uint32_t j; in HAL_MCE_KeyCRCComputation() local
927 for (j = 0U; j < 4U; j++) in HAL_MCE_KeyCRCComputation()
931 if (j == 0U) in HAL_MCE_KeyCRCComputation()
937 keyval ^= (key_strobe[j] << 24) | ((uint32_t)crc << 16) | (key_strobe[j] << 8) | crc; in HAL_MCE_KeyCRCComputation()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_jpeg.c2551 uint32_t j; in JPEG_Bits_To_SizeCodes() local
2557 j = 0; in JPEG_Bits_To_SizeCodes()
2561 if ((j + i) > 256UL) in JPEG_Bits_To_SizeCodes()
2568 Huffsize[j] = (uint8_t) k + 1U; in JPEG_Bits_To_SizeCodes()
2569 j++; in JPEG_Bits_To_SizeCodes()
2573 Huffsize[j] = 0; in JPEG_Bits_To_SizeCodes()
2574 *LastK = j; in JPEG_Bits_To_SizeCodes()
2579 j = 0; in JPEG_Bits_To_SizeCodes()
2580 while (Huffsize[j] != 0U) in JPEG_Bits_To_SizeCodes()
2582 while (((uint32_t) Huffsize[j]) == si) in JPEG_Bits_To_SizeCodes()
[all …]
Dstm32h7rsxx_hal_mce.c918 uint32_t j; in HAL_MCE_KeyCRCComputation() local
923 for (j = 0U; j < 4U; j++) in HAL_MCE_KeyCRCComputation()
927 if (j == 0U) in HAL_MCE_KeyCRCComputation()
933 keyval ^= (key_strobe[j] << 24) | ((uint32_t)crc << 16) | (key_strobe[j] << 8) | crc; in HAL_MCE_KeyCRCComputation()
/hal_stm32-latest/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-latest/lib/stm32wb0/BLE_TransparentMode/System/Modules/RADIO_utils/Src/
DRADIO_utils.c427 for(int j = 0; j < 8; j++) in LL_busy() local
429 if(link_status[j] != LL_IDLE) in LL_busy()
/hal_stm32-latest/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()