Home
last modified time | relevance | path

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

/arch/m68k/include/asm/
Dnubus.h18 static inline void *nubus_remap_nocache_ser(unsigned long physaddr, in nubus_remap_nocache_ser() argument
21 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in nubus_remap_nocache_ser()
24 static inline void *nubus_remap_nocache_nonser(unsigned long physaddr, in nubus_remap_nocache_nonser() argument
27 return __ioremap(physaddr, size, IOMAP_NOCACHE_NONSER); in nubus_remap_nocache_nonser()
30 static inline void *nbus_remap_writethrough(unsigned long physaddr, in nbus_remap_writethrough() argument
33 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in nbus_remap_writethrough()
36 static inline void *nubus_remap_fullcache(unsigned long physaddr, in nubus_remap_fullcache() argument
39 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in nubus_remap_fullcache()
Dzorro.h18 static inline void __iomem *z_remap_nocache_ser(unsigned long physaddr, in z_remap_nocache_ser() argument
21 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in z_remap_nocache_ser()
24 static inline void __iomem *z_remap_nocache_nonser(unsigned long physaddr, in z_remap_nocache_nonser() argument
27 return __ioremap(physaddr, size, IOMAP_NOCACHE_NONSER); in z_remap_nocache_nonser()
30 static inline void __iomem *z_remap_writethrough(unsigned long physaddr, in z_remap_writethrough() argument
33 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in z_remap_writethrough()
35 static inline void __iomem *z_remap_fullcache(unsigned long physaddr, in z_remap_fullcache() argument
38 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in z_remap_fullcache()
Dio_no.h146 static inline void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap() argument
148 return (void *) physaddr; in __ioremap()
150 static inline void *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument
152 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap()
154 static inline void *ioremap_nocache(unsigned long physaddr, unsigned long size) in ioremap_nocache() argument
156 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap_nocache()
158 static inline void *ioremap_wt(unsigned long physaddr, unsigned long size) in ioremap_wt() argument
160 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_wt()
162 static inline void *ioremap_fullcache(unsigned long physaddr, unsigned long size) in ioremap_fullcache() argument
164 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in ioremap_fullcache()
Dio_mm.h463 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument
465 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap()
467 static inline void __iomem *ioremap_nocache(unsigned long physaddr, unsigned long size) in ioremap_nocache() argument
469 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap_nocache()
472 static inline void __iomem *ioremap_wt(unsigned long physaddr, in ioremap_wt() argument
475 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_wt()
477 static inline void __iomem *ioremap_fullcache(unsigned long physaddr, in ioremap_fullcache() argument
480 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in ioremap_fullcache()
Draw_io.h24 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size,
/arch/m68k/mm/
Dkmap.c105 void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap() argument
117 if (!size || physaddr > (unsigned long)(-size)) in __ioremap()
122 if ((physaddr >= 0x40000000) && (physaddr + size < 0x60000000) in __ioremap()
124 return (void __iomem *)physaddr; in __ioremap()
129 printk("ioremap: 0x%lx,0x%lx(%d) - ", physaddr, size, cacheflag); in __ioremap()
134 offset = physaddr & (IO_SIZE - 1); in __ioremap()
135 physaddr &= -IO_SIZE; in __ioremap()
148 printk("0x%lx,0x%lx,0x%lx", physaddr, virtaddr, retaddr); in __ioremap()
155 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | in __ioremap()
159 physaddr |= _PAGE_CACHE040; in __ioremap()
[all …]
Dmotorola.c111 unsigned long physaddr, virtaddr, size; in map_node() local
117 physaddr = m68k_memory[node].addr; in map_node()
118 virtaddr = (unsigned long)phys_to_virt(physaddr); in map_node()
119 physaddr |= m68k_supervisor_cachemode | in map_node()
122 physaddr |= _PAGE_GLOBAL040; in map_node()
127 printk ("\npa=%#lx va=%#lx ", physaddr & PAGE_MASK, in map_node()
137 pgd_val(*pgd_dir) = physaddr; in map_node()
140 physaddr += ROOTTREESIZE; in map_node()
158 pmd_dir->pmd[(virtaddr/PTRTREESIZE) & 15] = physaddr; in map_node()
159 physaddr += PTRTREESIZE; in map_node()
[all …]
/arch/nios2/include/asm/
Dio.h28 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/frv/mm/
Dkmap.c32 void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap() argument
34 return (void __iomem *)physaddr; in __ioremap()
/arch/tile/include/asm/
Dio.h51 #define ioremap(physaddr, size) ((void __iomem *)(unsigned long)(physaddr)) argument
55 #define ioremap_nocache(physaddr, size) ioremap(physaddr, size) argument
56 #define ioremap_wc(physaddr, size) ioremap(physaddr, size) argument
57 #define ioremap_wt(physaddr, size) ioremap(physaddr, size) argument
58 #define ioremap_uc(physaddr, size) ioremap(physaddr, size) argument
59 #define ioremap_fullcache(physaddr, size) ioremap(physaddr, size) argument
/arch/frv/include/asm/
Dio.h269 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag);
271 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument
273 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap()
276 static inline void __iomem *ioremap_nocache(unsigned long physaddr, unsigned long size) in ioremap_nocache() argument
278 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap_nocache()
281 static inline void __iomem *ioremap_wt(unsigned long physaddr, unsigned long size) in ioremap_wt() argument
283 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_wt()
286 static inline void __iomem *ioremap_fullcache(unsigned long physaddr, unsigned long size) in ioremap_fullcache() argument
288 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in ioremap_fullcache()
/arch/arm/include/asm/
Dmemory.h77 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) argument
110 #define XIP_VIRT_ADDR(physaddr) (physaddr) argument
/arch/nios2/boot/compressed/
Dconsole.c23 static void *my_ioremap(unsigned long physaddr) in my_ioremap() argument
25 return (void *)(physaddr | CONFIG_NIOS2_IO_REGION_BASE); in my_ioremap()
/arch/x86/kernel/
Dhead64.c52 unsigned long physaddr = address - __PAGE_OFFSET; in early_make_pgtable() local
58 if (physaddr >= MAXMEM || read_cr3() != __pa_nodebug(early_level4_pgt)) in early_make_pgtable()
97 pmd = (physaddr & PMD_MASK) + early_pmd_flags; in early_make_pgtable()
/arch/powerpc/include/asm/
Dcacheflush.h41 extern void __flush_dcache_icache_phys(unsigned long physaddr);
43 static inline void __flush_dcache_icache_phys(unsigned long physaddr) in __flush_dcache_icache_phys() argument
/arch/mips/include/asm/mach-ip27/
Dkernel-entry-init.h57 mtc0 t0, CP0_ENTRYLO0 # physaddr, VG, cach exlwr
60 mtc0 t0, CP0_ENTRYLO1 # physaddr, DVG, cach exlwr
/arch/x86/mm/
DMakefile5 pat.o pgtable.o physaddr.o gup.o setup_nx.o tlb.o
/arch/arm/boot/dts/
Defm32gg-dk3750.dts16 …c ignore_loglevel ihash_entries=64 dhash_entries=64 earlyprintk uclinux.physaddr=0x8c400000 root=/…
/arch/parisc/kernel/
Dcache.c295 unsigned long physaddr) in __flush_cache_page() argument
298 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page()
300 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page()
/arch/sparc/kernel/
Dtraps_64.c935 static void cheetah_flush_ecache_line(unsigned long physaddr) in cheetah_flush_ecache_line() argument
939 physaddr &= ~(8UL - 1UL); in cheetah_flush_ecache_line()
940 physaddr = (ecache_flush_physbase + in cheetah_flush_ecache_line()
941 (physaddr & ((ecache_flush_size>>1UL) - 1UL))); in cheetah_flush_ecache_line()
942 alias = physaddr + (ecache_flush_size >> 1UL); in cheetah_flush_ecache_line()
947 : "r" (physaddr), "r" (alias), in cheetah_flush_ecache_line()
1372 static int cheetah_fix_ce(unsigned long physaddr) in cheetah_fix_ce() argument
1395 physaddr &= ~(8UL - 1UL); in cheetah_fix_ce()
1397 (physaddr & ((ecache_flush_size >> 1) - 1))); in cheetah_fix_ce()
1407 "r" (physaddr), "i" (ASI_PHYS_USE_EC)); in cheetah_fix_ce()
[all …]
Dhead_64.S284 ldx [%sp + 2047 + 128 + 0x48], %l2 ! physaddr high
286 ldx [%sp + 2047 + 128 + 0x50], %l3 ! physaddr low
/arch/sparc/mm/
Dsrmmu.c488 static inline void srmmu_mapioaddr(unsigned long physaddr, in srmmu_mapioaddr() argument
496 physaddr &= PAGE_MASK; in srmmu_mapioaddr()
500 tmp = (physaddr >> 4) | SRMMU_ET_PTE; in srmmu_mapioaddr()