Searched refs:initial_count (Results 1 – 3 of 3) sorted by relevance
29 unsigned int initial_count, final_count; in try_to_suspend() local31 if (!pm_get_wakeup_count(&initial_count, true)) in try_to_suspend()36 if (!pm_save_wakeup_count(initial_count) || in try_to_suspend()60 if (final_count == initial_count) in try_to_suspend()
1120 osSemaphoreId_t osSemaphoreNew(uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t … in osSemaphoreNew() argument1127 …if ((initial_count > max_count) || (max_count > OS_SEM_COUNTING_MAX_COUNT) || (max_count == 0) || … in osSemaphoreNew()1132 ret = LOS_BinarySemCreate((UINT16)initial_count, &semId); in osSemaphoreNew()1134 ret = LOS_SemCreate((UINT16)initial_count, &semId); in osSemaphoreNew()
399 u32 initial_count; member