Home
last modified time | relevance | path

Searched refs:mem_map (Results 1 – 25 of 35) sorted by relevance

12

/arch/mips/mti-malta/
Dmalta-dtshim.c34 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/
Dpage_no.h26 #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/
Dpage.h54 #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)
Dpgtable.h219 #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/
Dpage.h77 extern struct page *mem_map;
85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
/arch/mn10300/include/asm/
Dpage.h109 #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/
Dvirtconvert.h37 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
/arch/tile/gxio/
Diorpc_trio.c224 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/
Dinit.c25 BUG_ON(!mem_map); in mem_init()
/arch/tile/kernel/
Dpci_gx.c1484 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/
Dpgtable.h207 #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/
Dinit.c102 BUG_ON(!mem_map); in mem_init()
/arch/frv/mm/
Dinit.c128 free_highmem_page(&mem_map[pfn]); in mem_init()
/arch/powerpc/platforms/embedded6xx/
Dmpc10x.h152 unsigned long mpc10x_get_mem_size(uint mem_map);
/arch/openrisc/include/asm/
Dpage.h83 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
Dpgtable.h359 #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/
Dpgtable-2level.h59 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIFT) - PFN_BASE))
/arch/tile/include/gxio/
Diorpc_trio.h87 unsigned int mac, unsigned int mem_map,
/arch/sh/include/asm/
Dpgtable_64.h249 #define pte_page(x) (mem_map + pte_pagenr(x))
283 set_pte(&__pte, __pte((((page)-mem_map) << PAGE_SHIFT) | \
/arch/openrisc/mm/
Dinit.c207 BUG_ON(!mem_map); in mem_init()
/arch/ia64/mm/
Dcontig.c271 printk("Virtual mem_map starts at 0x%p\n", mem_map); in paging_init()
/arch/cris/arch-v32/mm/
Dinit.c162 mem_map = contig_page_data.node_mem_map; in paging_init()
/arch/mips/include/asm/mach-loongson64/
Dboot_param.h22 struct mem_map { struct
/arch/microblaze/include/asm/
Dpgtable.h306 #define pte_page(x) (mem_map + (unsigned long) \
378 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
/arch/unicore32/mm/
Dinit.c339 max_mapnr = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map; in mem_init()

12