Searched refs:sum_mask (Results 1 – 1 of 1) sorted by relevance
575 uint32_t val, sum_mask, mask; in sram_enter_sleep_mode() local577 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() local594 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()