/arch/x86/kernel/ |
D | head64.c | 66 static void __head *fixup_pointer(void *ptr, unsigned long physaddr) in fixup_pointer() argument 68 return ptr - (void *)_text + (void *)physaddr; in fixup_pointer() 71 static unsigned long __head *fixup_long(void *ptr, unsigned long physaddr) in fixup_long() argument 73 return fixup_pointer(ptr, physaddr); in fixup_long() 77 static unsigned int __head *fixup_int(void *ptr, unsigned long physaddr) in fixup_int() argument 79 return fixup_pointer(ptr, physaddr); in fixup_int() 82 static bool __head check_la57_support(unsigned long physaddr) in check_la57_support() argument 91 *fixup_int(&__pgtable_l5_enabled, physaddr) = 1; in check_la57_support() 92 *fixup_int(&pgdir_shift, physaddr) = 48; in check_la57_support() 93 *fixup_int(&ptrs_per_p4d, physaddr) = 512; in check_la57_support() [all …]
|
/arch/m68k/mm/ |
D | kmap.c | 107 void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap() argument 119 if (!size || physaddr > (unsigned long)(-size)) in __ioremap() 124 if ((physaddr >= 0x40000000) && (physaddr + size < 0x60000000) in __ioremap() 126 return (void __iomem *)physaddr; in __ioremap() 130 if (__cf_internalio(physaddr)) in __ioremap() 131 return (void __iomem *) physaddr; in __ioremap() 135 printk("ioremap: 0x%lx,0x%lx(%d) - ", physaddr, size, cacheflag); in __ioremap() 140 offset = physaddr & (IO_SIZE - 1); in __ioremap() 141 physaddr &= -IO_SIZE; in __ioremap() 154 printk("0x%lx,0x%lx,0x%lx", physaddr, virtaddr, retaddr); in __ioremap() [all …]
|
D | motorola.c | 119 unsigned long physaddr, virtaddr, size; in map_node() local 125 physaddr = m68k_memory[node].addr; in map_node() 126 virtaddr = (unsigned long)phys_to_virt(physaddr); in map_node() 127 physaddr |= m68k_supervisor_cachemode | in map_node() 130 physaddr |= _PAGE_GLOBAL040; in map_node() 135 printk ("\npa=%#lx va=%#lx ", physaddr & PAGE_MASK, in map_node() 145 pgd_val(*pgd_dir) = physaddr; in map_node() 148 physaddr += ROOTTREESIZE; in map_node() 166 pmd_dir->pmd[(virtaddr/PTRTREESIZE) & 15] = physaddr; in map_node() 167 physaddr += PTRTREESIZE; in map_node() [all …]
|
/arch/m68k/include/asm/ |
D | nubus.h | 20 static inline void *nubus_remap_nocache_ser(unsigned long physaddr, in nubus_remap_nocache_ser() argument 23 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in nubus_remap_nocache_ser() 26 static inline void *nubus_remap_nocache_nonser(unsigned long physaddr, in nubus_remap_nocache_nonser() argument 29 return __ioremap(physaddr, size, IOMAP_NOCACHE_NONSER); in nubus_remap_nocache_nonser() 32 static inline void *nbus_remap_writethrough(unsigned long physaddr, in nbus_remap_writethrough() argument 35 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in nbus_remap_writethrough() 38 static inline void *nubus_remap_fullcache(unsigned long physaddr, in nubus_remap_fullcache() argument 41 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in nubus_remap_fullcache()
|
D | zorro.h | 20 static inline void __iomem *z_remap_nocache_ser(unsigned long physaddr, in z_remap_nocache_ser() argument 23 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in z_remap_nocache_ser() 26 static inline void __iomem *z_remap_nocache_nonser(unsigned long physaddr, in z_remap_nocache_nonser() argument 29 return __ioremap(physaddr, size, IOMAP_NOCACHE_NONSER); in z_remap_nocache_nonser() 32 static inline void __iomem *z_remap_writethrough(unsigned long physaddr, in z_remap_writethrough() argument 35 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in z_remap_writethrough() 37 static inline void __iomem *z_remap_fullcache(unsigned long physaddr, in z_remap_fullcache() argument 40 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in z_remap_fullcache()
|
D | kmap.h | 19 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, 26 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument 28 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap() 34 static inline void __iomem *ioremap_wt(unsigned long physaddr, in ioremap_wt() argument 37 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_wt()
|
/arch/nios2/include/asm/ |
D | io.h | 28 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, 32 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument 34 return __ioremap(physaddr, size, 0); in ioremap() 37 static inline void __iomem *ioremap_nocache(unsigned long physaddr, in ioremap_nocache() argument 40 return __ioremap(physaddr, size, 0); in ioremap_nocache()
|
/arch/arm/include/asm/ |
D | memory.h | 68 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) argument 113 #define XIP_VIRT_ADDR(physaddr) (physaddr) argument
|
/arch/nios2/boot/compressed/ |
D | console.c | 10 static void *my_ioremap(unsigned long physaddr) in my_ioremap() argument 12 return (void *)(physaddr | CONFIG_NIOS2_IO_REGION_BASE); in my_ioremap()
|
/arch/mips/include/asm/mach-ip27/ |
D | kernel-entry-init.h | 57 mtc0 t0, CP0_ENTRYLO0 # physaddr, VG, cach exlwr 60 mtc0 t0, CP0_ENTRYLO1 # physaddr, DVG, cach exlwr
|
/arch/parisc/kernel/ |
D | cache.c | 305 unsigned long physaddr) in __flush_cache_page() argument 308 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page() 310 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page() 316 unsigned long physaddr) in __purge_cache_page() argument 319 purge_dcache_page_asm(physaddr, vmaddr); in __purge_cache_page() 321 flush_icache_page_asm(physaddr, vmaddr); in __purge_cache_page()
|
/arch/arm64/mm/ |
D | Makefile | 10 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
/arch/x86/include/asm/ |
D | setup.h | 49 extern unsigned long __startup_64(unsigned long physaddr, struct boot_params *bp);
|
/arch/arm/boot/dts/ |
D | efm32gg-dk3750.dts | 17 …c ignore_loglevel ihash_entries=64 dhash_entries=64 earlyprintk uclinux.physaddr=0x8c400000 root=/…
|
/arch/x86/mm/ |
D | Makefile | 16 pat.o pgtable.o physaddr.o setup_nx.o tlb.o cpu_entry_area.o
|
/arch/powerpc/mm/ |
D | mem.c | 434 static void flush_dcache_icache_phys(unsigned long physaddr) in flush_dcache_icache_phys() argument 438 unsigned long addr = physaddr & PAGE_MASK; in flush_dcache_icache_phys()
|
/arch/sparc/kernel/ |
D | traps_64.c | 965 static void cheetah_flush_ecache_line(unsigned long physaddr) in cheetah_flush_ecache_line() argument 969 physaddr &= ~(8UL - 1UL); in cheetah_flush_ecache_line() 970 physaddr = (ecache_flush_physbase + in cheetah_flush_ecache_line() 971 (physaddr & ((ecache_flush_size>>1UL) - 1UL))); in cheetah_flush_ecache_line() 972 alias = physaddr + (ecache_flush_size >> 1UL); in cheetah_flush_ecache_line() 977 : "r" (physaddr), "r" (alias), in cheetah_flush_ecache_line() 1402 static int cheetah_fix_ce(unsigned long physaddr) in cheetah_fix_ce() argument 1425 physaddr &= ~(8UL - 1UL); in cheetah_fix_ce() 1427 (physaddr & ((ecache_flush_size >> 1) - 1))); in cheetah_fix_ce() 1437 "r" (physaddr), "i" (ASI_PHYS_USE_EC)); in cheetah_fix_ce() [all …]
|
D | head_64.S | 286 ldx [%sp + 2047 + 128 + 0x48], %l2 ! physaddr high 288 ldx [%sp + 2047 + 128 + 0x50], %l3 ! physaddr low
|
/arch/arm/mm/ |
D | Makefile | 19 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
/arch/sparc/mm/ |
D | srmmu.c | 514 static inline void srmmu_mapioaddr(unsigned long physaddr, in srmmu_mapioaddr() argument 522 physaddr &= PAGE_MASK; in srmmu_mapioaddr() 526 tmp = (physaddr >> 4) | SRMMU_ET_PTE; in srmmu_mapioaddr()
|