Searched defs:chipid (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_main.c59 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/lib/fm/libfmd_agent/i386/
H A Dfmd_agent_i386.c95 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/i86pc/cpu/generic_cpu/
H A Dgcpu_main.c143 uint_t chipid; local
154 chipid = cmi_hdl_chipid(hdl);
155 if (gcpu_id_override[chipid] != NULL) {
156 sp->gcpus_ident = strdup(gcpu_id_override[chipid]);
177 uint_t chipid = cmi_hdl_chipid(hdl); local
181 if (gcpu_disable || chipid >= GCPU_MAX_CHIPID)
198 if ((sp = gcpu_shared[chipid]) == NULL) {
202 osp = atomic_cas_ptr(&gcpu_shared[chipid], NULL, sp);
225 uint_t chipid = cmi_hdl_chipid(hdl); local
229 if (gcpu_disable || chipid >
297 uint_t chipid; local
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dcmp.c47 * 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 Dcmp.c36 * 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/uts/intel/io/
H A Ddevfm_machdep.c48 uint_t chipid; /* chipid to match during walk */ member in struct:fm_cmi_walk_t
88 walk_init(fm_cmi_walk_t *wp, uint_t chipid, uint_t coreid, uint_t strandid, argument
91 wp->chipid = chipid;
117 if (wp->chipid != ANY_ID && wp->chipid != cmi_hdl_chipid(hdl))
165 * Multi-Chip-Module support should set the chipid
267 int32_t chipid, coreid, strandid; local
286 if (nvlist_lookup_int32(invl, FM_CPU_RETIRE_CHIP_ID, &chipid) !
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_label.c546 int32_t chipid; local
561 &chipid) != 0 || chipid >= 64) {
562 topo_mod_dprintf(mod, "lookup chipid failed\n");
566 if ((bitmap & (1ULL << chipid)) != 0) {
567 bitmap |= (1ULL << chipid);
H A Dchip.c484 int32_t chipid, procnodeid, procnodes_per_pkg; local
491 * /dev/fm will export the chipid based on SMBIOS' ordering
495 FM_PHYSCPU_INFO_CHIP_ID, DATA_TYPE_INT32, &chipid,
509 if (chipid < min || chipid > max)
531 if ((chip = topo_node_lookup(pnode, CHIP_NODE_NAME, chipid)) == NULL) {
533 chipid, cpu, smbios_id)) == NULL)
555 brand = get_chip_brand(mod, kc, chipid);
H A Dchip_subr.c532 int32_t chipid, coreid, strandid; local
546 &chipid, &err) < 0 ||
553 rc = swdp->func(swdp->hdl, chipid, coreid, strandid);
577 op, (int)chipid, (int)coreid, (int)strandid, rc,
869 get_chip_brand(topo_mod_t *mod, kstat_ctl_t *kc, int32_t chipid) argument
874 if ((ksp = kstat_lookup(kc, "cpu_info", chipid, NULL)) == NULL ||
878 chipid);
/illumos-gate/usr/src/uts/i86pc/cpu/genuineintel/
H A Dgintel_main.c61 #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/uts/common/io/dmfe/
H A Ddmfe_impl.h169 chip_id_t chipid; member in struct:dmfe
H A Ddmfe_main.c2520 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/common/io/pcn/
H A Dpcn.c1732 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 Drge_main.c929 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 Drge.h406 chip_id_t chipid; member in struct:rge
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/
H A Dauthamd_main.c483 uint_t chipid = cmi_hdl_chipid(hdl); local
510 sp->ans_chipid = chipid;
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/
H A Dgcpu.c50 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/i86pc/os/
H A Dcmi.c439 cmi_init(enum cmi_hdl_class class, uint_t chipid, uint_t coreid, argument
453 if ((hdl = cmi_hdl_create(class, chipid, coreid, strandid)) == NULL) {
457 chipid, coreid, strandid);
466 "core %d strand %d\n", chipid, coreid, strandid);
H A Dcmi_hw.c93 uint_t cmih_smb_chipid; /* SMBIOS factored chipid */
177 #define CMI_MAX_CHIPID_NBITS 6 /* max chipid of 63 */
1158 cpu_search(enum cmi_hdl_class class, uint_t chipid, uint_t coreid, argument
1166 if (xen_physcpu_chipid(cpi) == chipid &&
1180 if (cmi_ntv_hwchipid(cp) == chipid &&
1214 cmi_hdl_ent_lookup(uint_t chipid, uint_t coreid, uint_t strandid) argument
1223 if (cmi_chip_tab[chipid] == NULL) {
1231 if (atomic_cas_ptr(&cmi_chip_tab[chipid], NULL, pg) != NULL)
1235 return (cmi_chip_tab[chipid] +
1243 cmi_hdl_create(enum cmi_hdl_class class, uint_t chipid, uint_ argument
1510 cmi_hdl_lookup(enum cmi_hdl_class class, uint_t chipid, uint_t coreid, uint_t strandid) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_drv.c130 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 Dbge_main2.c342 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 Dbge_chip2.c509 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
3910 chip_id_t chipid; local
[all...]
H A Dbge_impl.h767 chip_id_t chipid; member in struct:bge
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddrmach.c163 int chipid; member in struct:drmach_cpu
1859 cp->chipid = (portid >> 3) & 0x3;

Completed in 396 milliseconds