Searched refs:sram_pool (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/arch/arm/mach-davinci/ |
D | sram.c | 18 static struct gen_pool *sram_pool; variable 27 if (!sram_pool || (dma && !dma_base)) in sram_alloc() 30 vaddr = gen_pool_alloc(sram_pool, len); in sram_alloc() 43 gen_pool_free(sram_pool, (unsigned long) addr, len); in sram_free() 61 sram_pool = gen_pool_create(ilog2(SRAM_GRANULARITY), -1); in sram_init() 62 if (!sram_pool) in sram_init() 65 if (sram_pool) in sram_init() 66 status = gen_pool_add(sram_pool, SRAM_VIRT, len, -1); in sram_init()
|
/linux-3.4.99/arch/avr32/mach-at32ap/include/mach/ |
D | sram.h | 15 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()
|
/linux-3.4.99/arch/sh/include/asm/ |
D | sram.h | 10 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()
|
/linux-3.4.99/arch/sh/mm/ |
D | sram.c | 22 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()
|
/linux-3.4.99/arch/sh/boards/mach-sdk7786/ |
D | sram.c | 63 ret = gen_pool_add(sram_pool, (unsigned long)vaddr, SZ_2K, -1); in fpga_sram_init()
|
/linux-3.4.99/arch/avr32/mach-at32ap/ |
D | at32ap700x.c | 2333 struct gen_pool *sram_pool; variable 2347 sram_pool = pool; in sram_init()
|