• Home
  • Raw
  • Download

Lines Matching refs:phys_addr

289 	return (md->phys_addr + efi_md_size(md));  in efi_md_end()
367 "dropped @ %llx\n", md->phys_addr); in efi_get_pal_addr()
375 vaddr = PAGE_OFFSET + md->phys_addr; in efi_get_pal_addr()
404 smp_processor_id(), md->phys_addr, in efi_get_pal_addr()
405 md->phys_addr + efi_md_size(md), in efi_get_pal_addr()
408 return __va(md->phys_addr); in efi_get_pal_addr()
431 static void __init handle_palo(unsigned long phys_addr) in handle_palo() argument
433 struct palo_table *palo = __va(phys_addr); in handle_palo()
590 md->phys_addr, in efi_init()
591 md->phys_addr + efi_md_size(md), size, unit); in efi_init()
620 md->virt_addr = (u64) __va(md->phys_addr); in efi_enter_virtual_mode()
622 md->virt_addr = (u64) ioremap(md->phys_addr, 0); in efi_enter_virtual_mode()
625 md->virt_addr = ia64_remap(md->phys_addr, in efi_enter_virtual_mode()
634 md->virt_addr = (u64) ioremap(md->phys_addr, 0); in efi_enter_virtual_mode()
638 md->virt_addr = ia64_remap(md->phys_addr, in efi_enter_virtual_mode()
647 md->virt_addr = (u64) ioremap(md->phys_addr, 0); in efi_enter_virtual_mode()
700 return md->phys_addr; in efi_get_iobase()
707 kern_memory_descriptor (unsigned long phys_addr) in kern_memory_descriptor() argument
712 if (phys_addr - md->start < (md->num_pages << EFI_PAGE_SHIFT)) in kern_memory_descriptor()
719 efi_memory_descriptor (unsigned long phys_addr) in efi_memory_descriptor() argument
732 if (phys_addr - md->phys_addr < efi_md_size(md)) in efi_memory_descriptor()
739 efi_memmap_intersects (unsigned long phys_addr, unsigned long size) in efi_memmap_intersects() argument
750 end = phys_addr + size; in efi_memmap_intersects()
754 if (md->phys_addr < end && efi_md_end(md) > phys_addr) in efi_memmap_intersects()
761 efi_mem_type (unsigned long phys_addr) in efi_mem_type() argument
763 efi_memory_desc_t *md = efi_memory_descriptor(phys_addr); in efi_mem_type()
771 efi_mem_attributes (unsigned long phys_addr) in efi_mem_attributes() argument
773 efi_memory_desc_t *md = efi_memory_descriptor(phys_addr); in efi_mem_attributes()
782 efi_mem_attribute (unsigned long phys_addr, unsigned long size) in efi_mem_attribute() argument
784 unsigned long end = phys_addr + size; in efi_mem_attribute()
785 efi_memory_desc_t *md = efi_memory_descriptor(phys_addr); in efi_mem_attribute()
810 kern_mem_attribute (unsigned long phys_addr, unsigned long size) in kern_mem_attribute() argument
812 unsigned long end = phys_addr + size; in kern_mem_attribute()
821 attr = efi_mem_attribute(phys_addr, size); in kern_mem_attribute()
827 md = kern_memory_descriptor(phys_addr); in kern_mem_attribute()
847 valid_phys_addr_range (phys_addr_t phys_addr, unsigned long size) in valid_phys_addr_range() argument
857 attr = kern_mem_attribute(phys_addr, size); in valid_phys_addr_range()
866 unsigned long phys_addr = pfn << PAGE_SHIFT; in valid_mmap_phys_addr_range() local
869 attr = efi_mem_attribute(phys_addr, size); in valid_mmap_phys_addr_range()
885 if (efi_memmap_intersects(phys_addr, size)) in valid_mmap_phys_addr_range()
895 unsigned long phys_addr = pfn << PAGE_SHIFT; in phys_mem_access_prot() local
903 attr = kern_mem_attribute(phys_addr, size); in phys_mem_access_prot()
913 if (efi_mem_attribute(phys_addr, size) & EFI_MEMORY_WB) in phys_mem_access_prot()
997 efi_md_end(pmd) != md->phys_addr) { in find_memmap_space()
998 contig_low = GRANULEROUNDUP(md->phys_addr); in find_memmap_space()
1005 if (contig_high != check_md->phys_addr) in find_memmap_space()
1015 as = max(contig_low, md->phys_addr); in find_memmap_space()
1069 k->start = md->phys_addr; in efi_memmap_init()
1076 efi_md_end(pmd) != md->phys_addr) { in efi_memmap_init()
1077 contig_low = GRANULEROUNDUP(md->phys_addr); in efi_memmap_init()
1084 if (contig_high != check_md->phys_addr) in efi_memmap_init()
1097 if (md->phys_addr < contig_low) { in efi_memmap_init()
1102 kmd_end(k-1) == md->phys_addr) { in efi_memmap_init()
1104 (lim - md->phys_addr) in efi_memmap_init()
1108 k->start = md->phys_addr; in efi_memmap_init()
1109 k->num_pages = (lim - md->phys_addr) in efi_memmap_init()
1116 as = md->phys_addr; in efi_memmap_init()
1119 lim = max(md->phys_addr, contig_high); in efi_memmap_init()
1121 if (lim == md->phys_addr && k > kern_memmap && in efi_memmap_init()
1123 kmd_end(k-1) == md->phys_addr) { in efi_memmap_init()
1149 if (prev && kmd_end(prev) == md->phys_addr) { in efi_memmap_init()
1250 res->start = md->phys_addr; in efi_initialize_iomem_resources()
1251 res->end = md->phys_addr + efi_md_size(md) - 1; in efi_initialize_iomem_resources()
1298 start = ALIGN(md->phys_addr, alignment); in kdump_find_rsvd_region()
1339 && md->phys_addr == address) { in vmcore_find_descriptor_size()