/arch/mips/mti-malta/ |
D | malta-dtshim.c | 34 enum mem_map { enum 75 enum mem_map map) in gen_fdt_mem_array() 141 enum mem_map mem_map; in append_memory() local 199 mem_map = config & ROCIT_CONFIG_GEN1_MEMMAP_MASK; in append_memory() 200 mem_map >>= ROCIT_CONFIG_GEN1_MEMMAP_SHIFT; in append_memory() 203 mem_map = MEM_MAP_V1; in append_memory() 205 if (mem_map > MEM_MAP_V2) in append_memory() 207 (unsigned int)mem_map); in append_memory() 218 mem_entries = gen_fdt_mem_array(mem_array, physical_memsize, mem_map); in append_memory() 224 mem_entries = gen_fdt_mem_array(mem_array, memsize, mem_map); in append_memory()
|
/arch/m68k/include/asm/ |
D | page_no.h | 26 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) 27 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
|
/arch/cris/include/asm/ |
D | page.h | 54 #define virt_to_page(kaddr) (mem_map + (((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT)) 61 #define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
D | pgtable.h | 219 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) 220 #define pte_page(pte) (mem_map+pte_pagenr(pte))
|
/arch/nios2/include/asm/ |
D | page.h | 77 extern struct page *mem_map; 85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
/arch/mn10300/include/asm/ |
D | page.h | 109 #define pfn_to_page(pfn) (mem_map + ((pfn) - __pfn_disp)) 110 #define page_to_pfn(page) ((unsigned long)((page) - mem_map) + __pfn_disp)
|
/arch/frv/include/asm/ |
D | virtconvert.h | 37 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
|
/arch/tile/gxio/ |
D | iorpc_trio.c | 224 unsigned int mem_map; member 232 unsigned int mac, unsigned int mem_map, in gxio_trio_config_msi_intr() argument 244 params->mem_map = mem_map; in gxio_trio_config_msi_intr()
|
/arch/cris/mm/ |
D | init.c | 25 BUG_ON(!mem_map); in mem_init()
|
/arch/tile/kernel/ |
D | pci_gx.c | 1484 int mem_map; in arch_setup_msi_irq() local 1519 mem_map = gxio_trio_alloc_scatter_queues(trio_context, 1, 0, 0); in arch_setup_msi_irq() 1520 if (mem_map >= 0) { in arch_setup_msi_irq() 1526 mem_map += TRIO_NUM_MAP_MEM_REGIONS; in arch_setup_msi_irq() 1528 mem_map * MEM_MAP_INTR_REGION_SIZE; in arch_setup_msi_irq() 1535 mem_map = gxio_trio_alloc_memory_maps(trio_context, 1, 0, 0); in arch_setup_msi_irq() 1536 if (mem_map < 0) { in arch_setup_msi_irq() 1544 mem_map * MEM_MAP_INTR_REGION_SIZE; in arch_setup_msi_irq() 1550 msg.data = mem_map; in arch_setup_msi_irq() 1562 mem_map, mem_map_base, mem_map_limit, in arch_setup_msi_irq()
|
/arch/alpha/include/asm/ |
D | pgtable.h | 207 #define page_to_pa(page) (((page) - mem_map) << PAGE_SHIFT) 240 #define pmd_page(pmd) (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32)) 241 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32))
|
/arch/mn10300/mm/ |
D | init.c | 102 BUG_ON(!mem_map); in mem_init()
|
/arch/frv/mm/ |
D | init.c | 128 free_highmem_page(&mem_map[pfn]); in mem_init()
|
/arch/powerpc/platforms/embedded6xx/ |
D | mpc10x.h | 152 unsigned long mpc10x_get_mem_size(uint mem_map);
|
/arch/openrisc/include/asm/ |
D | page.h | 83 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
|
D | pgtable.h | 359 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) 360 #define pte_page(pte) (mem_map+pte_pagenr(pte))
|
/arch/m32r/include/asm/ |
D | pgtable-2level.h | 59 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIFT) - PFN_BASE))
|
/arch/tile/include/gxio/ |
D | iorpc_trio.h | 87 unsigned int mac, unsigned int mem_map,
|
/arch/sh/include/asm/ |
D | pgtable_64.h | 249 #define pte_page(x) (mem_map + pte_pagenr(x)) 283 set_pte(&__pte, __pte((((page)-mem_map) << PAGE_SHIFT) | \
|
/arch/openrisc/mm/ |
D | init.c | 207 BUG_ON(!mem_map); in mem_init()
|
/arch/ia64/mm/ |
D | contig.c | 271 printk("Virtual mem_map starts at 0x%p\n", mem_map); in paging_init()
|
/arch/cris/arch-v32/mm/ |
D | init.c | 162 mem_map = contig_page_data.node_mem_map; in paging_init()
|
/arch/mips/include/asm/mach-loongson64/ |
D | boot_param.h | 22 struct mem_map { struct
|
/arch/microblaze/include/asm/ |
D | pgtable.h | 306 #define pte_page(x) (mem_map + (unsigned long) \ 378 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
|
/arch/unicore32/mm/ |
D | init.c | 339 max_mapnr = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map; in mem_init()
|