Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/arch/x86/kernel/
Dhead64.c89 static void __head *fixup_pointer(void *ptr, unsigned long physaddr) in fixup_pointer() argument
91 return ptr - (void *)_text + (void *)physaddr; in fixup_pointer()
94 static unsigned long __head *fixup_long(void *ptr, unsigned long physaddr) in fixup_long() argument
96 return fixup_pointer(ptr, physaddr); in fixup_long()
100 static unsigned int __head *fixup_int(void *ptr, unsigned long physaddr) in fixup_int() argument
102 return fixup_pointer(ptr, physaddr); in fixup_int()
105 static bool __head check_la57_support(unsigned long physaddr) in check_la57_support() argument
114 *fixup_int(&__pgtable_l5_enabled, physaddr) = 1; in check_la57_support()
115 *fixup_int(&pgdir_shift, physaddr) = 48; in check_la57_support()
116 *fixup_int(&ptrs_per_p4d, physaddr) = 512; in check_la57_support()
[all …]
/kernel/linux/linux-5.10/arch/m68k/mm/
Dkmap.c159 void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap() argument
173 if (!size || physaddr > (unsigned long)(-size)) in __ioremap()
178 if ((physaddr >= 0x40000000) && (physaddr + size < 0x60000000) in __ioremap()
180 return (void __iomem *)physaddr; in __ioremap()
184 if (__cf_internalio(physaddr)) in __ioremap()
185 return (void __iomem *) physaddr; in __ioremap()
189 printk("ioremap: 0x%lx,0x%lx(%d) - ", physaddr, size, cacheflag); in __ioremap()
194 offset = physaddr & (IO_SIZE - 1); in __ioremap()
195 physaddr &= -IO_SIZE; in __ioremap()
208 printk("0x%lx,0x%lx,0x%lx", physaddr, virtaddr, retaddr); in __ioremap()
[all …]
Dmotorola.c292 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 …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dnubus.h20 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()
Dzorro.h20 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()
Dkmap.h19 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()
/kernel/linux/linux-5.10/drivers/visorbus/
Dvisorchannel.c29 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 …]
Dvisorbus_private.h32 struct visorchannel *visorchannel_create(u64 physaddr, gfp_t gfp,
/kernel/linux/linux-5.10/drivers/mtd/maps/
Duclinux.c39 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()
/kernel/linux/linux-5.10/drivers/firmware/google/
Dvpd.c183 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()
/kernel/linux/linux-5.10/drivers/scsi/
Dsgiwd93.c70 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()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dmemory.h73 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) argument
118 #define XIP_VIRT_ADDR(physaddr) (physaddr) argument
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c281 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()
350 dma_unmap_single(dev, *physaddr, skb->len - data_offset, in brcmf_msgbuf_alloc_pktid()
356 array[*idx].physaddr = *physaddr; in brcmf_msgbuf_alloc_pktid()
379 dma_unmap_single(dev, pktid->physaddr, in brcmf_msgbuf_get_pktid()
406 dma_unmap_single(dev, pktid->physaddr, in brcmf_msgbuf_release_array()
706 dma_addr_t physaddr; in brcmf_msgbuf_txflow() local
728 &physaddr, &pktid)) { in brcmf_msgbuf_txflow()
[all …]
/kernel/linux/linux-5.10/arch/nios2/boot/compressed/
Dconsole.c10 static void *my_ioremap(unsigned long physaddr) in my_ioremap() argument
12 return (void *)(physaddr | CONFIG_NIOS2_IO_REGION_BASE); in my_ioremap()
/kernel/linux/linux-5.10/drivers/block/
Dxsysace.c197 resource_size_t physaddr; member
987 (unsigned long long)ace->physaddr, ace->irq); in ace_setup()
996 ace->baseaddr = ioremap(ace->physaddr, 0x80); in ace_setup()
1079 (unsigned long long) ace->physaddr, ace->baseaddr, ace->irq); in ace_setup()
1100 (unsigned long long) ace->physaddr); in ace_setup()
1124 static int ace_alloc(struct device *dev, int id, resource_size_t physaddr, in ace_alloc() argument
1140 ace->physaddr = physaddr; in ace_alloc()
1179 resource_size_t physaddr; in ace_probe() local
1197 physaddr = res->start; in ace_probe()
1198 if (!physaddr) in ace_probe()
[all …]
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dcache.c304 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()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ip27/
Dkernel-entry-init.h47 mtc0 t0, CP0_ENTRYLO0 # physaddr, VG, cach exlwr
50 mtc0 t0, CP0_ENTRYLO1 # physaddr, DVG, cach exlwr
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-omap.c133 unsigned long lbaddr, physaddr; in omap_1510_local_bus_init() local
141 physaddr = tlb * 0x00100000 + PHYS_OFFSET; in omap_1510_local_bus_init()
145 omap_writel(physaddr >> 16, OMAP1510_LB_MMU_RAM_H); in omap_1510_local_bus_init()
146 omap_writel((physaddr & 0x0000fc00) | 0x300, OMAP1510_LB_MMU_RAM_L); in omap_1510_local_bus_init()
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dio.h28 void __iomem *ioremap(unsigned long physaddr, unsigned long size);
/kernel/linux/linux-5.10/arch/arm64/mm/
DMakefile10 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
/kernel/linux/linux-5.10/arch/riscv/mm/
DMakefile32 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsetup.h51 extern unsigned long __startup_64(unsigned long physaddr, struct boot_params *bp);
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmc911x.h92 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
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Defm32gg-dk3750.dts17 …c ignore_loglevel ihash_entries=64 dhash_entries=64 earlyprintk uclinux.physaddr=0x8c400000 root=/…
/kernel/linux/linux-5.10/arch/x86/mm/
DMakefile20 pgtable.o physaddr.o setup_nx.o tlb.o cpu_entry_area.o maccess.o

123