Home
last modified time | relevance | path

Searched refs:physaddr (Results 1 – 22 of 22) sorted by relevance

/arch/x86/kernel/
Dhead64.c88 static void __head *fixup_pointer(void *ptr, unsigned long physaddr) in fixup_pointer() argument
90 return ptr - (void *)_text + (void *)physaddr; in fixup_pointer()
93 static unsigned long __head *fixup_long(void *ptr, unsigned long physaddr) in fixup_long() argument
95 return fixup_pointer(ptr, physaddr); in fixup_long()
99 static unsigned int __head *fixup_int(void *ptr, unsigned long physaddr) in fixup_int() argument
101 return fixup_pointer(ptr, physaddr); in fixup_int()
104 static bool __head check_la57_support(unsigned long physaddr) in check_la57_support() argument
113 *fixup_int(&__pgtable_l5_enabled, physaddr) = 1; in check_la57_support()
114 *fixup_int(&pgdir_shift, physaddr) = 48; in check_la57_support()
115 *fixup_int(&ptrs_per_p4d, physaddr) = 512; in check_la57_support()
[all …]
/arch/m68k/mm/
Dkmap.c158 void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap() argument
172 if (!size || physaddr > (unsigned long)(-size)) in __ioremap()
177 if ((physaddr >= 0x40000000) && (physaddr + size < 0x60000000) in __ioremap()
179 return (void __iomem *)physaddr; in __ioremap()
183 if (__cf_internalio(physaddr)) in __ioremap()
184 return (void __iomem *) physaddr; in __ioremap()
188 printk("ioremap: 0x%lx,0x%lx(%d) - ", physaddr, size, cacheflag); in __ioremap()
193 offset = physaddr & (IO_SIZE - 1); in __ioremap()
194 physaddr &= -IO_SIZE; in __ioremap()
207 printk("0x%lx,0x%lx,0x%lx", physaddr, virtaddr, retaddr); in __ioremap()
[all …]
Dmotorola.c292 unsigned long physaddr, virtaddr, size; in map_node() local
300 physaddr = m68k_memory[node].addr; in map_node()
301 virtaddr = (unsigned long)phys_to_virt(physaddr); in map_node()
302 physaddr |= m68k_supervisor_cachemode | in map_node()
305 physaddr |= _PAGE_GLOBAL040; in map_node()
310 printk ("\npa=%#lx va=%#lx ", physaddr & PAGE_MASK, in map_node()
320 pgd_val(*pgd_dir) = physaddr; in map_node()
323 physaddr += PGDIR_SIZE; in map_node()
343 pmd_val(*pmd_dir) = physaddr; in map_node()
344 physaddr += PMD_SIZE; in map_node()
[all …]
/arch/m68k/include/asm/
Dnubus.h20 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()
Dzorro.h20 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()
Dkmap.h19 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size,
25 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument
27 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap()
32 static inline void __iomem *ioremap_wt(unsigned long physaddr, in ioremap_wt() argument
35 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_wt()
/arch/powerpc/mm/
Dcacheflush.c84 static void flush_dcache_icache_phys(unsigned long physaddr) in flush_dcache_icache_phys() argument
88 unsigned long addr = physaddr & PAGE_MASK; in flush_dcache_icache_phys()
119 static void flush_dcache_icache_phys(unsigned long physaddr) in NOKPROBE_SYMBOL()
/arch/arm/include/asm/
Dmemory.h79 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) argument
124 #define XIP_VIRT_ADDR(physaddr) (physaddr) argument
/arch/nios2/boot/compressed/
Dconsole.c10 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/
Dkernel-entry-init.h47 mtc0 t0, CP0_ENTRYLO0 # physaddr, VG, cach exlwr
50 mtc0 t0, CP0_ENTRYLO1 # physaddr, DVG, cach exlwr
/arch/parisc/kernel/
Dcache.c301 unsigned long physaddr) in __flush_cache_page() argument
304 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page()
306 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page()
312 unsigned long physaddr) in __purge_cache_page() argument
315 purge_dcache_page_asm(physaddr, vmaddr); in __purge_cache_page()
317 flush_icache_page_asm(physaddr, vmaddr); in __purge_cache_page()
/arch/nios2/include/asm/
Dio.h28 void __iomem *ioremap(unsigned long physaddr, unsigned long size);
/arch/arm64/mm/
DMakefile10 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
/arch/riscv/mm/
DMakefile32 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
/arch/arm/mach-omap1/
Dusb.c574 unsigned long lbaddr, physaddr; in omap_1510_local_bus_init() local
582 physaddr = tlb * 0x00100000 + PHYS_OFFSET; in omap_1510_local_bus_init()
586 omap_writel(physaddr >> 16, OMAP1510_LB_MMU_RAM_H); in omap_1510_local_bus_init()
587 omap_writel((physaddr & 0x0000fc00) | 0x300, OMAP1510_LB_MMU_RAM_L); in omap_1510_local_bus_init()
/arch/x86/include/asm/
Dsetup.h51 extern unsigned long __startup_64(unsigned long physaddr, struct boot_params *bp);
/arch/mips/mm/
DMakefile48 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
/arch/x86/mm/
DMakefile20 pgtable.o physaddr.o setup_nx.o tlb.o cpu_entry_area.o maccess.o
/arch/sparc/kernel/
Dtraps_64.c964 static void cheetah_flush_ecache_line(unsigned long physaddr) in cheetah_flush_ecache_line() argument
968 physaddr &= ~(8UL - 1UL); in cheetah_flush_ecache_line()
969 physaddr = (ecache_flush_physbase + in cheetah_flush_ecache_line()
970 (physaddr & ((ecache_flush_size>>1UL) - 1UL))); in cheetah_flush_ecache_line()
971 alias = physaddr + (ecache_flush_size >> 1UL); in cheetah_flush_ecache_line()
976 : "r" (physaddr), "r" (alias), in cheetah_flush_ecache_line()
1401 static int cheetah_fix_ce(unsigned long physaddr) in cheetah_fix_ce() argument
1424 physaddr &= ~(8UL - 1UL); in cheetah_fix_ce()
1426 (physaddr & ((ecache_flush_size >> 1) - 1))); in cheetah_fix_ce()
1436 "r" (physaddr), "i" (ASI_PHYS_USE_EC)); in cheetah_fix_ce()
[all …]
Dhead_64.S286 ldx [%sp + 2047 + 128 + 0x48], %l2 ! physaddr high
288 ldx [%sp + 2047 + 128 + 0x50], %l3 ! physaddr low
/arch/arm/mm/
DMakefile21 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
/arch/sparc/mm/
Dsrmmu.c493 static inline void srmmu_mapioaddr(unsigned long physaddr, in srmmu_mapioaddr() argument
503 physaddr &= PAGE_MASK; in srmmu_mapioaddr()
509 tmp = (physaddr >> 4) | SRMMU_ET_PTE; in srmmu_mapioaddr()