Home
last modified time | relevance | path

Searched refs:entry_cnt (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/boards/microchip/mec15xxevb_assy6853/power_management/src/
Dpower_mgmt.c41 uint8_t entry_cnt; member
102 pm_counters[0].entry_cnt++; in notify_pm_state_entry()
106 pm_counters[1].entry_cnt++; in notify_pm_state_entry()
138 pm_counters[i].entry_cnt); in pm_check_counters()
142 if (pm_counters[i].entry_cnt != pm_counters[i].exit_cnt) { in pm_check_counters()
146 if (pm_counters[i].entry_cnt != cycles) { in pm_check_counters()
150 pm_counters[i].entry_cnt = 0; in pm_check_counters()
158 pm_counters[i].entry_cnt = 0; in pm_reset_counters()
/Zephyr-latest/tests/subsys/pm/power_mgmt_soc/src/
Dpower_mgmt.c44 uint8_t entry_cnt; member
80 pm_counters[(int)state].entry_cnt++; in notify_pm_state_entry()
111 pm_counters[i].entry_cnt); in pm_check_counters()
115 zassert_equal(pm_counters[i].entry_cnt, in pm_check_counters()
119 pm_counters[i].entry_cnt = 0; in pm_check_counters()
127 pm_counters[i].entry_cnt = 0; in pm_reset_counters()
/Zephyr-latest/subsys/logging/
Dlog_cache.c31 uint32_t entry_cnt = config->buf_len / entry_size; in log_cache_init() local
35 if (entry_cnt == 0) { in log_cache_init()
40 for (uint32_t i = 0; i < entry_cnt; i++) { in log_cache_init()