Lines Matching refs:suspend_info
323 struct imx5_cpu_suspend_info *suspend_info; in imx5_suspend_init() local
335 *soc_data->suspend_asm_sz + sizeof(*suspend_info), in imx5_suspend_init()
340 suspend_info = suspend_ocram_base; in imx5_suspend_init()
342 suspend_info->io_count = soc_data->suspend_io_count; in imx5_suspend_init()
343 memcpy(suspend_info->io_state, soc_data->suspend_io_config, in imx5_suspend_init()
344 sizeof(*suspend_info->io_state) * soc_data->suspend_io_count); in imx5_suspend_init()
346 suspend_info->m4if_base = ioremap(soc_data->m4if_addr, SZ_16K); in imx5_suspend_init()
347 if (!suspend_info->m4if_base) { in imx5_suspend_init()
352 suspend_info->iomuxc_base = ioremap(soc_data->iomuxc_addr, SZ_16K); in imx5_suspend_init()
353 if (!suspend_info->iomuxc_base) { in imx5_suspend_init()
359 suspend_ocram_base + sizeof(*suspend_info), in imx5_suspend_init()
366 iounmap(suspend_info->m4if_base); in imx5_suspend_init()