/linux/arch/x86/kernel/ |
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() 150 la57 = check_la57_support(physaddr); in __startup_64() 153 if (physaddr >> MAX_PHYSMEM_BITS) in __startup_64() 210 physaddr); in __startup_64() 216 i = physaddr >> P4D_SHIFT; in __startup_64() 225 i = physaddr >> PUD_SHIFT; in __startup_64() 234 pmd_entry += physaddr; in __startup_64() [all …]
|
/linux/arch/m68k/mm/ |
A D | kmap.c | 177 if ((physaddr >= 0x40000000) && (physaddr + size < 0x60000000) in __ioremap() 183 if (__cf_internalio(physaddr)) in __ioremap() 194 physaddr &= -IO_SIZE; in __ioremap() 218 physaddr |= _PAGE_CACHE040; in __ioremap() 222 physaddr |= _PAGE_NOCACHE_S; in __ioremap() 225 physaddr |= _PAGE_NOCACHE; in __ioremap() 228 physaddr |= _PAGE_CACHE040W; in __ioremap() 238 physaddr |= _PAGE_NOCACHE030; in __ioremap() 262 pmd_val(*pmd_dir) = physaddr; in __ioremap() 263 physaddr += PMD_SIZE; in __ioremap() [all …]
|
A D | motorola.c | 292 unsigned long physaddr, virtaddr, size; in map_node() local 300 physaddr = m68k_memory[node].addr; in map_node() 305 physaddr |= _PAGE_GLOBAL040; 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() 354 physaddr += PAGE_SIZE; in map_node() 356 pte_val(*pte_dir++) = physaddr; in map_node() 372 pte_val(*pte_dir) = physaddr; in map_node() [all …]
|
/linux/arch/m68k/include/asm/ |
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()
|
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()
|
A D | kmap.h | 19 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()
|
/linux/drivers/visorbus/ |
A D | visorchannel.c | 29 u64 physaddr; member 56 release_mem_region(channel->physaddr, channel->nbytes); in visorchannel_destroy() 63 return channel->physaddr; in visorchannel_get_physaddr() 349 struct visorchannel *visorchannel_create(u64 physaddr, gfp_t gfp, in visorchannel_create() argument 356 if (physaddr == 0) in visorchannel_create() 375 channel->mapped = memremap(physaddr, size, MEMREMAP_WB); in visorchannel_create() 377 release_mem_region(physaddr, size); in visorchannel_create() 380 channel->physaddr = physaddr; in visorchannel_create() 388 release_mem_region(channel->physaddr, channel->nbytes); in visorchannel_create() 390 channel->requested = request_mem_region(channel->physaddr, size, in visorchannel_create() [all …]
|
A D | visorbus_private.h | 32 struct visorchannel *visorchannel_create(u64 physaddr, gfp_t gfp,
|
/linux/drivers/mtd/maps/ |
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()
|
/linux/drivers/firmware/google/ |
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()
|
/linux/arch/arm/include/asm/ |
A D | memory.h | 79 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) argument 124 #define XIP_VIRT_ADDR(physaddr) (physaddr) argument
|
/linux/drivers/scsi/ |
A D | sgiwd93.c | 70 dma_addr_t physaddr; in fill_hpc_entries() local 74 physaddr = dma_map_single(hd->dev, addr, len, DMA_DIR(din)); in fill_hpc_entries() 75 cmd->SCp.dma_handle = physaddr; in fill_hpc_entries() 84 hcp->desc.pbuf = physaddr; in fill_hpc_entries() 88 physaddr += count; in fill_hpc_entries()
|
/linux/arch/powerpc/mm/ |
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()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | msgbuf.c | 281 dma_addr_t physaddr; member 353 array[*idx].physaddr = *physaddr; in brcmf_msgbuf_alloc_pktid() 703 dma_addr_t physaddr; in brcmf_msgbuf_txflow() local 725 &physaddr, &pktid)) { in brcmf_msgbuf_txflow() 750 address = (u64)physaddr; in brcmf_msgbuf_txflow() 904 dma_addr_t physaddr; in brcmf_msgbuf_rxbuf_data_post() local 934 &physaddr, &pktid)) { in brcmf_msgbuf_rxbuf_data_post() 942 address = (u64)physaddr; in brcmf_msgbuf_rxbuf_data_post() 957 address = (u64)physaddr; in brcmf_msgbuf_rxbuf_data_post() 1012 dma_addr_t physaddr; in brcmf_msgbuf_rxbuf_ctrl_post() local [all …]
|
/linux/arch/nios2/boot/compressed/ |
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()
|
/linux/arch/parisc/kernel/ |
A D | cache.c | 304 unsigned long physaddr) in __flush_cache_page() argument 307 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page() 309 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page() 315 unsigned long physaddr) in __purge_cache_page() argument 318 purge_dcache_page_asm(physaddr, vmaddr); in __purge_cache_page() 320 flush_icache_page_asm(physaddr, vmaddr); in __purge_cache_page()
|
/linux/arch/mips/include/asm/mach-ip27/ |
A D | kernel-entry-init.h | 47 mtc0 t0, CP0_ENTRYLO0 # physaddr, VG, cach exlwr 50 mtc0 t0, CP0_ENTRYLO1 # physaddr, DVG, cach exlwr
|
/linux/arch/arm/mach-omap1/ |
A D | usb.c | 574 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()
|
/linux/arch/nios2/include/asm/ |
A D | io.h | 28 void __iomem *ioremap(unsigned long physaddr, unsigned long size);
|
/linux/arch/riscv/mm/ |
A D | Makefile | 29 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
/linux/arch/arm64/mm/ |
A D | Makefile | 11 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc911x.h | 92 u_long physaddr; member 215 smc_pxa_dma_insl(lp, lp->physaddr, r, lp->rxdma, p, l) 218 smc_pxa_dma_insl(struct smc911x_local *lp, u_long physaddr, in smc_pxa_dma_insl() argument 247 smc_pxa_dma_outsl(lp, lp->physaddr, r, lp->txdma, p, l) 250 smc_pxa_dma_outsl(struct smc911x_local *lp, u_long physaddr, in smc_pxa_dma_outsl() argument
|
/linux/arch/sparc/kernel/ |
A D | traps_64.c | 964 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 …]
|
/linux/arch/x86/include/asm/ |
A D | setup.h | 51 extern unsigned long __startup_64(unsigned long physaddr, struct boot_params *bp);
|
/linux/drivers/i3c/master/mipi-i3c-hci/ |
A D | dma.c | 150 static inline u32 lo32(dma_addr_t physaddr) in lo32() argument 152 return physaddr; in lo32() 155 static inline u32 hi32(dma_addr_t physaddr) in hi32() argument 159 u64 hi = physaddr; in hi32()
|