Lines Matching refs:FreeBlocks
4442 uint32_t FreeBlocks = 0U; in HAL_HCD_GetFreePMA() local
4468 for (uint8_t i = 0U; ((i < PMA_BLOCKS) && (FreeBlocks != NbrReqBlocks)); i++) in HAL_HCD_GetFreePMA()
4473 if ((FreeBlocks != 0U) && ((Entry & (uint32_t)1U) != 0U)) in HAL_HCD_GetFreePMA()
4475 FreeBlocks = 0U; in HAL_HCD_GetFreePMA()
4478 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
4483 if (FreeBlocks == 0U) in HAL_HCD_GetFreePMA()
4487 FreeBlocks++; in HAL_HCD_GetFreePMA()
4492 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
4494 FreeBlocks++; in HAL_HCD_GetFreePMA()
4499 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
4502 FreeBlocks = 0U; in HAL_HCD_GetFreePMA()
4510 if (FreeBlocks >= NbrReqBlocks) in HAL_HCD_GetFreePMA()
4514 for (uint8_t i = FirstFreeBlock_line; ((i < PMA_BLOCKS) && (FreeBlocks > 0U)); i++) in HAL_HCD_GetFreePMA()
4519 if (--FreeBlocks == 0U) in HAL_HCD_GetFreePMA()