/Linux-v5.15/arch/x86/kernel/ |
D | head64.c | 88 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 …]
|
/Linux-v5.15/arch/m68k/mm/ |
D | kmap.c | 158 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 …]
|
D | motorola.c | 292 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 …]
|
/Linux-v5.15/arch/m68k/include/asm/ |
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()
|
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()
|
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-v5.15/drivers/visorbus/ |
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() 371 channel->requested = request_mem_region(physaddr, size, VISOR_DRV_NAME); 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() [all …]
|
D | visorbus_private.h | 32 struct visorchannel *visorchannel_create(u64 physaddr, gfp_t gfp,
|
/Linux-v5.15/drivers/mtd/maps/ |
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-v5.15/drivers/firmware/google/ |
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-v5.15/arch/arm/include/asm/ |
D | memory.h | 79 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) argument 124 #define XIP_VIRT_ADDR(physaddr) (physaddr) argument
|
/Linux-v5.15/drivers/scsi/ |
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-v5.15/arch/powerpc/mm/ |
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-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | msgbuf.c | 281 dma_addr_t physaddr; member 321 dma_addr_t *physaddr, u32 *idx) in brcmf_msgbuf_alloc_pktid() argument 328 *physaddr = dma_map_single(dev, skb->data + data_offset, in brcmf_msgbuf_alloc_pktid() 331 if (dma_mapping_error(dev, *physaddr)) { in brcmf_msgbuf_alloc_pktid() 353 array[*idx].physaddr = *physaddr; in brcmf_msgbuf_alloc_pktid() 376 dma_unmap_single(dev, pktid->physaddr, in brcmf_msgbuf_get_pktid() 403 dma_unmap_single(dev, pktid->physaddr, in brcmf_msgbuf_release_array() 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() [all …]
|
/Linux-v5.15/arch/nios2/boot/compressed/ |
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-v5.15/arch/parisc/kernel/ |
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-v5.15/arch/mips/include/asm/mach-ip27/ |
D | kernel-entry-init.h | 47 mtc0 t0, CP0_ENTRYLO0 # physaddr, VG, cach exlwr 50 mtc0 t0, CP0_ENTRYLO1 # physaddr, DVG, cach exlwr
|
/Linux-v5.15/arch/arm/mach-omap1/ |
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-v5.15/arch/nios2/include/asm/ |
D | io.h | 28 void __iomem *ioremap(unsigned long physaddr, unsigned long size);
|
/Linux-v5.15/arch/riscv/mm/ |
D | Makefile | 29 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
/Linux-v5.15/arch/arm64/mm/ |
D | Makefile | 10 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
/Linux-v5.15/arch/x86/include/asm/ |
D | setup.h | 51 extern unsigned long __startup_64(unsigned long physaddr, struct boot_params *bp);
|
/Linux-v5.15/drivers/net/ethernet/smsc/ |
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-v5.15/arch/sparc/kernel/ |
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-v5.15/arch/x86/mm/ |
D | Makefile | 20 pgtable.o physaddr.o setup_nx.o tlb.o cpu_entry_area.o maccess.o
|