Searched refs:ocram_pool (Results 1 – 3 of 3) sorted by relevance
41 struct gen_pool *ocram_pool; in socfpga_setup_ocram_self_refresh() local59 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()
280 struct gen_pool *ocram_pool; in imx_suspend_alloc_ocram() local300 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()
457 struct gen_pool *ocram_pool; in imx6q_suspend_init() local482 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()