Lines Matching refs:phys_addr
17 __ioremap_uc(unsigned long phys_addr) in __ioremap_uc() argument
19 return (void __iomem *) (__IA64_UNCACHED_OFFSET | phys_addr); in __ioremap_uc()
23 early_ioremap (unsigned long phys_addr, unsigned long size) in early_ioremap() argument
26 attr = kern_mem_attribute(phys_addr, size); in early_ioremap()
28 return (void __iomem *) phys_to_virt(phys_addr); in early_ioremap()
29 return __ioremap_uc(phys_addr); in early_ioremap()
33 ioremap (unsigned long phys_addr, unsigned long size) in ioremap() argument
48 attr = kern_mem_attribute(phys_addr, size); in ioremap()
50 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
52 return __ioremap_uc(phys_addr); in ioremap()
58 gran_base = GRANULEROUNDDOWN(phys_addr); in ioremap()
59 gran_size = GRANULEROUNDUP(phys_addr + size) - gran_base; in ioremap()
61 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
69 page_base = phys_addr & PAGE_MASK; in ioremap()
70 size = PAGE_ALIGN(phys_addr + size) - page_base; in ioremap()
77 offset = phys_addr & ~PAGE_MASK; in ioremap()
78 phys_addr &= PAGE_MASK; in ioremap()
87 area->phys_addr = phys_addr; in ioremap()
90 (unsigned long) addr + size, phys_addr, prot)) { in ioremap()
98 return __ioremap_uc(phys_addr); in ioremap()
103 ioremap_uc(unsigned long phys_addr, unsigned long size) in ioremap_uc() argument
105 if (kern_mem_attribute(phys_addr, size) & EFI_MEMORY_WB) in ioremap_uc()
108 return __ioremap_uc(phys_addr); in ioremap_uc()