Lines Matching refs:smr

631 		 * OBP environment variable (idn-smr-size)
687 if (idn.smr.ready == 0) {
697 "(idn-smr-size)");
703 ASSERT(idn.smr.ready || idn.enabled);
1138 if (idn.smr.ready)
1152 idn.smr.prom_paddr = obp_paddr;
1153 idn.smr.prom_size = obp_size;
1154 idn.smr.vaddr = vmem_alloc(heap_arena, ptob(npages), VM_SLEEP);
1155 ASSERT(((ulong_t)idn.smr.vaddr & MMU_PAGEOFFSET) == 0);
1156 idn.smr.locpfn = (pfn_t)(obp_paddr >> MMU_PAGESHIFT);
1157 idn.smr.rempfn = idn.smr.rempfnlim = PFN_INVALID;
1160 PR_PROTO("%s: smr vaddr = %p\n", proc, (void *)idn.smr.vaddr);
1162 smr_remap(&kas, idn.smr.vaddr, idn.smr.locpfn, IDN_SMR_SIZE);
1166 idn.smr.ready = 1;
1176 if (idn.smr.ready == 0)
1179 smr_remap(&kas, idn.smr.vaddr, PFN_INVALID, IDN_SMR_SIZE);
1183 vmem_free(heap_arena, idn.smr.vaddr, ptob(npages));
1189 idn.smr.ready = 0;
1242 PR_DRV("%s: locpfn = 0x%lx\n", proc, idn.smr.locpfn);
1243 PR_DRV("%s: rempfn = 0x%lx\n", proc, idn.smr.rempfn);
1495 PR_DRV("%s: Driver disabled (check OBP:idn-smr-size)\n",
1996 "(idn-smr-size)");
2001 "(idn-smr-size)");
2505 "(idn-smr-size)");
2510 "(idn-smr-size)");
3453 ASSERT(idn.smr.locpfn);
4113 "ASSUMING idn.smr.vaddr.");
4114 map = (idn_mboxtbl_t *)idn.smr.vaddr;
4353 (void) mi_mpprintf(mp, " 0x%p", (void *)idn.smr.vaddr);
4357 locpfn_upper = (uint_t)(idn.smr.locpfn >> (32 - PAGESHIFT));
4358 locpfn_lower = (uint_t)(idn.smr.locpfn << PAGESHIFT);
4359 if (idn.smr.rempfn == PFN_INVALID) {
4362 rempfn_upper = (uint_t)(idn.smr.rempfn >> (32 - PAGESHIFT));
4363 rempfn_lower = (uint_t)(idn.smr.rempfn << PAGESHIFT);
5528 * Locate the idn-smr-size property to determine the size of the SMR
5549 * idn-smr-size is a property of the "memory" node and