Lines Matching refs:phys_addr
19 __ioremap_uc(unsigned long phys_addr) in __ioremap_uc() argument
21 return (void __iomem *) (__IA64_UNCACHED_OFFSET | phys_addr); in __ioremap_uc()
25 early_ioremap (unsigned long phys_addr, unsigned long size) in early_ioremap() argument
28 attr = kern_mem_attribute(phys_addr, size); in early_ioremap()
30 return (void __iomem *) phys_to_virt(phys_addr); in early_ioremap()
31 return __ioremap_uc(phys_addr); in early_ioremap()
35 ioremap (unsigned long phys_addr, unsigned long size) in ioremap() argument
50 attr = kern_mem_attribute(phys_addr, size); in ioremap()
52 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
54 return __ioremap_uc(phys_addr); in ioremap()
60 gran_base = GRANULEROUNDDOWN(phys_addr); in ioremap()
61 gran_size = GRANULEROUNDUP(phys_addr + size) - gran_base; in ioremap()
63 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
71 page_base = phys_addr & PAGE_MASK; in ioremap()
72 size = PAGE_ALIGN(phys_addr + size) - page_base; in ioremap()
79 offset = phys_addr & ~PAGE_MASK; in ioremap()
80 phys_addr &= PAGE_MASK; in ioremap()
89 area->phys_addr = phys_addr; in ioremap()
92 (unsigned long) addr + size, phys_addr, prot)) { in ioremap()
100 return __ioremap_uc(phys_addr); in ioremap()
105 ioremap_nocache (unsigned long phys_addr, unsigned long size) in ioremap_nocache() argument
107 if (kern_mem_attribute(phys_addr, size) & EFI_MEMORY_WB) in ioremap_nocache()
110 return __ioremap_uc(phys_addr); in ioremap_nocache()