Searched refs:portid (Results 26 - 50 of 96) sorted by relevance

1234

/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...]
/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/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/cmd/picl/plugins/sun4u/excalibur/frutree/
H A Dsystem-board.info135 REFNODE upa-card fru WITH _class:/PLATFORM_CLASS/upa/display?upa-portid=0
138 REFNODE upa-card fru WITH _class:/PLATFORM_CLASS/upa/display?upa-portid=1
235 name:/platform/memory-controller?portid=0
241 name:/platform/memory-controller?portid=0x1
247 _class:/PLATFORM_CLASS/upa/display?upa-portid=0
250 _class:/PLATFORM_CLASS/upa/display?upa-portid=1
271 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0
274 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1
277 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=2
280 name:/platform/memory-controller?portid
[all...]
/illumos-gate/usr/src/uts/sun4u/cherrystone/os/
H A Dcherrystone.c354 int portid; local
359 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) < 0) ||
360 (portid == -1))
364 * Decode the board number from the MC portid. Assumes
365 * portid == safari agentid.
367 boardid = CHERRYSTONE_GETSLOT(portid);
368 cpuid = CHERRYSTONE_GETSID(portid);
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_lib4u.h91 uint8_t portid; member in struct:pxu
217 #define ID_TO_IGN(chip, portid) ((portid) & ((chip) == PX_CHIP_OBERON ? \
220 #define DEVINO_TO_SYSINO(portid, devino) \
221 (((portid) << INO_BITS) | ((devino) & INO_MASK))
/illumos-gate/usr/src/uts/sun4u/daktari/os/
H A Ddaktari.c346 int portid; local
351 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) < 0) ||
352 (portid == -1))
356 * Decode the board number from the MC portid. Assumes
357 * portid == safari agentid.
359 boardid = DAK_GETSLOT(portid);
360 cpuid = DAK_GETSID(portid);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Daggr_rcm.c903 aggr_port_update(rcm_handle_t *hd, dl_aggr_t *aggr, datalink_id_t portid) argument
911 aggr->da_aggrid, portid);
922 RCM_LINK_PREFIX, portid);
933 assert(node->vc_linkid == portid);
954 node->vc_linkid = portid;
1024 datalink_id_t portid = (aggr_attr.lg_ports[i]).lp_linkid; local
1026 if (aggr_port_update(hd, aggr, portid) != 0)
1359 datalink_id_t portid; member in struct:aggr_configure_arg
1368 datalink_id_t portid; local
1385 portid
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dopl_cfg.c509 int portid, board, chip, channel, leaf; local
514 ret = OPL_GET_PROP(int, node, "portid", &portid, -1);
522 chip = OPL_CPU_CHIP(portid);
527 ret = OPL_GET_PROP(int, node, "portid", &portid, -1);
531 board = OPL_IO_PORTID_TO_LSB(portid);
532 channel = OPL_PORTID_TO_CHANNEL(portid);
540 leaf = OPL_PORTID_TO_LEAF(portid);
926 OPL_UPDATE_PROP(int, node, "portid", chi
1003 int board, portid; local
1977 uint32_t portid; local
2238 master_interrupt_init(uint32_t portid, uint32_t xt) argument
2298 uint32_t portid, xt; local
2353 int portid; local
2371 int channel, leaf, portid, error, circ; local
2519 int len, portid, board, channel, leaf; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/frutree/
H A Dsystem-board.info193 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0
196 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1
199 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=0
202 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=1
205 name:/platform/memory-controller?portid=1/memory-module-group?ID=0/memory-module?ID=0
208 name:/platform/memory-controller?portid=1/memory-module-group?ID=0/memory-module?ID=1
211 name:/platform/memory-controller?portid=1/memory-module-group?ID=1/memory-module?ID=0
214 name:/platform/memory-controller?portid=1/memory-module-group?ID=1/memory-module?ID=1
224 name:/platform/memory-controller?portid=0
230 name:/platform/memory-controller?portid
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/frutree/
H A Dsystem-board.info264 name:/platform/memory-controller?portid=0
270 name:/platform/memory-controller?portid=0
350 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0
353 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1
356 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=2
359 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=3
362 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=0
365 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=1
368 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=2
371 name:/platform/memory-controller?portid
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mem.c735 int portid; local
741 if (prom_getprop(nodeid, "portid", (caddr_t)&portid) < 0 ||
742 portid == -1) {
743 SBDP_DBG_MEM("mc_get_idle_reg: failed to read portid prop "
760 if (SG_CPUID_TO_PORTID(CPU->cpu_id) == portid) {
1448 int portid; local
1450 if (prom_getprop(nodeid, OBP_PORTID, (caddr_t)&portid) < 0)
1457 return (sbdp_find_nearby_cpu_by_portid(nodeid, portid));
1480 int portid; local
1513 int portid; local
1578 int portid; local
[all...]
H A Dsbdp.c184 int portid; local
193 if ((portid = get_portid(nodeid, NULL)) == -1)
199 *bd = SG_PORTID_TO_BOARD_NUM(portid);
200 *wnode = SG_PORTID_TO_NODEID(portid);
251 int portid; local
304 if (prom_getprop(nodeid, "portid", (caddr_t)&portid) <= 0) {
305 SBDP_DBG_MISC("%s: couldn't get portid\n", f);
320 if ((portid % 2) != 0)
H A Dssm.c540 int portid = 0; local
553 portid = ddi_prop_get_int(DDI_DEV_T_ANY, child,
554 DDI_PROP_DONTPASS, "portid", -1);
555 if (portid == -1) {
556 cmn_err(CE_WARN, "could not find portid property in %s",
561 (void) snprintf(name, namelen, "%x,%x", portid, regbase);
615 int portid; local
626 portid = (int)ddi_getprop(DDI_DEV_T_ANY, rdip,
627 DDI_PROP_DONTPASS, "portid", -1);
631 * portid propert
[all...]
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dsc_gptwocfg.c58 gptwo_aid_t portid; member in struct:sc_gptwocfg_config
144 int portid; local
251 * PP_PP is the portid
261 portid = (expander << 5) | prd_slot;
264 portid = (expander << 5) | 8;
267 portid = (expander << 5) | 9;
273 pcd->spcd_cpuid[i] = (i << 2) | portid;
568 board_config->portid = agent_id;
651 new->portid = agent_id;
733 "calling gptwocfg_unconfigure(ap=0x%p portid
[all...]
H A Ddrmach.c235 int portid; member in struct:__anon9975
1124 drmach_board_t *bp, int portid, drmachid_t *idp)
1155 * Derive a best-guess unit number from the portid value.
1160 device_id = portid & 0x1f;
1179 proto.portid = portid;
2574 drmach_portid2bnum(int portid) argument
2578 switch (portid & 0x1f) {
2594 return (((portid >> 4) & 0x7e) | slot);
2662 int portid; local
1123 drmach_device_new(drmach_node_t *node, drmach_board_t *bp, int portid, drmachid_t *idp) argument
4181 int i, portid; local
4641 int portid; local
4714 int rv, portid; local
5689 int portid; local
5813 int portid; local
7813 uint32_t portid; member in struct:__anon9986
7821 uint32_t portid; member in struct:__anon9987
7861 int portid, exp, slot, i; local
7980 int portid, exp, ioc_unum, leaf_unum; local
8539 int portid; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.c480 drmach_board_t *bp, int portid, drmachid_t *idp)
514 proto.portid = portid;
977 int portid; local
979 portid = proto->portid;
980 ASSERT(portid != -1);
981 proto->unum = portid;
1048 int portid; local
1052 /* the portid i
479 drmach_device_new(drmach_node_t *node, drmach_board_t *bp, int portid, drmachid_t *idp) argument
1259 int portid; local
1804 uint32_t portid; local
1865 int rv, portid; local
[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/devfsadm/
H A Dport_link.c418 char portid = *minor; local
422 if (portid < 'a' || portid > 'd')
425 (void) snprintf(port, sizeof (port), "term/%c", portid);
434 (void) snprintf(port, sizeof (port), "cua/%c", portid);
447 port[0] = portid;
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachcpuvar.h182 int portid; member in struct:cpu_node
H A Dmc-us3.h48 int portid; member in struct:mc_soft_state
119 /* id = portid */
127 int mcid; /* mc portid */
H A Dmc-us3i.h72 int portid; member in struct:mc_soft_state
147 /* id = portid */
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_mp_startup.c187 "%s (portid %d impl 0x%x ver 0x%x clock %d MHz)",
188 cpunode->name, cpunode->portid, cpunode->implementation,
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlaggr.c120 write_port(dladm_handle_t handle, char *portstr, datalink_id_t portid, argument
126 if ((status = dladm_datalink_id2info(handle, portid, NULL, NULL, NULL,
136 read_port(dladm_handle_t handle, char **portstr, datalink_id_t *portid) argument
144 status = dladm_name2info(handle, pname, portid, NULL, NULL, NULL);
472 datalink_id_t portid; local
480 status = read_port(handle, &next, &portid);
491 if (ports[i].lp_linkid == portid)
496 portid, size);
708 datalink_id_t portid = attr.lg_ports[i].lp_linkid; local
712 s = dladm_datalink_id2info(handle, portid,
[all...]

Completed in 115 milliseconds

1234