Lines Matching refs:pfn
954 * i.e., we are bumping up the offset/pfn etc up by len
2405 pfn_t pfn;
2436 * Save the pfn at offset here. This pfn will be
2439 if ((pfn = (pfn_t)cdev_mmap(mapfunc, dev, offset,
2451 error = choose_addr(as, addrp, len, ptob(pfn), ADDR_NOVACALIGN, flags);
2505 pfn_t pfn;
2542 pfn = page_pptonum(
2544 aligned_off = (offset_t)ptob(pfn) - offset;
2742 DEBUGF(2, (CE_CONT, "devmap_roundup: base %lx poff %lx pfn %lx\n",
2861 ulong_t pfn;
2880 * get the optimal pfn to minimize address translations.
2884 len = devmap_roundup(dhp, off, len, &pfn, &pgsize);
2887 *laddr = dhp->dh_uvaddr + ptob(pfn - dhp->dh_pfn);
2892 off = ptob(pfn - dhp->dh_pfn) + pgsize;
3345 * 5. the uvaddr and pfn are large pagesize aligned
3402 * Don't go up the tree to get pfn if the driver specifies
3435 * up the device tree to get pfn.
3437 * modified to return pfn if map_flags is DDI_MF_DEVICE_MAPPING.
3489 pfn_t pfn;
3554 * up the device tree to get pfn.
3556 * modified to return pfn if map_flags is DDI_MF_DEVICE_MAPPING.
3558 err = ddi_map(dip, &mr, roff, len, (caddr_t *)&pfn);
3569 dhp->dh_pfn = pfn;