Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c468 struct gen_pool *ocram_pool; in imx6q_suspend_init() local
493 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()