Home
last modified time | relevance | path

Searched refs:DMA_UNCACHED_REGION (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/arch/blackfin/include/asm/
Dbfin-global.h18 # define DMA_UNCACHED_REGION (32 * 1024 * 1024) macro
20 # define DMA_UNCACHED_REGION (16 * 1024 * 1024) macro
22 # define DMA_UNCACHED_REGION (8 * 1024 * 1024) macro
24 # define DMA_UNCACHED_REGION (4 * 1024 * 1024) macro
26 # define DMA_UNCACHED_REGION (2 * 1024 * 1024) macro
28 # define DMA_UNCACHED_REGION (1024 * 1024) macro
30 # define DMA_UNCACHED_REGION (512 * 1024) macro
32 # define DMA_UNCACHED_REGION (256 * 1024) macro
34 # define DMA_UNCACHED_REGION (128 * 1024) macro
36 # define DMA_UNCACHED_REGION (0) macro
Dcacheflush.h102 if (addr < (_ramend - DMA_UNCACHED_REGION)) in bfin_addr_dcacheable()
/linux-4.1.27/arch/blackfin/kernel/cplb-nompu/
Dcplbinit.c133 if ((DMA_UNCACHED_REGION >= 1 * 1024 * 1024) || !DMA_UNCACHED_REGION || in generate_cplb_tables_all()
140 if (DMA_UNCACHED_REGION) { in generate_cplb_tables_all()
179 if (DMA_UNCACHED_REGION) { in generate_cplb_tables_all()
/linux-4.1.27/arch/blackfin/kernel/
Ddma-mapping.c35 memset((void *)dma_base, 0, DMA_UNCACHED_REGION); in dma_alloc_init()
53 dma_alloc_init(_ramend - DMA_UNCACHED_REGION, _ramend); in __alloc_dma_pages()
Dsetup.c565 if (DMA_UNCACHED_REGION > (_ramend - _ramstart)) { in memory_setup()
570 max_mem = memory_end = _ramend - DMA_UNCACHED_REGION; in memory_setup()
686 #if DMA_UNCACHED_REGION > 0 in memory_setup()
701 #if DMA_UNCACHED_REGION > 0 in memory_setup()
702 , (void *)(_ramend - DMA_UNCACHED_REGION), (void *)(_ramend) in memory_setup()
/linux-4.1.27/arch/blackfin/mm/
Dinit.c102 snprintf(buf, sizeof(buf) - 1, "%uK DMA", DMA_UNCACHED_REGION >> 10); in mem_init()
/linux-4.1.27/arch/blackfin/kernel/cplb-mpu/
Dcplbmgr.c184 if (addr >= _ramend - DMA_UNCACHED_REGION && addr < _ramend) in icplb_miss()