Searched refs:sram_pool (Results 1 – 9 of 9) sorted by relevance
/arch/arm/mach-davinci/ |
D | sram.c | 19 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()
|
D | devices-da8xx.c | 590 da8xx_uio_pruss_pdata.sram_pool = sram_get_gen_pool(); in da8xx_register_uio_pruss()
|
D | board-da850-evm.c | 1420 da850_evm_snd_data.sram_pool = sram_get_gen_pool(); in da850_evm_init()
|
/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()
|
/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()
|
/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()
|
/arch/arm/mach-omap2/ |
D | omap4-common.c | 78 struct gen_pool *sram_pool; in omap4_sram_init() local 84 sram_pool = of_get_named_gen_pool(np, "sram", 0); in omap4_sram_init() 85 if (!sram_pool) in omap4_sram_init() 89 sram_sync = (void *)gen_pool_alloc(sram_pool, PAGE_SIZE); in omap4_sram_init()
|
/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()
|
/arch/avr32/mach-at32ap/ |
D | at32ap700x.c | 2337 struct gen_pool *sram_pool; variable 2351 sram_pool = pool; in sram_init()
|