Lines Matching defs:portid
110 processorid_t portid;
157 * to be called with the portid rather than the cpuid.
159 portid = SG_CPUID_TO_PORTID(cpuid);
160 if (!SBDP_IS_CPU_PRESENT(bdp, SG_CPUID_TO_CPU_UNIT(portid))) {
161 cpu = portid;
223 processorid_t portid;
231 * interface needs to be called with the portid rather
234 portid = SG_CPUID_TO_PORTID(cpuid);
235 if (!SBDP_IS_CPU_PRESENT(bdp, SG_CPUID_TO_CPU_UNIT(portid))) {
236 cpu = portid;
512 * If not, check for "portid".
515 if (prom_getprop(nodeid, "portid", (caddr_t)&cpuid) == -1) {
563 processorid_t portid; /* portid we are looking for */
564 pnode_t result_node; /* node found with the above portid */
568 sbdp_find_nearby_cpu_by_portid(pnode_t nodeid, processorid_t portid)
576 arg.portid = portid;
586 int portid;
598 if (prom_getprop(cur_node, OBP_PORTID, (caddr_t)&portid) < 0)
601 if ((portid == argp->portid) && (cur_node != argp->node))
826 int impl, cpuid, portid;
851 portid = SG_CPUID_TO_PORTID(cpuid);
854 if (SG_PORTID_TO_BOARD_NUM(portid) != args->board ||
855 SG_PORTID_TO_NODEID(portid) != args->node) {
873 SBDP_DBG_CPU("cpuid=0x%x, portid=0x%x, impl=0x%x, device_type=%s",
874 cpuid, portid, impl, buf);