/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | cpu.c | 153 * display the CPUs' operating frequency, cache size, impl. field 161 int *impl; local 171 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); 197 if (impl == NULL) { 200 switch (*impl) { 217 log_printf("%-6x ", *impl, 0); 226 if ((impl) && IS_CHEETAH(*impl))
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | machdep.c | 55 int impl, manu; local 79 (void) prom_getprop(node, implementation, (caddr_t)&impl); 81 if (impl != IMPL_US_I)
|
/illumos-gate/usr/src/cmd/virtinfo/ |
H A D | virtinfo.c | 150 char *impl = "", *role = "", *io = "", *service = "", local 157 impl = "impl=Unknown"; 159 impl = "Unknown"; 161 impl = "impl=LDoms"; 171 impl = "LDoms"; 182 gettext("Domain role: "), impl, role, io, service, root);
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | cmp.c | 146 int impl; local 148 impl = cpunodes[cp->cpu_id].implementation; 152 if ((IS_OLYMPUS_C(impl)) || (IS_JUPITER(impl))) 156 if (IS_JAGUAR(impl) || IS_PANTHER(impl) || 157 IS_OLYMPUS_C(impl) || IS_JUPITER(impl)) 161 if (IS_PANTHER(impl) || IS_OLYMPUS_C(impl) || IS_JUPITE 171 int impl; local 195 int impl; local [all...] |
H A D | fillsysinfo.c | 850 int impl, cpuid = getprocessorid(); local 855 impl = cpunodes[cpuid].implementation; 856 switch (impl) { 872 if (IS_SPITFIRE(impl)) { 898 if (IS_SPITFIRE(impl) || IS_BLACKBIRD(impl)) 902 if (IS_CHEETAH(impl)) { 915 if (IS_JALAPENO(impl) && (cpunodes[i].version < 0x24)) { 930 int impl; local 934 impl [all...] |
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_cpu.c | 167 int impl; local 188 err = drmach_cpu_get_impl(cp->sbc_cm.sbdev_id, &impl); 201 cp->sbc_cpu_impl = impl; 635 dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp) argument 708 int impl; local 760 * We should set impl here because the last core 763 impl = cp->sbc_cpu_impl; 779 if (CPU_IMPL_IS_CMP(impl)) { 781 dr_fill_cmp_stat(cstat, ncores, impl, psp);
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_dr.c | 232 int impl; local 256 (caddr_t)&impl); 262 if (CPU_IMPL_IS_CMP(impl))
|
H A D | sbdp_cpu.c | 526 int impl; local 555 if (prom_getprop(nodeid, "implementation#", (caddr_t)&impl) == -1) 558 return (impl); 826 int impl, cpuid, portid; local 841 if ((impl = ddi_getprop(DDI_DEV_T_ANY, dip, 859 switch (impl) { 873 SBDP_DBG_CPU("cpuid=0x%x, portid=0x%x, impl=0x%x, device_type=%s", 874 cpuid, portid, impl, buf);
|
H A D | sgsbbc_mailbox.c | 2287 int bd, ii, impl, nc; local 2295 impl = cpunodes[MAKE_CPUID(bd, ii)].implementation; 2299 if (IS_JAGUAR(impl) || IS_PANTHER(impl))
|
H A D | sbdp_mem.c | 683 int len, impl; local 716 if (prom_getprop(cpu_node, "implementation#", (caddr_t)&impl) == -1) { 722 SBDP_DBG_MEM("mc_get_sibling_cpu_impl: found impl=0x%x, dnode=0x%x\n", 723 impl, cpu_node); 725 return (impl); 789 int impl = -1; local 813 if (impl == -1) { 814 impl = mc_get_sibling_cpu_impl(memnodes[i]); 815 if (impl == -1) { 816 SBDP_DBG_MEM("sbdp: failed to get cpu impl " [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_common_mmu.c | 525 int impl; member in struct:heap_lp_page_size 592 int impl = cpunodes[getprocessorid()].implementation; local 605 if (impl != p_lpgsz->impl)
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_cpu.c | 163 sbd_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, argument 213 if (IS_JAGUAR(impl)) {
|
H A D | gptwo_cpu.c | 81 uint_t impl; member in struct:bca 301 uint_t cpuid, uint_t coreid, uint_t impl) 310 arg.impl = impl; 329 uint_t impl = bcp->impl; local 335 switch (impl) { 368 uint_t cpuid, impl; local 374 impl = bcp->impl; 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 653 uint_t coreid, impl; local [all...] |
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_cpu.c | 221 int impl; local 242 err = drmach_cpu_get_impl(cp->sbc_cm.sbdev_id, &impl); 255 cp->sbc_cpu_impl = impl; 698 dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp) argument 748 if (IS_JAGUAR(impl)) { 777 int impl; local 828 * We should set impl here because the last core 831 impl = cp->sbc_cpu_impl; 848 if (CPU_IMPL_IS_CMP(impl)) { 850 dr_fill_cmp_stat(cstat, ncores, impl, ps [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | littleneck.c | 159 * display the CPUs' operating frequency, cache size, impl. field 168 int *impl; local 174 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); 209 if (impl == NULL) { 213 if (IS_CHEETAH(*impl)) 215 else if (IS_CHEETAH_PLUS(*impl)) 218 log_printf("%-7x ", *impl, 0);
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pciev.c | 284 pciev_eh(pf_data_t *pfd_p, pf_impl_t *impl) argument 289 pf_data_t *root_pfd_p = impl->pf_dq_head_p; 320 a_bus_p = pciev_get_affected_dev(impl, pfd_p, 401 pciev_get_affected_dev(pf_impl_t *impl, pf_data_t *pfd_p, argument 426 temp_bus_p = pf_find_busp_by_bdf(impl, a_bdf); 430 temp_bus_p = pf_find_busp_by_aer(impl, pfd_p); 436 temp_bus_p = pf_find_busp_by_saer(impl, pfd_p); 442 temp_bus_p = pf_find_busp_by_addr(impl, a_addr);
|
H A D | pcie_fault.c | 213 pf_impl_t impl; local 229 impl.pf_total = 0; 230 impl.pf_derr = derr; 231 impl.pf_dq_head_p = pfd_head_p; 232 impl.pf_dq_tail_p = pfd_tail_p; 237 scan_flag = pf_handler_enter(rdip, &impl); 241 scan_flag = pf_default_hdl(rdip, &impl); 255 for (pfd_p = impl.pf_dq_head_p; pfd_p && PFD_IS_ROOT(pfd_p); 257 impl.pf_fault = PCIE_ROOT_FAULT(pfd_p); 260 impl 318 pf_dispatch(dev_info_t *pdip, pf_impl_t *impl, boolean_t full_scan) argument 907 pf_default_hdl(dev_info_t *dip, pf_impl_t *impl) argument 1106 pf_en_dq(pf_data_t *pfd_p, pf_impl_t *impl) argument 1371 pf_analyse_error(ddi_fm_error_t *derr, pf_impl_t *impl) argument 1465 pf_analyse_error_tbl(ddi_fm_error_t *derr, pf_impl_t *impl, pf_data_t *pfd_p, const pf_fab_err_tbl_t *tbl, uint32_t err_reg) argument 2675 pf_send_ereport(ddi_fm_error_t *derr, pf_impl_t *impl) argument 2981 pf_handler_enter(dev_info_t *dip, pf_impl_t *impl) argument 3146 pf_find_busp_by_bdf(pf_impl_t *impl, pcie_req_id_t bdf) argument 3165 pf_find_busp_by_addr(pf_impl_t *impl, uint64_t addr) argument 3184 pf_find_busp_by_aer(pf_impl_t *impl, pf_data_t *pfd_p) argument 3213 pf_find_busp_by_saer(pf_impl_t *impl, pf_data_t *pfd_p) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | cherrystone.c | 122 int *impl; local 131 * display the CPUs' operating frequency, cache size, impl. field 143 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); 149 if ((impl == NULL) || (freq == 0) || (node_failed(cpu))) 153 if (CPU_IMPL_IS_CMP(*impl)) { 189 if (CPU_IMPL_IS_CMP(*impl)) { 203 if (impl == NULL) { 206 if (IS_CHEETAH(*impl)) 209 else if (IS_CHEETAH_PLUS(*impl)) 212 else if (IS_JAGUAR(*impl)) [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | daktari.c | 322 int *impl; local 331 * display the CPUs' operating frequency, cache size, impl. field 342 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); 348 if ((impl == NULL) || (freq == 0) || (node_failed(cpu))) 354 if (CPU_IMPL_IS_CMP(*impl)) { 390 if (CPU_IMPL_IS_CMP(*impl)) { 407 if (impl == NULL) { 411 if (IS_CHEETAH(*impl)) 413 else if (IS_CHEETAH_PLUS(*impl)) 415 else if (IS_JAGUAR(*impl)) [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 301 int *impl, *mask, *cpuid, *portid, *l2cache_size; local 323 impl = (int *)get_prop_val(find_prop(pnode->child, 419 if (impl != NULL) 420 log_printf(" %4d ", *impl, 0);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/starcat/common/ |
H A D | starcat.c | 154 * If "enum-impl" property exists in pci node => cPCI. 156 value = get_prop_val(find_prop(pci, "enum-impl")); 779 int *impl; local 789 * display the CPUs' operating frequency, cache size, impl. field 797 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); 804 if ((freq == 0) || (impl == 0) || (node_failed(cpu))) 807 if (CPU_IMPL_IS_CMP(*impl)) { 832 if (IS_JAGUAR(*impl)) { 851 if (CPU_IMPL_IS_CMP(*impl)) { 870 switch (*impl) { [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | scosmb.c | 292 int exp, ii, impl = 0, nc, slot; local 304 impl = cpunodes[MAKE_CPUID(exp, slot, ii)]. 309 if (IS_JAGUAR(impl) || IS_PANTHER(impl))
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu_event.c | 149 cpu_idle_cb_impl_t *impl; member in struct:cpu_idle_cb_item 419 if (cpu_idle_cb_array[i - 1].impl->priority >= cip->priority) { 427 cpu_idle_cb_array[i].impl = cip; 472 if (cpu_idle_cb_array[i].impl == cip) {
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 248 * If "enum-impl" property exists in pci node => cPCI. 250 value = get_prop_val(find_prop(pci, "enum-impl")); 1003 int *impl; local 1012 * display the CPUs' operating frequency, cache size, impl. field 1025 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); 1029 if ((impl == NULL) || (freq == 0) || (node_failed(cpu))) 1038 if (CPU_IMPL_IS_CMP(*impl)) { 1086 if (IS_JAGUAR(*impl)) { 1118 if (CPU_IMPL_IS_CMP(*impl)) { 1136 if (impl 1589 int *coreid, *impl; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 1019 int impl; local 1021 impl = cpunodes[cpuid].implementation; 1022 if (IS_OLYMPUS_C(impl) || IS_JUPITER(impl)) { 1026 cmn_err(CE_PANIC, "Unknown processor %d", impl);
|