Home
last modified time | relevance | path

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

/arch/arm/mach-socfpga/
Dpm.c41 struct gen_pool *ocram_pool; in socfpga_setup_ocram_self_refresh() local
59 ocram_pool = gen_pool_get(&pdev->dev, NULL); in socfpga_setup_ocram_self_refresh()
60 if (!ocram_pool) { in socfpga_setup_ocram_self_refresh()
66 ocram_base = gen_pool_alloc(ocram_pool, socfpga_sdram_self_refresh_sz); in socfpga_setup_ocram_self_refresh()
73 ocram_pbase = gen_pool_virt_to_phys(ocram_pool, ocram_base); in socfpga_setup_ocram_self_refresh()
/arch/arm/mach-imx/
Dpm-imx5.c280 struct gen_pool *ocram_pool; in imx_suspend_alloc_ocram() local
300 ocram_pool = gen_pool_get(&pdev->dev, NULL); in imx_suspend_alloc_ocram()
301 if (!ocram_pool) { in imx_suspend_alloc_ocram()
307 ocram_base = gen_pool_alloc(ocram_pool, size); in imx_suspend_alloc_ocram()
314 phys = gen_pool_virt_to_phys(ocram_pool, ocram_base); in imx_suspend_alloc_ocram()
Dpm-imx6.c457 struct gen_pool *ocram_pool; in imx6q_suspend_init() local
482 ocram_pool = gen_pool_get(&pdev->dev, NULL); in imx6q_suspend_init()
483 if (!ocram_pool) { in imx6q_suspend_init()
489 ocram_base = gen_pool_alloc(ocram_pool, MX6Q_SUSPEND_OCRAM_SIZE); in imx6q_suspend_init()
496 ocram_pbase = gen_pool_virt_to_phys(ocram_pool, ocram_base); in imx6q_suspend_init()