/osnet-11/usr/src/lib/efcode/jupiter/ |
H A D | jupiter.c | 43 /* 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...] |
/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | memory.c | 78 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...] |
H A D | libdevinfo_sun4u.c | 80 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...] |
/osnet-11/usr/src/lib/efcode/gp2/ |
H A D | gp2.c | 115 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...] |
/osnet-11/usr/src/lib/libprtdiag/inc/ |
H A D | libprtdiag.h | 165 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,
|
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 303 int *impl, *mask, *cpuid, *portid, *l2cache_size; local 321 portid = (int *)get_prop_val(find_prop(pnode, "portid")); 332 if (portid != NULL) 333 log_printf("%3d ", (((*portid)>>3)&0x3), 0);
|
H A D | opl_picl.c | 103 int portid = PROP_INVALID; local 148 (pcih, OBP_PROP_PORTID, &portid, sizeof (portid)); 151 saved_portid = portid;
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlaggr.c | 122 write_port(dladm_handle_t handle, char *portstr, datalink_id_t portid, argument 128 if ((status = dladm_datalink_id2info(handle, portid, NULL, NULL, NULL, 138 read_port(dladm_handle_t handle, char **portstr, datalink_id_t *portid) argument 146 status = dladm_name2info(handle, pname, portid, NULL, NULL, NULL); 522 datalink_id_t portid; local 530 status = read_port(handle, &next, &portid); 541 if (ports[i].lp_linkid == portid) 546 portid, size); 763 datalink_id_t portid = attr.lg_ports[i].lp_linkid; local 767 s = dladm_datalink_id2info(handle, portid, [all...] |