Home
last modified time | relevance | path

Searched refs:sram_pool (Results 1 – 10 of 10) sorted by relevance

/arch/arm/mach-davinci/
Dsram.c19 static struct gen_pool *sram_pool; variable
23 return sram_pool; in sram_get_gen_pool()
32 if (!sram_pool || (dma && !dma_base)) in sram_alloc()
35 return gen_pool_dma_alloc(sram_pool, len, dma); in sram_alloc()
42 gen_pool_free(sram_pool, (unsigned long) addr, len); in sram_free()
62 sram_pool = gen_pool_create(ilog2(SRAM_GRANULARITY), -1); in sram_init()
63 if (!sram_pool) in sram_init()
67 if (sram_pool) { in sram_init()
71 status = gen_pool_add_virt(sram_pool, (unsigned long) addr, in sram_init()
Ddevices-da8xx.c624 da8xx_uio_pruss_pdata.sram_pool = sram_get_gen_pool(); in da8xx_register_uio_pruss()
Dboard-da850-evm.c1417 da850_evm_snd_data.sram_pool = sram_get_gen_pool(); in da850_evm_init()
/arch/avr32/mach-at32ap/include/mach/
Dsram.h15 extern struct gen_pool *sram_pool;
19 if (!sram_pool) in sram_alloc()
22 return gen_pool_alloc(sram_pool, len); in sram_alloc()
27 return gen_pool_free(sram_pool, addr, len); in sram_free()
/arch/sh/include/asm/
Dsram.h10 extern struct gen_pool *sram_pool;
14 if (!sram_pool) in sram_alloc()
17 return gen_pool_alloc(sram_pool, len); in sram_alloc()
22 return gen_pool_free(sram_pool, addr, len); in sram_free()
/arch/sh/mm/
Dsram.c22 struct gen_pool *sram_pool; variable
29 sram_pool = gen_pool_create(1, -1); in sram_pool_init()
30 if (unlikely(!sram_pool)) in sram_pool_init()
/arch/arm/mach-omap2/
Domap4-common.c132 struct gen_pool *sram_pool; in omap4_sram_init() local
141 sram_pool = of_gen_pool_get(np, "sram", 0); in omap4_sram_init()
142 if (!sram_pool) in omap4_sram_init()
146 sram_sync = (void *)gen_pool_alloc(sram_pool, PAGE_SIZE); in omap4_sram_init()
/arch/arm/mach-at91/
Dpm.c374 struct gen_pool *sram_pool; in at91_pm_sram_init() local
393 sram_pool = gen_pool_get(&pdev->dev, NULL); in at91_pm_sram_init()
394 if (!sram_pool) { in at91_pm_sram_init()
399 sram_base = gen_pool_alloc(sram_pool, at91_pm_suspend_in_sram_sz); in at91_pm_sram_init()
405 sram_pbase = gen_pool_virt_to_phys(sram_pool, sram_base); in at91_pm_sram_init()
/arch/sh/boards/mach-sdk7786/
Dsram.c63 ret = gen_pool_add(sram_pool, (unsigned long)vaddr, SZ_2K, -1); in fpga_sram_init()
/arch/avr32/mach-at32ap/
Dat32ap700x.c2330 struct gen_pool *sram_pool; variable
2344 sram_pool = pool; in sram_init()