Home
last modified time | relevance | path

Searched refs:physaddr (Results 1 – 23 of 23) 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.h147 static inline void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap() argument
149 return (void *) physaddr; in __ioremap()
151 static inline void *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument
153 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap()
155 static inline void *ioremap_nocache(unsigned long physaddr, unsigned long size) in ioremap_nocache() argument
157 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap_nocache()
159 static inline void *ioremap_writethrough(unsigned long physaddr, unsigned long size) in ioremap_writethrough() argument
161 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_writethrough()
163 static inline void *ioremap_fullcache(unsigned long physaddr, unsigned long size) in ioremap_fullcache() argument
165 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in ioremap_fullcache()
Dio_mm.h460 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument
462 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap()
464 static inline void __iomem *ioremap_nocache(unsigned long physaddr, unsigned long size) in ioremap_nocache() argument
466 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap_nocache()
468 static inline void __iomem *ioremap_writethrough(unsigned long physaddr, in ioremap_writethrough() argument
471 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_writethrough()
473 static inline void __iomem *ioremap_fullcache(unsigned long physaddr, in ioremap_fullcache() argument
476 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/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/h8300/mm/
Dkmap.c30 void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap() argument
32 return (void *)(physaddr + VIRT_OFFSET); in __ioremap()
/arch/tile/include/asm/
Dio.h50 #define ioremap(physaddr, size) ((void __iomem *)(unsigned long)(physaddr)) argument
54 #define ioremap_nocache(physaddr, size) ioremap(physaddr, size) argument
55 #define ioremap_wc(physaddr, size) ioremap(physaddr, size) argument
56 #define ioremap_writethrough(physaddr, size) ioremap(physaddr, size) argument
57 #define ioremap_fullcache(physaddr, size) ioremap(physaddr, size) argument
/arch/h8300/include/asm/
Dio.h245 extern void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag);
248 static inline void *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument
250 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap()
252 static inline void *ioremap_nocache(unsigned long physaddr, unsigned long size) in ioremap_nocache() argument
254 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap_nocache()
256 static inline void *ioremap_writethrough(unsigned long physaddr, unsigned long size) in ioremap_writethrough() argument
258 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_writethrough()
260 static inline void *ioremap_fullcache(unsigned long physaddr, unsigned long size) in ioremap_fullcache() argument
262 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in ioremap_fullcache()
/arch/frv/include/asm/
Dio.h253 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag);
255 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument
257 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap()
260 static inline void __iomem *ioremap_nocache(unsigned long physaddr, unsigned long size) in ioremap_nocache() argument
262 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap_nocache()
265 static inline void __iomem *ioremap_writethrough(unsigned long physaddr, unsigned long size) in ioremap_writethrough() argument
267 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_writethrough()
270 static inline void __iomem *ioremap_fullcache(unsigned long physaddr, unsigned long size) in ioremap_fullcache() argument
272 return __ioremap(physaddr, size, IOMAP_FULL_CACHING); in ioremap_fullcache()
/arch/arm/include/asm/
Dmemory.h76 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) argument
119 #define XIP_VIRT_ADDR(physaddr) (physaddr) argument
/arch/x86/kernel/
Dhead64.c55 unsigned long physaddr = address - __PAGE_OFFSET; in early_make_pgtable() local
62 if (physaddr >= MAXMEM || read_cr3() != __pa(early_level4_pgt)) in early_make_pgtable()
103 pmd = (physaddr & PMD_MASK) + early_pmd_flags; in early_make_pgtable()
/arch/microblaze/include/asm/
Dio.h207 #define ioremap(physaddr, size) ((void __iomem *)(unsigned long)(physaddr)) argument
209 #define ioremap_nocache(physaddr, size) ioremap(physaddr, size) argument
/arch/powerpc/include/asm/
Dcacheflush.h48 extern void __flush_dcache_icache_phys(unsigned long physaddr);
/arch/x86/mm/
DMakefile2 pat.o pgtable.o physaddr.o gup.o setup_nx.o
/arch/arc/include/asm/
Dio.h18 extern void __iomem *ioremap(unsigned long physaddr, unsigned long size);
/arch/mips/kernel/
Dhead.S53 mtc0 t0, CP0_ENTRYLO0 # physaddr, VG, cach exlwr
56 mtc0 t0, CP0_ENTRYLO1 # physaddr, DVG, cach exlwr
/arch/parisc/kernel/
Dcache.c268 unsigned long physaddr) in __flush_cache_page() argument
271 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page()
273 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page()
/arch/sparc/kernel/
Dtraps_64.c926 static void cheetah_flush_ecache_line(unsigned long physaddr) in cheetah_flush_ecache_line() argument
930 physaddr &= ~(8UL - 1UL); in cheetah_flush_ecache_line()
931 physaddr = (ecache_flush_physbase + in cheetah_flush_ecache_line()
932 (physaddr & ((ecache_flush_size>>1UL) - 1UL))); in cheetah_flush_ecache_line()
933 alias = physaddr + (ecache_flush_size >> 1UL); in cheetah_flush_ecache_line()
938 : "r" (physaddr), "r" (alias), in cheetah_flush_ecache_line()
1363 static int cheetah_fix_ce(unsigned long physaddr) in cheetah_fix_ce() argument
1386 physaddr &= ~(8UL - 1UL); in cheetah_fix_ce()
1388 (physaddr & ((ecache_flush_size >> 1) - 1))); in cheetah_fix_ce()
1398 "r" (physaddr), "i" (ASI_PHYS_USE_EC)); in cheetah_fix_ce()
[all …]
Dhead_64.S281 ldx [%sp + 2047 + 128 + 0x48], %l2 ! physaddr high
283 ldx [%sp + 2047 + 128 + 0x50], %l3 ! physaddr low
/arch/sparc/mm/
Dsrmmu.c475 static inline void srmmu_mapioaddr(unsigned long physaddr, in srmmu_mapioaddr() argument
483 physaddr &= PAGE_MASK; in srmmu_mapioaddr()
487 tmp = (physaddr >> 4) | SRMMU_ET_PTE; in srmmu_mapioaddr()