Lines Matching defs:phys
206 * @phys: physical address of the folio.
210 struct folio *kho_restore_folio(phys_addr_t phys)
212 struct page *page = pfn_to_online_page(PHYS_PFN(phys));
298 unsigned long phys;
307 xa_for_each(&physxa->phys_bits, phys, bits) {
318 elm->phys_start = (phys * PRESERVE_BITS)
341 phys_addr_t phys =
343 struct page *page = phys_to_page(phys);
345 memblock_reserve(phys, sz);
346 memblock_reserved_mark_noinit(phys, sz);
620 u64 phys = (u64)virt_to_phys(fdt);
624 err |= fdt_property(root, PROP_SUB_FDT, &phys, sizeof(phys));
693 * @phys: physical address of the range.
696 * Instructs KHO to preserve the memory range from @phys to @phys + @size
701 int kho_preserve_phys(phys_addr_t phys, size_t size)
703 unsigned long pfn = PHYS_PFN(phys);
706 const unsigned long end_pfn = PHYS_PFN(phys + size);
713 if (!PAGE_ALIGNED(phys) || !PAGE_ALIGNED(size))
767 unsigned long phys;
769 xa_for_each(&physxa->phys_bits, phys, bits)
957 * @phys: if found, the physical address of the sub FDT is stored in @phys.
960 * address in @phys.
964 int kho_retrieve_subtree(const char *name, phys_addr_t *phys)
973 if (!phys)
984 *phys = (phys_addr_t)*val;
1178 pr_warn("setup: failed to memremap scratch (phys=0x%llx, len=%lld)\n",