Home
last modified time | relevance | path

Searched refs:em (Results 1 – 4 of 4) sorted by relevance

/hal_silabs-3.5.0/gecko/service/power_manager/inc/
Dsl_power_manager.h280 void sli_power_manager_update_em_requirement(sl_power_manager_em_t em,
288 void sli_power_manager_debug_log_em_requirement(sl_power_manager_em_t em,
292 #define sli_power_manager_debug_log_em_requirement(em, add, name) /* no-op */ argument
339 __STATIC_INLINE void sl_power_manager_add_em_requirement(sl_power_manager_em_t em) in sl_power_manager_add_em_requirement() argument
345 sli_power_manager_update_em_requirement(em, true); in sl_power_manager_add_em_requirement()
347 sli_power_manager_debug_log_em_requirement(em, true, (const char *)CURRENT_MODULE_NAME); in sl_power_manager_add_em_requirement()
350 (void)em; in sl_power_manager_add_em_requirement()
361 __STATIC_INLINE void sl_power_manager_remove_em_requirement(sl_power_manager_em_t em) in sl_power_manager_remove_em_requirement() argument
367 sli_power_manager_update_em_requirement(em, false); in sl_power_manager_remove_em_requirement()
369 sli_power_manager_debug_log_em_requirement(em, false, (const char *)CURRENT_MODULE_NAME); in sl_power_manager_remove_em_requirement()
[all …]
/hal_silabs-3.5.0/gecko/service/power_manager/src/
Dsl_power_manager.c388 void sli_power_manager_update_em_requirement(sl_power_manager_em_t em, in sli_power_manager_update_em_requirement() argument
393 EFM_ASSERT((em > SL_POWER_MANAGER_EM0) && (em < SL_POWER_MANAGER_EM3)); in sli_power_manager_update_em_requirement()
396 EFM_ASSERT(!((requirement_em_table[em - 1] == UINT8_MAX) && (add == true))); in sli_power_manager_update_em_requirement()
398 EFM_ASSERT(!((requirement_em_table[em - 1] == 0) && (add == false))); in sli_power_manager_update_em_requirement()
401 requirement_em_table[em - 1] += (add) ? 1 : -1; in sli_power_manager_update_em_requirement()
427 (void)em; in sli_power_manager_update_em_requirement()
730 sl_power_manager_em_t em; in get_lowest_em() local
737 em = (sl_power_manager_em_t)em_ix; in get_lowest_em()
739 return em; in get_lowest_em()
Dsl_power_manager_hal_s2.c433 void sli_power_manager_apply_em(sl_power_manager_em_t em) in sli_power_manager_apply_em() argument
436 switch (em) { in sli_power_manager_apply_em()
Dsli_power_manager_private.h72 void sli_power_manager_apply_em(sl_power_manager_em_t em);