Searched refs:dma_size (Results 1 – 7 of 7) sorted by relevance
/arch/c6x/mm/ |
D | dma-coherent.c | 34 static u32 dma_size; variable 82 if (!dma_size || !size) in dma_alloc_coherent() 107 if (!dma_size || !size) in dma_free_coherent() 131 dma_size = size; in coherent_mem_init() 134 dma_pages = dma_size >> PAGE_SHIFT; in coherent_mem_init() 135 if (dma_size & (PAGE_SIZE - 1)) in coherent_mem_init()
|
/arch/c6x/kernel/ |
D | setup.c | 69 static unsigned long dma_size __initdata; 239 dma_size = memparse(p, &p); in early_memdma() 323 if (dma_size) { in setup_arch() 325 dma_size = CACHE_REGION_END(dma_size); in setup_arch() 328 dma_start = memory_end - dma_size; in setup_arch() 334 if (memblock_is_region_memory(dma_start, dma_size)) in setup_arch() 335 memblock_reserve(dma_start, dma_size); in setup_arch() 396 if (dma_size && memblock_is_region_memory(dma_start, dma_size)) in setup_arch() 398 CACHE_REGION_START(dma_start + dma_size - 1)); in setup_arch() 401 coherent_mem_init(dma_start, dma_size); in setup_arch()
|
/arch/powerpc/platforms/cell/ |
D | beat_iommu.c | 60 u64 io_space_id, ioid, dma_base, dma_size, io_page_size; in celleb_init_direct_mapping() local 62 if (!find_dma_window(&io_space_id, &ioid, &dma_base, &dma_size, in celleb_init_direct_mapping() 68 for (lpar_addr = 0; lpar_addr < dma_size; lpar_addr += io_page_size) { in celleb_init_direct_mapping()
|
/arch/blackfin/kernel/ |
D | dma-mapping.c | 21 static unsigned long dma_size; variable 32 dma_size = PAGE_ALIGN(end) - PAGE_ALIGN(start); in dma_alloc_init() 33 dma_pages = dma_size >> PAGE_SHIFT; in dma_alloc_init()
|
D | bfin_dma.c | 518 u16 size, u16 dma_size) in _dma_out() argument 521 __dma_memcpy(addr, 0, buf, size, len, dma_size); in _dma_out() 525 u16 size, u16 dma_size) in _dma_in() argument 528 __dma_memcpy(buf, size, addr, 0, len, dma_size); in _dma_in()
|
/arch/arm/mm/ |
D | init.c | 220 unsigned long dma_size) in arm_adjust_dma_zone() argument 222 if (size[0] <= dma_size) in arm_adjust_dma_zone() 225 size[ZONE_NORMAL] = size[0] - dma_size; in arm_adjust_dma_zone() 226 size[ZONE_DMA] = dma_size; in arm_adjust_dma_zone()
|
/arch/cris/include/arch-v32/arch/hwregs/ |
D | ata_defs.h | 113 unsigned int dma_size : 1; member
|