Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/mach-socfpga/
Dpm.c30 struct gen_pool *ocram_pool; in socfpga_setup_ocram_self_refresh() local
48 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()
/Linux-v5.4/arch/arm/mach-imx/
Dpm-imx5.c274 struct gen_pool *ocram_pool; in imx_suspend_alloc_ocram() local
294 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()
Dpm-imx6.c467 struct gen_pool *ocram_pool; in imx6q_suspend_init() local
492 ocram_pool = gen_pool_get(&pdev->dev, NULL); in imx6q_suspend_init()
493 if (!ocram_pool) { in imx6q_suspend_init()
499 ocram_base = gen_pool_alloc(ocram_pool, MX6Q_SUSPEND_OCRAM_SIZE); in imx6q_suspend_init()
506 ocram_pbase = gen_pool_virt_to_phys(ocram_pool, ocram_base); in imx6q_suspend_init()