Lines Matching refs:FreeBlocks
2517 uint32_t FreeBlocks = 0U; in HAL_HCD_GetFreePMA() local
2543 for (uint8_t i = 0U; ((i < PMA_BLOCKS) && (FreeBlocks != NbrReqBlocks)); i++) in HAL_HCD_GetFreePMA()
2548 if ((FreeBlocks != 0U) && ((Entry & (uint32_t)1U) != 0U)) in HAL_HCD_GetFreePMA()
2550 FreeBlocks = 0U; in HAL_HCD_GetFreePMA()
2553 while ((j <= 31U) && (FreeBlocks != NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2558 if (FreeBlocks == 0U) in HAL_HCD_GetFreePMA()
2562 FreeBlocks++; in HAL_HCD_GetFreePMA()
2567 while ((j <= 31U) && ((Entry & ((uint32_t)1U << j)) == 0U) && (FreeBlocks < NbrReqBlocks)) in HAL_HCD_GetFreePMA()
2569 FreeBlocks++; in HAL_HCD_GetFreePMA()
2574 if (((FreeBlocks < NbrReqBlocks) && (j < 31U)) || in HAL_HCD_GetFreePMA()
2577 FreeBlocks = 0U; in HAL_HCD_GetFreePMA()
2585 if (FreeBlocks >= NbrReqBlocks) in HAL_HCD_GetFreePMA()
2589 for (uint8_t i = FirstFreeBlock_line; ((i < PMA_BLOCKS) && (FreeBlocks > 0U)); i++) in HAL_HCD_GetFreePMA()
2594 if (--FreeBlocks == 0U) in HAL_HCD_GetFreePMA()