/openbmc/linux/arch/x86/kernel/ |
H A D | head64.c | 95 return fixup_pointer(ptr, physaddr); in fixup_long() 101 return fixup_pointer(ptr, physaddr); in fixup_int() 114 *fixup_int(&pgdir_shift, physaddr) = 48; in check_la57_support() 115 *fixup_int(&ptrs_per_p4d, physaddr) = 512; in check_la57_support() 192 la57 = check_la57_support(physaddr); in __startup_64() 195 if (physaddr >> MAX_PHYSMEM_BITS) in __startup_64() 249 physaddr); in __startup_64() 255 i = physaddr >> P4D_SHIFT; in __startup_64() 264 i = physaddr >> PUD_SHIFT; in __startup_64() 273 pmd_entry += physaddr; in __startup_64() [all …]
|
/openbmc/linux/arch/m68k/mm/ |
H A D | kmap.c | 177 if ((physaddr >= 0x40000000) && (physaddr + size < 0x60000000) in __ioremap() 189 if (__cf_internalio(physaddr)) in __ioremap() 200 physaddr &= -IO_SIZE; in __ioremap() 224 physaddr |= _PAGE_CACHE040; in __ioremap() 228 physaddr |= _PAGE_NOCACHE_S; in __ioremap() 231 physaddr |= _PAGE_NOCACHE; in __ioremap() 234 physaddr |= _PAGE_CACHE040W; in __ioremap() 244 physaddr |= _PAGE_NOCACHE030; in __ioremap() 268 pmd_val(*pmd_dir) = physaddr; in __ioremap() 269 physaddr += PMD_SIZE; in __ioremap() [all …]
|
H A D | motorola.c | 291 unsigned long physaddr, virtaddr, size; in map_node() local 299 physaddr = m68k_memory[node].addr; in map_node() 304 physaddr |= _PAGE_GLOBAL040; in map_node() 319 pgd_val(*pgd_dir) = physaddr; in map_node() 322 physaddr += PGDIR_SIZE; in map_node() 342 pmd_val(*pmd_dir) = physaddr; in map_node() 343 physaddr += PMD_SIZE; in map_node() 353 physaddr += PAGE_SIZE; in map_node() 355 pte_val(*pte_dir++) = physaddr; in map_node() 371 pte_val(*pte_dir) = physaddr; in map_node() [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A 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()
|
H A 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()
|
H A D | kmap.h | 17 extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, 23 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() argument 25 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); in ioremap() 30 static inline void __iomem *ioremap_wt(unsigned long physaddr, in ioremap_wt() argument 33 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_wt()
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | uclinux.c | 39 static unsigned long physaddr = -1; variable 40 module_param(physaddr, ulong, S_IRUGO); 74 if (physaddr == -1) in uclinux_mtd_init() 77 mapp->phys = physaddr; in uclinux_mtd_init()
|
/openbmc/u-boot/arch/microblaze/include/asm/ |
H A D | io.h | 137 #define ioremap_nocache(physaddr, size) (physaddr) argument 138 #define ioremap_writethrough(physaddr, size) (physaddr) argument 139 #define ioremap_fullcache(physaddr, size) (physaddr) argument
|
/openbmc/linux/drivers/firmware/google/ |
H A D | vpd.c | 183 phys_addr_t physaddr, size_t size) in vpd_section_init() argument 187 sec->baseaddr = memremap(physaddr, size, MEMREMAP_WB); in vpd_section_init() 247 static int vpd_sections_init(phys_addr_t physaddr) in vpd_sections_init() argument 253 temp = memremap(physaddr, sizeof(struct vpd_cbmem), MEMREMAP_WB); in vpd_sections_init() 265 physaddr + sizeof(struct vpd_cbmem), in vpd_sections_init() 273 physaddr + sizeof(struct vpd_cbmem) + in vpd_sections_init()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | cache.c | 328 unsigned long physaddr) in __flush_cache_page() argument 345 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page() 347 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page() 640 unsigned long physaddr = get_upa(mm, vmaddr); in flush_cache_page_if_present() 642 if (physaddr) in flush_cache_page_if_present() 643 __flush_cache_page(vma, vmaddr, PAGE_ALIGN_DOWN(physaddr)); in flush_cache_page_if_present() 827 unsigned long addr, physaddr; in flush_cache_vmap() local 851 physaddr = vm->phys_addr; in flush_cache_vmap() 854 flush_dcache_page_asm(physaddr, start); in flush_cache_vmap() 855 flush_icache_page_asm(physaddr, start); in flush_cache_vmap() [all …]
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | cacheflush.c | 84 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()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | memory.h | 84 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) argument 129 #define XIP_VIRT_ADDR(physaddr) (physaddr) argument
|
/openbmc/linux/drivers/scsi/ |
H A D | sgiwd93.c | 75 dma_addr_t physaddr; in fill_hpc_entries() local 79 physaddr = dma_map_single(hd->dev, addr, len, DMA_DIR(din)); in fill_hpc_entries() 80 scsi_pointer->dma_handle = physaddr; in fill_hpc_entries() 89 hcp->desc.pbuf = physaddr; in fill_hpc_entries() 93 physaddr += count; in fill_hpc_entries()
|
/openbmc/linux/arch/nios2/boot/compressed/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | msgbuf.c | 282 dma_addr_t physaddr; member 357 array[*idx].physaddr = *physaddr; in brcmf_msgbuf_alloc_pktid() 706 dma_addr_t physaddr; in brcmf_msgbuf_txflow() local 728 &physaddr, &pktid)) { in brcmf_msgbuf_txflow() 753 address = (u64)physaddr; in brcmf_msgbuf_txflow() 911 dma_addr_t physaddr; in brcmf_msgbuf_rxbuf_data_post() local 941 &physaddr, &pktid)) { in brcmf_msgbuf_rxbuf_data_post() 949 address = (u64)physaddr; in brcmf_msgbuf_rxbuf_data_post() 964 address = (u64)physaddr; in brcmf_msgbuf_rxbuf_data_post() 1019 dma_addr_t physaddr; in brcmf_msgbuf_rxbuf_ctrl_post() local [all …]
|
/openbmc/linux/arch/mips/include/asm/mach-ip27/ |
H A D | kernel-entry-init.h | 47 mtc0 t0, CP0_ENTRYLO0 # physaddr, VG, cach exlwr 50 mtc0 t0, CP0_ENTRYLO1 # physaddr, DVG, cach exlwr
|
/openbmc/qemu/target/mips/sysemu/ |
H A D | meson.build | 7 'physaddr.c',
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | usb.c | 554 unsigned long lbaddr, physaddr; in omap_1510_local_bus_init() local 562 physaddr = tlb * 0x00100000 + PHYS_OFFSET; in omap_1510_local_bus_init() 566 omap_writel(physaddr >> 16, OMAP1510_LB_MMU_RAM_H); in omap_1510_local_bus_init() 567 omap_writel((physaddr & 0x0000fc00) | 0x300, OMAP1510_LB_MMU_RAM_L); in omap_1510_local_bus_init()
|
/openbmc/qemu/monitor/ |
H A D | hmp-cmds-target.c | 361 uint64_t physaddr; in hmp_gpa2hpa() local 369 physaddr = vtop(ptr, &local_err); in hmp_gpa2hpa() 375 addr, mr->name, (uint64_t) physaddr); in hmp_gpa2hpa()
|
/openbmc/linux/arch/nios2/include/asm/ |
H A D | io.h | 28 void __iomem *ioremap(unsigned long physaddr, unsigned long size);
|
/openbmc/linux/arch/arm64/mm/ |
H A D | Makefile | 11 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
/openbmc/linux/arch/riscv/mm/ |
H A D | Makefile | 37 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | setup.h | 52 extern unsigned long __startup_64(unsigned long physaddr, struct boot_params *bp);
|
/openbmc/qemu/target/alpha/ |
H A D | mem_helper.c | 64 void alpha_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr, in alpha_cpu_do_transaction_failed() argument
|
/openbmc/qemu/target/mips/tcg/ |
H A D | tcg-internal.h | 57 void mips_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr,
|