/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_main.c | 59 uint_t chipid = cmi_hdl_chipid(hdl); local 79 "this CPU", chipid, cmi_hdl_coreid(hdl), 95 if ((sp = ao_shared[chipid]) == NULL) { 100 osp = atomic_cas_ptr(&ao_shared[chipid], NULL, sp);
|
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_main.c | 62 uint_t chipid = cmi_hdl_chipid(hdl); local 66 if (gcpu_disable || chipid >= GCPU_MAX_CHIPID) 83 if ((sp = gcpu_shared[chipid]) == NULL) { 87 osp = atomic_cas_ptr(&gcpu_shared[chipid], NULL, sp); 108 uint_t chipid = cmi_hdl_chipid(hdl); local 112 if (gcpu_disable || chipid >= GCPU_MAX_CHIPID) 120 sp = gcpu_shared[chipid];
|
/illumos-gate/usr/src/lib/fm/libfmd_agent/i386/ |
H A D | fmd_agent_i386.c | 95 fmd_agent_cpuop_v1(fmd_agent_hdl_t *hdl, int cmd, int chipid, int coreid, argument 103 (err = nvlist_add_int32(nvl, FM_CPU_RETIRE_CHIP_ID, chipid)) != 0 || 123 fmd_agent_cpuop(fmd_agent_hdl_t *hdl, int cmd, int chipid, int coreid, argument 133 return (fmd_agent_cpuop_v1(hdl, cmd, chipid, coreid, strandid, 142 fmd_agent_cpu_retire(fmd_agent_hdl_t *hdl, int chipid, int coreid, int strandid) argument 146 ret = fmd_agent_cpuop(hdl, FM_IOC_CPU_RETIRE, chipid, coreid, strandid, 153 fmd_agent_cpu_isretired(fmd_agent_hdl_t *hdl, int chipid, int coreid, argument 158 ret = fmd_agent_cpuop(hdl, FM_IOC_CPU_STATUS, chipid, coreid, strandid, 166 fmd_agent_cpu_unretire(fmd_agent_hdl_t *hdl, int chipid, int coreid, argument 171 ret = fmd_agent_cpuop(hdl, FM_IOC_CPU_UNRETIRE, chipid, corei [all...] |
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | cmp.c | 47 * Indicate that this core (cpuid) resides on the chip indicated by chipid. 52 cmp_add_cpu(chipid_t chipid, processorid_t cpuid) argument
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | cmp.c | 36 * Note: We assume that chipid == portid. This is not necessarily true. 53 chipid_t chipid; local 56 chipid = cpunodes[cpuid].portid; 57 return (!CPUSET_ISNULL(chips[chipid])); 61 * Indicate that this core (cpuid) resides on the chip indicated by chipid. 65 cmp_add_cpu(chipid_t chipid, processorid_t cpuid) argument 67 CPUSET_ADD(chips[chipid], cpuid); 76 chipid_t chipid; local 79 chipid = cpunodes[cpuid].portid; 80 CPUSET_DEL(chips[chipid], cpui 96 chipid_t chipid; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_label.c | 544 int32_t chipid; local 559 &chipid) != 0 || chipid >= 64) { 560 topo_mod_dprintf(mod, "lookup chipid failed\n"); 564 if ((bitmap & (1 << chipid)) != 0) { 565 bitmap |= (1 << chipid);
|
H A D | chip.c | 462 int32_t chipid, procnodeid, procnodes_per_pkg; local 469 * /dev/fm will export the chipid based on SMBIOS' ordering 473 FM_PHYSCPU_INFO_CHIP_ID, DATA_TYPE_INT32, &chipid, 487 if (chipid < min || chipid > max) 509 if ((chip = topo_node_lookup(pnode, CHIP_NODE_NAME, chipid)) == NULL) { 511 chipid, smbios_id)) == NULL)
|
H A D | chip_subr.c | 531 int32_t chipid, coreid, strandid; local 545 &chipid, &err) < 0 || 552 rc = swdp->func(swdp->hdl, chipid, coreid, strandid); 576 op, (int)chipid, (int)coreid, (int)strandid, rc,
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | devfm_machdep.c | 47 uint_t chipid; /* chipid to match during walk */ member in struct:fm_cmi_walk_t 87 walk_init(fm_cmi_walk_t *wp, uint_t chipid, uint_t coreid, uint_t strandid, argument 90 wp->chipid = chipid; 116 if (wp->chipid != ANY_ID && wp->chipid != cmi_hdl_chipid(hdl)) 163 * Multi-Chip-Module support should set the chipid 255 int32_t chipid, coreid, strandid; local 274 if (nvlist_lookup_int32(invl, FM_CPU_RETIRE_CHIP_ID, &chipid) ! [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/genuineintel/ |
H A D | gintel_main.c | 61 #define MC_COR_ECC_CNT(chipid, reg) (*pci_getl_func)(SOCKET_BUS(chipid), \ 442 nehalem_ep_ereport_add_memory_error_counter(uint_t chipid, argument 448 this_err_counter_array[index] = MC_COR_ECC_CNT(chipid, index); 474 int chipid; local 534 chipid = unum.unum_chip; 535 if (chipid < MAX_CPU_NODES) { 536 last_index = err_counter_index[chipid]; 539 err_counter_index[chipid] = this_index; 541 chipid, [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/ |
H A D | gcpu.c | 50 uint_t cmih_smb_chipid; /* smbios chipid */ 80 #define CMI_MAX_CHIPID_NBITS 6 /* max chipid of 63 */ 93 int chipid, coreid, strandid; /* currently visited cpu */ member in struct:cmih_walk_state 100 * Advance the <chipid,coreid,strandid> tuple to the next strand entry 110 if (wsp->chipid >= CMI_MAX_CHIPID && 130 wsp->chipid = (wsp->chipid + 1) & (CMI_MAX_CHIPID); 141 if (wsp == NULL || wsp->chip_tab[wsp->chipid] == NULL) 144 return (wsp->chip_tab[wsp->chipid] + 185 /* table of chipid entrie [all...] |
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_impl.h | 169 chip_id_t chipid; member in struct:dmfe
|
H A D | dmfe_main.c | 2520 chip_id_t chipid; local 2536 if (dmfe_config_init(dmfep, &chipid) != DDI_SUCCESS) 2538 if (chipid.vendor != dmfep->chipid.vendor) 2540 if (chipid.device != dmfep->chipid.device) 2542 if (chipid.revision != dmfep->chipid.revision) 2621 if (dmfe_config_init(dmfep, &dmfep->chipid) != DDI_SUCCESS) {
|
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/ |
H A D | authamd_main.c | 483 uint_t chipid = cmi_hdl_chipid(hdl); local 510 sp->ans_chipid = chipid;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cmi.c | 445 cmi_init(enum cmi_hdl_class class, uint_t chipid, uint_t coreid, argument 459 if ((hdl = cmi_hdl_create(class, chipid, coreid, strandid)) == NULL) { 463 chipid, coreid, strandid); 472 "core %d strand %d\n", chipid, coreid, strandid);
|
H A D | cmi_hw.c | 92 uint_t cmih_smb_chipid; /* SMBIOS factored chipid */ 175 #define CMI_MAX_CHIPID_NBITS 6 /* max chipid of 63 */ 1143 cpu_search(enum cmi_hdl_class class, uint_t chipid, uint_t coreid, argument 1151 if (xen_physcpu_chipid(cpi) == chipid && 1165 if (cmi_ntv_hwchipid(cp) == chipid && 1199 cmi_hdl_ent_lookup(uint_t chipid, uint_t coreid, uint_t strandid) argument 1208 if (cmi_chip_tab[chipid] == NULL) { 1216 if (atomic_cas_ptr(&cmi_chip_tab[chipid], NULL, pg) != NULL) 1220 return (cmi_chip_tab[chipid] + 1228 cmi_hdl_create(enum cmi_hdl_class class, uint_t chipid, uint_ argument 1487 cmi_hdl_lookup(enum cmi_hdl_class class, uint_t chipid, uint_t coreid, uint_t strandid) argument [all...] |
/illumos-gate/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 1732 uint32_t chipid; local 1747 chipid = pcn_bcr_read16(pcnp, PCN_BCR_PCISUBSYSID); 1748 chipid <<= 16; 1749 chipid |= pcn_bcr_read16(pcnp, PCN_BCR_PCISUBVENID); 1757 if (chipid == conf_id || chipid == 0x10001000) { 1759 chipid = pcn_csr_read16(pcnp, PCN_CSR_CHIPID1); 1760 chipid <<= 16; 1761 chipid |= pcn_csr_read16(pcnp, PCN_CSR_CHIPID0); 1763 chipid [all...] |
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 929 if (rgep->chipid.is_pcie) 1260 switch (rgep->chipid.mac_ver) { 1502 chip_id_t chipid; local 1527 cidp = &rgep->chipid; 1528 rge_chip_cfg_init(rgep, &chipid); 1529 if (chipid.vendor != cidp->vendor) 1531 if (chipid.device != cidp->device) 1533 if (chipid.revision != cidp->revision) 1635 cidp = &rgep->chipid; 1731 if (rgep->chipid [all...] |
H A D | rge.h | 406 chip_id_t chipid; member in struct:rge
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_drv.c | 130 mc_lookup_by_chipid(int chipid) argument 137 if (mc->mc_props.mcp_num == chipid) 197 s = "Unknown"; /* no cpu for this chipid found */ 1321 chipid_t chipid = *((chipid_t *)arg1); local 1324 if (cmi_hdl_chipid(whdl) == chipid) { 1334 mc_create(chipid_t chipid, dev_info_t *dip) argument 1347 cmi_hdl_walk(mc_create_cb, (void *)&chipid, (void *)&hdl, NULL); 1349 return (NULL); /* no cpu for this chipid found! */ 1354 mc->mc_props.mcp_num = chipid; 1403 chipid_t chipid local 1520 mcamd_prop_t chipid = *((mcamd_prop_t *)arg2); local 1540 int chipid, rc; local [all...] |
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_main2.c | 342 for (ring = 0; ring < bgep->chipid.tx_rings; ++ring) 348 for (ring = 0; ring < bgep->chipid.rx_rings; ++ring) 543 for (ring = 0; ring < bgep->chipid.tx_rings; ++ring) { 781 if ((bgep->chipid.flags & CHIP_FLAG_SERDES) && 845 cur_mtu = bgep->chipid.default_mtu; 858 (bgep->chipid.flags & CHIP_FLAG_NO_JUMBO)) { 866 bgep->chipid.default_mtu = new_mtu; 1038 int flags = bgep->chipid.flags; 1099 ((bgep->chipid.flags & CHIP_FLAG_SERDES) && 1188 bgep->chipid 3348 chip_id_t chipid; local [all...] |
H A D | bge_chip2.c | 509 command = bgep->chipid.command | PCI_COMM_MAE; 529 if (bgep->chipid.pci_type == BGE_PCI_E) { 879 cidp = &bgep->chipid; 1370 switch (bgep->chipid.nvtype) { 1497 switch (bgep->chipid.nvtype) { 1596 switch (bgep->chipid.nvtype) { 1646 switch (bgep->chipid.nvtype) { 1858 switch (bgep->chipid.nvtype) { 1909 switch (bgep->chipid.nvtype) { 1987 switch (bgep->chipid 3908 chip_id_t chipid; local [all...] |
H A D | bge_impl.h | 767 chip_id_t chipid; member in struct:bge
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 163 int chipid; member in struct:drmach_cpu 1859 cp->chipid = (portid >> 3) & 0x3;
|