Lines Matching defs:pfn
695 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
698 if (!pfn_valid(pfn))
748 unsigned long end, unsigned long pfn,
755 set_pte_ext(pte, pfn_pte(pfn, __pgprot(type->prot_pte)),
757 pfn++;
861 phys = __pfn_to_phys(md->pfn);
866 (long long)__pfn_to_phys((u64)md->pfn), addr);
878 (long long)__pfn_to_phys((u64)md->pfn), addr);
882 if ((addr | length | __pfn_to_phys(md->pfn)) & ~SUPERSECTION_MASK) {
884 (long long)__pfn_to_phys((u64)md->pfn), addr);
892 phys |= (((md->pfn >> (32 - PAGE_SHIFT)) & 0xF) << 20);
928 if (md->pfn >= 0x100000) {
935 phys = __pfn_to_phys(md->pfn);
940 (long long)__pfn_to_phys(md->pfn), addr);
967 (long long)__pfn_to_phys((u64)md->pfn), md->virtual);
975 (long long)__pfn_to_phys((u64)md->pfn), md->virtual);
1022 vm->phys_addr = __pfn_to_phys(md->pfn);
1134 debug_ll_addr(&map.pfn, &map.virtual);
1135 if (!map.pfn || !map.virtual)
1137 map.pfn = __phys_to_pfn(map.pfn);
1376 map.pfn = __phys_to_pfn(__atags_pointer & SECTION_MASK);
1388 map.pfn = __phys_to_pfn(CONFIG_XIP_PHYS_ADDR & SECTION_MASK);
1399 map.pfn = __phys_to_pfn(FLUSH_BASE_PHYS);
1406 map.pfn = __phys_to_pfn(FLUSH_BASE_PHYS + SZ_1M);
1418 map.pfn = __phys_to_pfn(virt_to_phys(vectors));
1436 map.pfn += 1;
1495 map.pfn = __phys_to_pfn(start);
1502 map.pfn = __phys_to_pfn(start);
1511 map.pfn = __phys_to_pfn(start);
1519 map.pfn = __phys_to_pfn(kernel_x_start);
1527 map.pfn = __phys_to_pfn(kernel_x_end);
1573 /* Re-set the phys pfn offset, and the pv offset */
1652 map.pfn = pte_pfn(*pte);