Lines Matching refs:imr_layout
261 struct imr_layout *imr_layout = (struct imr_layout *)(IMR_LAYOUT_ADDRESS); in pm_state_imr_restore() local
265 imr_layout->imr_state.header.imr_ram_storage, in pm_state_imr_restore()
269 adsp_mm_restore_context(imr_layout->imr_state.header.imr_ram_storage+LP_SRAM_SIZE); in pm_state_imr_restore()
301 struct imr_layout *imr_layout = (struct imr_layout *)(IMR_LAYOUT_ADDRESS); in pm_state_set() local
303 imr_layout->imr_state.header.adsp_imr_magic = ADSP_IMR_MAGIC_VALUE; in pm_state_set()
306 imr_layout->imr_state.header.imr_restore_vector = in pm_state_set()
308 imr_layout->imr_state.header.imr_ram_storage = global_imr_ram_storage; in pm_state_set()
309 sys_cache_data_flush_range((void *)imr_layout, sizeof(*imr_layout)); in pm_state_set()
338 imr_layout->imr_state.header.imr_restore_vector = in pm_state_set()
340 sys_cache_data_flush_range((void *)imr_layout, sizeof(*imr_layout)); in pm_state_set()
389 struct imr_layout *imr_layout = (struct imr_layout *)(IMR_LAYOUT_ADDRESS); in pm_state_exit_post_ops() local
392 sys_cache_data_invd_range(imr_layout, sizeof(*imr_layout)); in pm_state_exit_post_ops()
393 imr_layout->imr_state.header.adsp_imr_magic = 0; in pm_state_exit_post_ops()
394 imr_layout->imr_state.header.imr_restore_vector = NULL; in pm_state_exit_post_ops()
395 imr_layout->imr_state.header.imr_ram_storage = NULL; in pm_state_exit_post_ops()