Lines Matching refs:phys_addr
255 int __init efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) in efi_mem_desc_lookup() argument
305 end = md->phys_addr + size; in efi_mem_desc_lookup()
306 if (phys_addr >= md->phys_addr && phys_addr < end) { in efi_mem_desc_lookup()
324 u64 end = md->phys_addr + size; in efi_mem_desc_end()
333 void __iomem *efi_lookup_mapped_addr(u64 phys_addr) in efi_lookup_mapped_addr() argument
345 u64 end = md->phys_addr + size; in efi_lookup_mapped_addr()
352 if (phys_addr >= md->phys_addr && phys_addr < end) { in efi_lookup_mapped_addr()
353 phys_addr += md->virt_addr - md->phys_addr; in efi_lookup_mapped_addr()
354 return (__force void __iomem *)(unsigned long)phys_addr; in efi_lookup_mapped_addr()
647 u64 __weak efi_mem_attributes(unsigned long phys_addr) in efi_mem_attributes() argument
659 if ((md->phys_addr <= phys_addr) && in efi_mem_attributes()
660 (phys_addr < (md->phys_addr + in efi_mem_attributes()