Home
last modified time | relevance | path

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

/hal_intel-3.7.0/bsp_sedi/soc/intel_ish/pm/aon/
Daon_task.c575 uint32_t val, sum_mask, mask; in sram_enter_sleep_mode() local
577 sum_mask = mask = 0x1; in sram_enter_sleep_mode()
579 while (sum_mask <= CONFIG_RAM_BANK_TILE_MASK) { in sram_enter_sleep_mode()
581 write32(PMU_SRAM_DEEPSLEEP, val | sum_mask); in sram_enter_sleep_mode()
586 sum_mask += mask; in sram_enter_sleep_mode()
592 uint32_t val, sum_mask, mask; in sram_exit_sleep_mode() local
594 sum_mask = mask = 0x1; in sram_exit_sleep_mode()
596 while (sum_mask <= CONFIG_RAM_BANK_TILE_MASK) { in sram_exit_sleep_mode()
598 write32(PMU_SRAM_DEEPSLEEP, val & ~sum_mask); in sram_exit_sleep_mode()
610 sum_mask += mask; in sram_exit_sleep_mode()