| /linux/arch/m68k/mm/ |
| H A 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() 184 if (physaddr >= 0xff000000 && cacheflag == IOMAP_NOCACHE_SER) in __ioremap() 185 return (void __iomem *)physaddr; in __ioremap() 189 if (__cf_internalio(physaddr)) in __ioremap() 190 return (void __iomem *) physaddr; in __ioremap() 194 printk("ioremap: 0x%lx,0x%lx(%d) - ", physaddr, size, cacheflag); in __ioremap() 199 offset = physaddr & (IO_SIZE - 1); in __ioremap() [all …]
|
| H A D | motorola.c | 303 unsigned long physaddr, virtaddr, size; in map_node() local 311 physaddr = m68k_memory[node].addr; in map_node() 312 virtaddr = (unsigned long)phys_to_virt(physaddr); in map_node() 313 physaddr |= m68k_supervisor_cachemode | in map_node() 316 physaddr |= _PAGE_GLOBAL040; in map_node() 321 printk ("\npa=%#lx va=%#lx ", physaddr & PAGE_MASK, in map_node() 331 pgd_val(*pgd_dir) = physaddr; in map_node() 334 physaddr += PGDIR_SIZE; in map_node() 354 pmd_val(*pmd_dir) = physaddr; in map_node() 355 physaddr += PMD_SIZE; in map_node() [all …]
|
| /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() 29 static inline void __iomem *ioremap_wt(unsigned long physaddr, in ioremap_wt() argument 32 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); in ioremap_wt()
|
| /linux/arch/x86/boot/startup/ |
| H A D | map_kernel.c | 91 unsigned long physaddr = (unsigned long)rip_rel_ptr(_text); in __startup_64() local 105 if (physaddr >> MAX_PHYSMEM_BITS) in __startup_64() 118 va_text = physaddr - p2v_offset; in __startup_64() 158 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; in __startup_64() 162 i = physaddr >> P4D_SHIFT; in __startup_64() 166 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; in __startup_64() 171 i = physaddr >> PUD_SHIFT; in __startup_64() 177 pmd_entry += physaddr; in __startup_64() 180 int idx = i + (physaddr >> PMD_SHIFT); in __startup_64()
|
| /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()
|
| /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()
|
| /linux/arch/parisc/kernel/ |
| H A D | cache.c | 332 unsigned long physaddr) in __flush_cache_page() argument 349 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page() 351 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 …]
|
| /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()
|
| /linux/arch/x86/kernel/ |
| H A D | head64.c | 81 unsigned long physaddr = address - __PAGE_OFFSET; in __early_make_pgtable() local 88 if (physaddr >= MAXMEM || read_cr3_pa() != __pa_nodebug(early_top_pgt)) in __early_make_pgtable() 151 unsigned long physaddr = address - __PAGE_OFFSET; in early_make_pgtable() local 154 pmd = (physaddr & PMD_MASK) + early_pmd_flags; in early_make_pgtable()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | msgbuf.c | 282 dma_addr_t physaddr; member 322 dma_addr_t *physaddr, u32 *idx) in brcmf_msgbuf_alloc_pktid() argument 329 *physaddr = dma_map_single(dev, skb->data + data_offset, in brcmf_msgbuf_alloc_pktid() 332 if (dma_mapping_error(dev, *physaddr)) { in brcmf_msgbuf_alloc_pktid() 351 dma_unmap_single(dev, *physaddr, skb->len - data_offset, in brcmf_msgbuf_alloc_pktid() 357 array[*idx].physaddr = *physaddr; in brcmf_msgbuf_alloc_pktid() 380 dma_unmap_single(dev, pktid->physaddr, in brcmf_msgbuf_get_pktid() 407 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 …]
|
| /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()
|
| /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
|
| /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()
|
| /linux/arch/mips/mm/ |
| H A D | Makefile | 47 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
| /linux/arch/x86/mm/ |
| H A D | Makefile | 25 pgtable.o physaddr.o tlb.o cpu_entry_area.o maccess.o pgprot.o
|
| /linux/drivers/net/ethernet/smsc/ |
| H A D | smc91x.h | 236 u_long physaddr; member 317 config.src_addr = lp->physaddr + reg; in smc_pxa_dma_insl() 318 config.dst_addr = lp->physaddr + reg; in smc_pxa_dma_insl() 360 config.src_addr = lp->physaddr + reg; in smc_pxa_dma_insw() 361 config.dst_addr = lp->physaddr + reg; in smc_pxa_dma_insw()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_nvmet.c | 2725 dma_addr_t physaddr; in lpfc_nvmet_prep_fcp_wqe() local 2800 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe() 2803 wqe->fcp_tsend.bde.addrLow = cpu_to_le32(putPaddrLow(physaddr)); in lpfc_nvmet_prep_fcp_wqe() 2805 cpu_to_le32(putPaddrHigh(physaddr)); in lpfc_nvmet_prep_fcp_wqe() 2949 physaddr = rsp->rspdma; in lpfc_nvmet_prep_fcp_wqe() 2953 cpu_to_le32(putPaddrLow(physaddr)); in lpfc_nvmet_prep_fcp_wqe() 2955 cpu_to_le32(putPaddrHigh(physaddr)); in lpfc_nvmet_prep_fcp_wqe() 3012 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe() 3014 sgl->addr_hi = putPaddrHigh(physaddr); in lpfc_nvmet_prep_fcp_wqe() 3015 sgl->addr_lo = putPaddrLow(physaddr); in lpfc_nvmet_prep_fcp_wqe()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_mpc52xx.c | 390 u32 status, physaddr; in mpc52xx_fec_rx_interrupt() local 399 physaddr = bd->skb_pa; in mpc52xx_fec_rx_interrupt() 427 dma_unmap_single(dev->dev.parent, physaddr, rskb->len, in mpc52xx_fec_rx_interrupt()
|
| /linux/arch/arm/mm/ |
| H A D | Makefile | 21 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic7xxx_core.c | 4934 dma_addr_t physaddr; in ahc_alloc_scbs() local 4966 physaddr = sg_map->sg_physaddr; in ahc_alloc_scbs() 4983 next_scb->sg_list_phys = physaddr + sizeof(struct ahc_dma_seg); in ahc_alloc_scbs() 4991 physaddr += (AHC_NSEG * sizeof(struct ahc_dma_seg)); in ahc_alloc_scbs() 5046 uint32_t physaddr; in ahc_chip_init() local 5116 physaddr = ahc->scb_data->hscb_busaddr; in ahc_chip_init() 5117 ahc_outb(ahc, HSCB_ADDR, physaddr & 0xFF); in ahc_chip_init() 5118 ahc_outb(ahc, HSCB_ADDR + 1, (physaddr >> 8) & 0xFF); in ahc_chip_init() 5119 ahc_outb(ahc, HSCB_ADDR + 2, (physaddr >> 16) & 0xFF); in ahc_chip_init() 5120 ahc_outb(ahc, HSCB_ADDR + 3, (physaddr >> 24) & 0xFF); in ahc_chip_init() [all …]
|
| H A D | aic79xx_core.c | 6778 hscb_busaddr = hscb_map->physaddr + (offset * sizeof(*hscb)); in ahd_alloc_scbs() 6797 &hscb_map->physaddr, /*flags*/0); in ahd_alloc_scbs() 6800 hscb_busaddr = hscb_map->physaddr; in ahd_alloc_scbs() 6811 sg_busaddr = sg_map->physaddr + offset; in ahd_alloc_scbs() 6830 ahd_dmamap_cb, &sg_map->physaddr, /*flags*/0); in ahd_alloc_scbs() 6833 sg_busaddr = sg_map->physaddr; in ahd_alloc_scbs() 6848 sense_busaddr = sense_map->physaddr + offset; in ahd_alloc_scbs() 6867 &sense_map->physaddr, /*flags*/0); in ahd_alloc_scbs() 6870 sense_busaddr = sense_map->physaddr; in ahd_alloc_scbs() 7071 ahd_dmamap_cb, &ahd->shared_data_map.physaddr, in ahd_init() [all …]
|
| /linux/arch/sparc/mm/ |
| H A D | srmmu.c | 486 static inline void srmmu_mapioaddr(unsigned long physaddr, in srmmu_mapioaddr() argument 496 physaddr &= PAGE_MASK; in srmmu_mapioaddr() 502 tmp = (physaddr >> 4) | SRMMU_ET_PTE; in srmmu_mapioaddr()
|
| /linux/arch/sparc/kernel/ |
| H A D | head_64.S | 286 ldx [%sp + 2047 + 128 + 0x48], %l2 ! physaddr high 288 ldx [%sp + 2047 + 128 + 0x50], %l3 ! physaddr low
|