Home
last modified time | relevance | path

Searched refs:MC_REV_MATCH (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_rowcol_tbl.c809 if (MC_REV_MATCH(mcrev, bdp->revmask) && csmode < bdp->nmodes) in rct_bnkaddrmode()
830 if (MC_REV_MATCH(mcrev, rcbm->mt_revmask) && in rct_rcbmap()
851 if (MC_REV_MATCH(mcrev, swztp->swzt_revmask) && in rct_bnkswzlinfo()
873 ((MC_REV_MATCH(mcrev, MC_F_REVS_BC) && csmode == 0x6) || in rct_csintlv_bits()
874 (MC_REV_MATCH(mcrev, MC_F_REVS_DE) && in rct_csintlv_bits()
H A Dmcamd_patounum.c531 if (!MC_REV_MATCH(rev, MC_F_REVS_FG)) in mc_bkdg_patounum()
559 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_bkdg_patounum()
/illumos-gate/usr/src/uts/intel/sys/
H A Dmc_amd.h272 #define MC_REV_MATCH(rev, revmask) chiprev_matches(rev, revmask) macro
447 #define MC_CSBASE(up, rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? \
481 #define MC_CSMASKLO_LOBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 13 : 13)
482 #define MC_CSMASKLO_HIBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 21 : 19)
484 #define MC_CSMASKHI_LOBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 27 : 25)
485 #define MC_CSMASKHI_HIBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 36 : 33)
487 #define MC_CSMASK_UNMASKABLE(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 0 : 2)
489 #define MC_CSMASK(up, rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? \
/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_drv.c216 return (MC_REV_MATCH(rev, MC_F_REVS_BCDE) ? in mc_ecc_enabled()
229 return (MC_REV_MATCH(rev, MC_F_REVS_BCDE) ? in mc_ck_enabled()
566 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) in mc_dimmlist_create()
737 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_getmiscctl()
812 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_mkprops_dramctl()
824 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_mkprops_dramctl()
828 } else if (MC_REV_MATCH(rev, MC_F_REV_E)) { in mc_mkprops_dramctl()
846 if (MC_REV_MATCH(rev, MC_F_REV_E)) { in mc_mkprops_dramctl()
849 } else if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_mkprops_dramctl()
859 maskdivisor = MC_REV_MATCH(rev, MC_F_REVS_FG) ? 2 : 1; in mc_mkprops_dramctl()
[all …]
H A Dmcamd_dimmcfg.c364 if (MC_REV_MATCH(rev, csmap_tbls[i].revmask) && in mcdcfg_lookup()