/linux-4.4.14/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 | 624 da8xx_uio_pruss_pdata.sram_pool = sram_get_gen_pool(); in da8xx_register_uio_pruss()
|
D | board-da850-evm.c | 1417 da850_evm_snd_data.sram_pool = sram_get_gen_pool(); in da850_evm_init()
|
/linux-4.4.14/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-4.4.14/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-4.4.14/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-4.4.14/drivers/uio/ |
D | uio_pruss.c | 73 struct gen_pool *sram_pool; member 110 gen_pool_free(gdev->sram_pool, in pruss_cleanup() 160 if (pdata->sram_pool) { in pruss_probe() 161 gdev->sram_pool = pdata->sram_pool; in pruss_probe() 163 (unsigned long)gen_pool_dma_alloc(gdev->sram_pool, in pruss_probe()
|
/linux-4.4.14/arch/arm/mach-at91/ |
D | pm.c | 358 struct gen_pool *sram_pool; in at91_pm_sram_init() local 377 sram_pool = gen_pool_get(&pdev->dev, NULL); in at91_pm_sram_init() 378 if (!sram_pool) { in at91_pm_sram_init() 383 sram_base = gen_pool_alloc(sram_pool, at91_pm_suspend_in_sram_sz); in at91_pm_sram_init() 389 sram_pbase = gen_pool_virt_to_phys(sram_pool, sram_base); in at91_pm_sram_init()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | omap4-common.c | 132 struct gen_pool *sram_pool; in omap4_sram_init() local 138 sram_pool = of_gen_pool_get(np, "sram", 0); in omap4_sram_init() 139 if (!sram_pool) in omap4_sram_init() 143 sram_sync = (void *)gen_pool_alloc(sram_pool, PAGE_SIZE); in omap4_sram_init()
|
/linux-4.4.14/include/linux/platform_data/ |
D | uio_pruss.h | 24 struct gen_pool *sram_pool; member
|
D | davinci_asp.h | 34 struct gen_pool *sram_pool; member
|
/linux-4.4.14/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-4.4.14/drivers/crypto/ |
D | mv_cesa.c | 89 struct gen_pool *sram_pool; member 1037 cp->sram_pool = of_gen_pool_get(pdev->dev.of_node, in mv_cesa_get_sram() 1039 if (cp->sram_pool) { in mv_cesa_get_sram() 1040 cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size, in mv_cesa_get_sram()
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
D | at32ap700x.c | 2330 struct gen_pool *sram_pool; variable 2344 sram_pool = pool; in sram_init()
|