Lines Matching refs:retent
33 rtc_cntl_sleep_retent_t retent; member
60 s_retention.retent.tagmem.icache.start_point = index; in cache_tagmem_retention_setup()
61 s_retention.retent.tagmem.icache.size = (sets * waysgrp) & 0xff; in cache_tagmem_retention_setup()
62 s_retention.retent.tagmem.icache.vld_size = s_retention.retent.tagmem.icache.size; in cache_tagmem_retention_setup()
64 … s_retention.retent.tagmem.icache.vld_size = (code_seg_size / imode.cache_line_size) * waysgrp; in cache_tagmem_retention_setup()
66 s_retention.retent.tagmem.icache.enable = (code_seg_size != 0) ? 1 : 0; in cache_tagmem_retention_setup()
67 …icache_tagmem_blk_gs = s_retention.retent.tagmem.icache.vld_size ? s_retention.retent.tagmem.icach… in cache_tagmem_retention_setup()
80 s_retention.retent.tagmem.dcache.start_point = index; in cache_tagmem_retention_setup()
81 s_retention.retent.tagmem.dcache.size = (sets * waysgrp) & 0x1ff; in cache_tagmem_retention_setup()
82 s_retention.retent.tagmem.dcache.vld_size = s_retention.retent.tagmem.dcache.size; in cache_tagmem_retention_setup()
85 … s_retention.retent.tagmem.dcache.vld_size = (data_seg_size / dmode.cache_line_size) * waysgrp; in cache_tagmem_retention_setup()
87 s_retention.retent.tagmem.dcache.enable = (data_seg_size != 0) ? 1 : 0; in cache_tagmem_retention_setup()
89 s_retention.retent.tagmem.dcache.enable = 1; in cache_tagmem_retention_setup()
91 …dcache_tagmem_blk_gs = s_retention.retent.tagmem.dcache.vld_size ? s_retention.retent.tagmem.dcach… in cache_tagmem_retention_setup()
109 if (s_retention.retent.tagmem.link_addr == NULL) { in esp_sleep_tagmem_pd_low_init()
129 s_retention.retent.tagmem.link_addr = rtc_cntl_hal_dma_link_init(buf, in esp_sleep_tagmem_pd_low_init()
132 s_retention.retent.tagmem.icache.enable = 0; in esp_sleep_tagmem_pd_low_init()
133 s_retention.retent.tagmem.dcache.enable = 0; in esp_sleep_tagmem_pd_low_init()
134 s_retention.retent.tagmem.link_addr = NULL; in esp_sleep_tagmem_pd_low_init()
139 s_retention.retent.tagmem.icache.enable = 0; in esp_sleep_tagmem_pd_low_init()
140 s_retention.retent.tagmem.dcache.enable = 0; in esp_sleep_tagmem_pd_low_init()
141 s_retention.retent.tagmem.link_addr = NULL; in esp_sleep_tagmem_pd_low_init()
145 if (s_retention.retent.tagmem.link_addr) { in esp_sleep_tagmem_pd_low_init()
146 heap_caps_free(s_retention.retent.tagmem.link_addr); in esp_sleep_tagmem_pd_low_init()
147 s_retention.retent.tagmem.icache.enable = 0; in esp_sleep_tagmem_pd_low_init()
148 s_retention.retent.tagmem.dcache.enable = 0; in esp_sleep_tagmem_pd_low_init()
149 s_retention.retent.tagmem.link_addr = NULL; in esp_sleep_tagmem_pd_low_init()
169 if (s_retention.retent.cpu_pd_mem == NULL) { in esp_sleep_cpu_pd_low_init()
175 s_retention.retent.cpu_pd_mem = rtc_cntl_hal_dma_link_init(buf, in esp_sleep_cpu_pd_low_init()
182 if (s_retention.retent.cpu_pd_mem) { in esp_sleep_cpu_pd_low_init()
183 heap_caps_free(s_retention.retent.cpu_pd_mem); in esp_sleep_cpu_pd_low_init()
184 s_retention.retent.cpu_pd_mem = NULL; in esp_sleep_cpu_pd_low_init()
200 return (s_retention.retent.cpu_pd_mem != NULL); in cpu_domain_pd_allowed()
210 rtc_cntl_hal_enable_cpu_retention(&s_retention.retent); in sleep_enable_memory_retention()
213 rtc_cntl_hal_enable_tagmem_retention(&s_retention.retent); in sleep_enable_memory_retention()
220 rtc_cntl_hal_disable_cpu_retention(&s_retention.retent); in sleep_disable_memory_retention()
223 rtc_cntl_hal_disable_tagmem_retention(&s_retention.retent); in sleep_disable_memory_retention()