Searched refs:ocram_pool (Results 1 – 3 of 3) sorted by relevance
30 struct gen_pool *ocram_pool; in socfpga_setup_ocram_self_refresh() local48 ocram_pool = gen_pool_get(&pdev->dev, NULL); in socfpga_setup_ocram_self_refresh()49 if (!ocram_pool) { in socfpga_setup_ocram_self_refresh()55 ocram_base = gen_pool_alloc(ocram_pool, socfpga_sdram_self_refresh_sz); in socfpga_setup_ocram_self_refresh()62 ocram_pbase = gen_pool_virt_to_phys(ocram_pool, ocram_base); in socfpga_setup_ocram_self_refresh()
274 struct gen_pool *ocram_pool; in imx_suspend_alloc_ocram() local294 ocram_pool = gen_pool_get(&pdev->dev, NULL); in imx_suspend_alloc_ocram()295 if (!ocram_pool) { in imx_suspend_alloc_ocram()301 ocram_base = gen_pool_alloc(ocram_pool, size); in imx_suspend_alloc_ocram()308 phys = gen_pool_virt_to_phys(ocram_pool, ocram_base); in imx_suspend_alloc_ocram()
468 struct gen_pool *ocram_pool; in imx6q_suspend_init() local493 ocram_pool = gen_pool_get(&pdev->dev, NULL); in imx6q_suspend_init()494 if (!ocram_pool) { in imx6q_suspend_init()500 ocram_base = gen_pool_alloc(ocram_pool, MX6Q_SUSPEND_OCRAM_SIZE); in imx6q_suspend_init()507 ocram_pbase = gen_pool_virt_to_phys(ocram_pool, ocram_base); in imx6q_suspend_init()