Searched defs:portid (Results 1 - 25 of 71) sorted by relevance

123

/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_starcat.c43 * Given the portid of the IOB to which the tunnel should be moved and the type
52 prom_starcat_switch_tunnel(uint_t portid, uint_t msgtype) argument
77 ci[3] = p1275_uint2cell(portid);
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dlibdevinfo_sun4u.c80 int portid; local
118 if (int_val = (int *)get_prop_val(find_prop(pnode, "portid")))
119 portid = *int_val;
121 (int_val = (int *)get_prop_val(find_prop(pnode->parent, "portid"))))
122 portid = *int_val;
124 portid = -1;
133 printf("portid=%d\n", portid);
143 "portid =%d\n", name, type, model, portid);
[all...]
H A Dmemory.c78 static void add_bank_node(uint64_t mc_decode, int portid, char *bank_status);
131 int portid; local
142 /* Get portid of this mc from libdevinfo. */
143 portid = (*(int *)get_prop_val(find_prop(pnode, "portid")));
208 add_bank_node(madr[i], portid, bank_status);
222 add_bank_node(uint64_t mc_decode, int portid, char *bank_status) argument
234 new->portid = portid;
299 mcid = SG_PORTID_TO_SAFARI_ID(bank->portid);
483 print_us3_memory_line(int portid, int bank_id, uint64_t bank_size, char *bank_status, uint64_t dimm_size, uint32_t intlv, int seg_id) argument
536 print_us3_failed_memory_line(int portid, int bank_id, char *bank_status) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag/inc/
H A Dlibprtdiag.h165 int portid; member in struct:memory_bank
192 void print_us3_memory_line(int portid, int bank_id, uint64_t bank_size,
194 void print_us3_failed_memory_line(int portid, int bank_id,
/illumos-gate/usr/src/lib/efcode/gp2/
H A Dgp2.c115 fstack_t phi, plo, portid; local
118 CHECK_DEPTH(env, 2, "gp2:get-portid");
122 portid = ((plo & 0xff800000) >> 23) | ((phi & 1) << 9);
123 debug_msg(DEBUG_REG_ACCESS, "gp2:get-portid ( %x %x ) -> %x\n",
124 (int)phi, (int)plo, (int)portid);
125 PUSH(DS, portid);
203 fstack_t portid, bar, align, type, size_hi, size_lo; local
210 portid = POP(DS);
218 fc_int2cell(portid), fc_int2cell(bar), fc_int2cell(align),
226 "gp2:%s ( %x %x %x %x %x %x ) -> %x %x\n", service, (int)portid,
237 int portid; local
[all...]
/illumos-gate/usr/src/lib/efcode/jupiter/
H A Djupiter.c43 /* Macro to get I/O portid */
44 #define DO_GET_IO_PORTID(env, lo, hi, portid) \
48 portid = (uint32_t)POP(DS)
152 unsigned int portid, lsb, ch, leaf; local
154 CHECK_DEPTH(env, 2, "jupiter:get-portid");
163 portid = OPL_IO_PORTID(lsb, ch, leaf);
165 debug_msg(DEBUG_REG_ACCESS, "jupiter:get-portid ( %x %x ) -> %x\n",
166 (int)phi, (int)plo, (int)portid);
167 PUSH(DS, portid);
184 /* Convert physical address to portid */
204 unsigned int portid, lsb, ch; local
236 uint32_t portid, ch, leaf; local
313 uint32_t portid = 0; local
375 int portid; local
[all...]
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_port.c138 uint16_t portid; local
192 if ((portid = (uint16_t)id_alloc(aggr_portids)) == 0) {
203 id_free(aggr_portids, portid);
210 id_free(aggr_portids, portid);
237 port->lp_portid = portid;
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Ddman_domain.c721 int portid; local
750 if ((portid = (int)ddi_getprop(DDI_DEV_T_ANY, dip, 0,
760 if ((portid & MAN_SCHIZO_MASK) != MAN_SCHIZO_0_ID)
781 *exp_id = portid >> 5;
/illumos-gate/usr/src/uts/sun4u/chicago/os/
H A Dchicago.c210 int portid; local
237 if (prom_getprop(curnode, "portid", (caddr_t)&portid) !=
238 -1 && portid > max_portid)
239 max_portid = portid;
309 int portid; local
312 * Chicago memory controller portid == global CPU id
314 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) == -1) ||
315 (portid <
[all...]
/illumos-gate/usr/src/uts/sun4u/enchilada/os/
H A Denchilada.c257 int portid; local
285 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != -1 &&
286 portid > max_portid)
287 max_portid = portid;
357 int portid; local
360 * Enchilada memory controller portid == global CPU id
362 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) == -1) ||
363 (portid <
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmach_rootnex.c82 int32_t portid; local
85 if (((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
86 DDI_PROP_DONTPASS, "upa-portid", -1)) != -1) ||
87 ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
88 DDI_PROP_DONTPASS, "portid", -1)) != -1)) {
98 * portid for those devices which have a portid.
100 hdlp->ih_vector |= (UPAID_TO_IGN(portid) << 6);
114 DDI_PROP_DONTPASS, "upa-portid", -1)) != -1) {
160 int32_t portid; local
240 int portid; local
298 int portid, nodeid; local
[all...]
H A Dgptwo_cpu.c78 uint_t portid; member in struct:bca
148 gptwocfg_configure_cpu(dev_info_t *ap, spcd_t *pcd, uint_t portid) argument
157 GPTWO_DEBUG2(1, CE_CONT, "gptwocfg_configure_cpu: portid=%x pcd=%lx\n",
158 portid, pcd);
175 "skipping configure of portid=0x%x", implementation,
176 portid);
182 if (cmp_node = gptwocfg_create_cmp_node(ap, pcd, portid))
193 cmp_node : ap, pcd, portid, pcd->spcd_cpuid[i], i,
211 (mc_node[0] = gptwocfg_create_mc_node(ap, pcd, portid)))
232 gptwocfg_create_cmp_node(dev_info_t *ap, spcd_t *pcd, uint_t portid) argument
261 uint_t portid; local
300 gptwocfg_create_cpu_node(dev_info_t *ap, spcd_t *pcd, uint_t portid, uint_t cpuid, uint_t coreid, uint_t impl) argument
469 uint_t portid, impl; local
877 gptwocfg_create_mc_node(dev_info_t *ap, spcd_t *pcd, uint_t portid) argument
906 uint_t portid = bcp->portid; local
[all...]
/illumos-gate/usr/src/uts/sun4u/schumacher/os/
H A Dschumacher.c240 int portid; local
268 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != -1 &&
269 portid > max_portid)
270 max_portid = portid;
340 int portid; local
343 * Schumacher memory controller portid == global CPU id
345 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) == -1) ||
346 (portid <
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c45 void print_us3_memory_line(int portid,
331 int portid = -1; local
337 /* Get the board number of this board from the portid prop */
338 value = get_prop_val(find_prop(pnode, "portid"));
340 portid = *(int *)value;
343 board = CHERRYSTONE_GETSLOT(portid);
369 print_us3_memory_line(int portid, int bank_id, uint64_t bank_size, argument
375 CHERRYSTONE_GETSLOT_LABEL(portid), portid, local
497 int portid; local
[all...]
H A Dcherrystone.c138 mid = (int *)get_prop_val(find_prop(cpu, "portid"));
833 int portid; local
867 /* get portid */
869 (find_prop(pnode, "portid"));
873 portid = *int_val;
876 * If this is a new portid and it is PCI bus B,
879 if ((portid != prev_portid) && (pci_bus == 0x700000)) {
880 prev_portid = portid;
898 prev_portid = portid;
912 log_printf(dgettext(TEXT_DOMAIN, "%-3d "), portid,
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c171 mid = (int *)get_prop_val(find_prop(cpu, "portid"));
977 int portid; local
1011 /* get portid */
1013 (find_prop(pnode, "portid"));
1017 portid = *int_val;
1020 * If this is a new portid and it is PCI bus B,
1023 if ((portid != prev_portid) && (pci_bus == 0x700000)) {
1024 prev_portid = portid;
1042 prev_portid = portid;
1056 log_printf(dgettext(TEXT_DOMAIN, "%-3d "), portid,
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c556 int i, portid; local
567 * Get portid of memory-controller as the key to get its
570 err = ptree_get_propval_by_name(mch, OBP_PROP_PORTID, &portid,
571 sizeof (portid));
579 mccontrol->id = portid;
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.h143 uint_t portid; member in struct:__anon9359
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_intr.c255 pmcs_kill_port(pmcs_hw_t *pwp, int portid) argument
257 pmcs_phy_t *pptr = pwp->ports[portid];
270 if (pptr->link_rate && pptr->portid == portid &&
277 pptr = pwp->ports[portid];
278 pwp->ports[portid] = NULL;
286 pmcs_prt(pwp, PMCS_PRT_INFO, NULL, NULL, "PortID 0x%x Cleared", portid);
296 uint8_t portid = IOP_EVENT_PORTID(w1); local
350 * the portid, both of which only ever change in this function.
352 rp = pwp->ports[portid];
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c110 processorid_t portid; local
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; local
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;
563 processorid_t portid; /* portid we are looking for */ member in struct:sbdp_prom_get_node_args
568 sbdp_find_nearby_cpu_by_portid(pnode_t nodeid, processorid_t portid) argument
586 int portid; local
826 int impl, cpuid, portid; local
[all...]
H A Dsgsbbc_iosram.c843 int portid; local
870 if ((portid = ddi_getprop(DDI_DEV_T_ANY, pdip, DDI_PROP_DONTPASS,
871 "portid", -1)) < 0) {
873 SGSBBC_DBG_ALL("%s: couldn't get portid\n", f);
880 node = SG_PORTID_TO_NODEID(portid);
881 board = SG_IO_BD_PORTID_TO_BD_NUM(portid);
/illumos-gate/usr/src/uts/sun4u/boston/os/
H A Dboston.c451 int portid; local
479 if (prom_getprop(curnode, "portid", (caddr_t)&portid) !=
480 -1 && portid > max_portid)
481 max_portid = portid;
551 int portid; local
554 * Memory controller portid == global CPU id
556 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) == -1) ||
557 (portid <
[all...]
/illumos-gate/usr/src/uts/sun4u/seattle/os/
H A Dseattle.c453 int portid; local
481 if (prom_getprop(curnode, "portid", (caddr_t)&portid) !=
482 -1 && portid > max_portid)
483 max_portid = portid;
553 int portid; local
556 * Memory controller portid == global CPU id
558 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) == -1) ||
559 (portid <
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Ddaktari.c337 mid = (int *)get_prop_val(find_prop(cpu, "portid"));
1275 int portid; local
1307 /* get portid */
1309 (find_prop(pnode, "portid"));
1313 portid = *int_val;
1316 * If this is a new portid and it is PCI bus B,
1319 if ((portid != prev_portid) && (pci_bus == 0x700000)) {
1320 prev_portid = portid;
1338 prev_portid = portid;
1352 log_printf(dgettext(TEXT_DOMAIN, "%-3d "), portid,
[all...]
H A Dworkfile.c40 /* we only need the 5 LSB of the portid to calculate the board number */
55 * If the portid associated with a CPU board is passed in, TRUE is returned,
58 #define DAK_PORTID_IS_CPU_TYPE(portid) \
59 (((((portid) & DAK_SAFARI_ID_MASK) >= DAK_MIN_CPU_SAFARI_ID) && \
60 (((portid) & DAK_SAFARI_ID_MASK) <= DAK_MAX_CPU_SAFARI_ID)) ? \
65 * If the portid associated with a CPU board is passed in, the board number
66 * associated with this portid is returned, otherwise -1.
68 #define DAK_CPU_BD_PORTID_TO_BD_NUM(portid) \
69 ((DAK_PORTID_IS_CPU_TYPE(portid)) ? \
70 (((portid)
192 int portid = -1; local
580 print_us3_memory_line(int portid, int bank_id, uint64_t bank_size, char *bank_status, uint64_t dimm_size, uint32_t intlv, int seg_id) argument
607 int portid; local
[all...]

Completed in 145 milliseconds

123