Home
last modified time | relevance | path

Searched refs:csnum (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/common/mc/mc-amd/
H A Dmcamd_patounum.c155 uint64_t csnum, csbase, csmask, csbe; in cs_match() local
159 cs, MCAMD_PROP_NUM, &csnum, in cs_match()
174 match ? "" : "not ", (int)csnum, csbase, csmask); in cs_match()
177 "does not match disabled CS %d\n", iaddr, (int)csnum); in cs_match()
190 uint64_t csnum, badcsnum, sparecsnum, tmpcsnum; in cs_sparedto() local
193 cs, MCAMD_PROP_NUM, &csnum, in cs_sparedto()
203 csnum != badcsnum) in cs_sparedto()
219 "redirected to active online spare of cs#%d\n", csnum, in cs_sparedto()
224 "cs#%d\n", csnum, sparecsnum); in cs_sparedto()
240 uint64_t chipnum, csnum, dimm1, dimm2, ranknum; in unum_fill() local
[all …]
H A Dmcamd_rowcol_impl.h44 #define MC_CS_MODE(csbmap, csnum) \ argument
45 (csbmap >> MC_CHIP_DIMMPAIR(csnum) * MC_DC_BAM_CSBANK_SHIFT & \
H A Dmcamd_rowcol.c554 mcamd_prop_t csnum; in mc_offset_to_pa() local
557 &csnum)) { in mc_offset_to_pa()
564 if (csnum == mcp.badcs) in mc_offset_to_pa()
649 mcamd_cs_size(struct mcamd_hdl *hdl, mcamd_node_t *mc, int csnum, size_t *szp) in mcamd_cs_size() argument
658 csmode = MC_CS_MODE(mcp.csbnkmap_reg, csnum); in mcamd_cs_size()
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_smbios.c97 int csnum) in extdimmslot_to_dimmslot() argument
114 if (csnum == SKIP_CS) in extdimmslot_to_dimmslot()
117 if (emd.smbmdeve_cs[k] == csnum) in extdimmslot_to_dimmslot()
137 if (csnum == SKIP_CS) in extdimmslot_to_dimmslot()
140 if (emd.smbmdeve_cs[k] == csnum) in extdimmslot_to_dimmslot()
155 int channum, csnum; in memnode_to_smbiosid() local
161 csnum = nodeid; in memnode_to_smbiosid()
167 csnum); in memnode_to_smbiosid()
H A Dchip_amd.c588 uint64_t csnum; in amd_cs_create() local
601 if (nvlist_lookup_uint64(csarr[i], "num", &csnum) != 0) { in amd_cs_create()
607 if (mkrsrc(mod, pnode, name, csnum, auth, &fmri) != 0) { in amd_cs_create()
612 if ((csnode = topo_node_bind(mod, pnode, name, csnum, fmri)) in amd_cs_create()
619 cs_fmri[csnum] = fmri; /* nvlist will be freed in mc_create */ in amd_cs_create()
/titanic_41/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_dimmcfg.c414 int csnum; in mcdcfg_csname() local
421 csnum = 2 * cslp->csl_slot + cslp->csl_rank; in mcdcfg_csname()
422 (void) snprintf(buf, buflen, "MEMCS_L%d", csnum); in mcdcfg_csname()
432 csnum = 2 * cslp->csl_slot + cslp->csl_rank; in mcdcfg_csname()
433 (void) snprintf(buf, buflen, "MEMCS_L%d (channel %s)", csnum, in mcdcfg_csname()
H A Dmcamd_drv.c1048 mc_onlinespare(mc_t *mc, int csnum) in mc_onlinespare() argument
1065 else if (csnum == mcp->mcp_sparecs) in mc_onlinespare()
1069 if (mccs->mccs_props.csp_num == csnum) in mc_onlinespare()
1094 MCREG_FIELD_F_revFG(&sparectl, BadDramCs) = csnum; in mc_onlinespare()
1133 mcp->mcp_badcs = csnum; in mc_onlinespare()
/titanic_41/usr/src/uts/intel/sys/
H A Dmc_amd.h122 #define MC_CHIP_DIMMPAIR(csnum) (csnum / MC_CHIP_DIMMPERCS) argument
531 #define MC_CSBANKMODE(up, csnum) ((up)->_fmt_bankmodes.allcsmodes >> \ argument
532 MC_DC_BAM_CSBANK_SHIFT * MC_CHIP_DIMMPAIR(csnum) & MC_DC_BAM_CSBANK_MASK)