Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
23 * Use is subject to license terms.
81 /* Platform specific function to get unum information */
92 * usage prior to that time will have not have a function to call.
103 * platform supports. This function is called from check_cpus() to set the
107 * was being set to the largest physical ID, which led to boot problems on
117 * Convert number of slot0 + slot1 boards to number of expander brds
118 * and constrain the value to an architecturally plausible range
211 * whole show in to the high end of memory. Having
213 * the glist and arrange for the cage to grow
229 cmn_err(CE_NOTE, "pcihp driver failed to load");
267 * The following are currently private to Starcat DR
323 * fixed, and limited to one slice per expander due to design
373 * combined to form a 64-bit address. The second two are for a
374 * 64-bit size, but we don't actually need to look at that value.
388 * belongs to this CPU/CMP or a different one.
400 * If the memory controller is local to this CPU, we use
401 * the special ASI to read the decode registers.
417 * lgroup platform handles to memnodes.
436 * each of which map to a memnode. The initial mapping of
437 * memnodes to lgroup handles is determined at boot time.
443 * Convert board number to expander number.
467 cmn_err(CE_WARN, "check_for_null_lpa: failed to access GDCD\n");
507 * At that point, we set the "mpo_disabled" flag to true,
511 * first CPU will have already been added to a leaf
515 * it to the root if necessary.
544 * expanding threads to another lgroup.
547 * must be loaded before expanding to it.
549 * Since remote latencies can be costly, attempt to keep 3 threads
550 * within the same lgroup before expanding to the next lgroup.
576 * Establish the lgroup handle to memnode translation.
587 /* We don't have to do anything */
594 * on one board is moved to another board -- but the
599 * are copying to. After source memnode is copied to target
601 * renamed to match what the source memnode had. Then target
605 * To do this, swap the lgroup handle to memnode mappings for
608 * its memory will go (if any is added to it later).
610 * Then source memnode needs to be removed from its lgroup
611 * and added to the target lgroup where the memory was living
632 * and add it to its new target lgroup
645 * Return latency between "from" and "to" lgroups
650 * specific, so platform gets to decide its value. It would be nice if the
651 * number was at least proportional to make comparisons more meaningful though.
652 * NOTE: The numbers below are supposed to be load latencies for uncached
656 plat_lgrp_latency(lgrp_handle_t from, lgrp_handle_t to)
663 if (lgrp_optimizations() && (from != to ||
664 from == LGRP_DEFAULT_HANDLE || to == LGRP_DEFAULT_HANDLE))
705 prom_printf("Unable to get iosram property\n");
706 cmn_err(CE_PANIC, "Unable to get iosram property\n");
721 cmn_err(CE_WARN, "IOSRAM failed to load\n");
733 * iosram driver is now loaded so we need to set our read and
742 * Need to check for null proc LPA after IOSRAM driver is loaded
749 cmn_err(CE_WARN, "AXQ failed to load\n");
754 cmn_err(CE_WARN, "SCOSMB failed to load\n");
759 cmn_err(CE_WARN, "dr failed to load");
766 cmn_err(CE_WARN, "mc-us3 failed to load");
772 cmn_err(CE_WARN, "pcisch failed to load");
812 * cpuid == -1 indicates that the operation applies to all cpus.
894 int cpuid; /* input, to match cpuid/portid/upa-portid */
901 * to device tree nodes (dip) and to a plat_ecache_cpu_arg_t structure (arg).
902 * Returning DDI_WALK_CONTINUE tells ddi_walk_devs to keep going, returning
904 * being searched for is found, the walk is done. But before returning to
906 * property and set the jnum member of the plat_ecache_cpu_arg_t structure to
907 * point to the label corresponding to this specific ecache DIMM. It is up
908 * to plat_get_ecacheunum to kmem_free this string.
994 * plat_get_ecacheunum is called to generate the unum for an ecache error.
1010 * Bit 4 of physaddr equal 0 maps to E0 and 1 maps to E1
1039 * NOTE: Any modifications to the snprintf() call below will require
1083 * To keep OS mailbox handling localized, all we do is forward the call to the
1098 * else we can do and console messages will have to suffice.
1123 * driver giving each platform the opportunity to add platform
1124 * specific label information to the unum for ECC error logging purposes.
1140 * NOTE: Any modifications to the two sprintf() calls below will
1171 * routine to determine the number of hardware and software DMV interrupts
1183 * To keep OS mailbox handling localized, all we do is forward the call to the
1198 * If the symbol was found, call it. Otherwise, log a note (but not to
1246 * This is a helper function to determine if a given
1248 * to predefined dr names. This is accomplished using
1252 * Expected Return Value: -1, device node name does not map to a valid dr name.
1253 * A value greater or equal to 0, name is valid.
1260 /* Get a pointer to helper function in the dramch module. */
1279 * KDI functions - used by the in-situ kernel debugger (kmdb) to perform
1312 * Currently we disable lp kmem support if kpr is going to be enabled