Lines Matching refs:rev
83 #define AUTHAMD_NBONCHIP(rev) \ argument
84 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_B) || \
85 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A))
90 #define AUTHAMD_MEMECC_RECOGNISED(rev) \ argument
91 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_B) || \
92 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A))
97 #define AUTHAMD_HAS_ONLINESPARECTL(rev) \ argument
98 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_F) || \
99 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A))
104 #define AUTHAMD_DO_NBMCACFG(rev) \ argument
105 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_B) || \
106 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A))
111 #define AUTHAMD_HAS_CHIPSCRUB(rev) \ argument
112 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_B) || \
113 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A))
119 #define AUTHAMD_NBMISC_NUM(rev) \ argument
120 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_F)? 1 : \
121 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A) ? 3 : 0))
127 #define AUTHAMD_NOGARTTBLWLK_MC(rev) \ argument
128 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_B) || \
129 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A))
134 #define AUTHAMD_L3CAPABLE(rev) \ argument
135 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A))
140 #define AUTHAMD_SUPPORTS_X8ECC(rev) \ argument
141 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_D0))
294 x86_chiprev_t rev = authamd->amd_shared->ans_rev; in authamd_read_ecccnt() local
303 if (!AUTHAMD_HAS_ONLINESPARECTL(rev)) { in authamd_read_ecccnt()
386 x86_chiprev_t rev = authamd->amd_shared->ans_rev; in authamd_clear_ecccnt() local
389 if (!AUTHAMD_HAS_ONLINESPARECTL(rev)) in authamd_clear_ecccnt()
488 x86_chiprev_t rev = cmi_hdl_chiprev(hdl); in authamd_init() local
514 sp->ans_rev = rev; in authamd_init()
564 x86_chiprev_t rev = authamd->amd_shared->ans_rev; in authamd_bankctl_skipinit() local
569 if (AUTHAMD_NBONCHIP(rev) && bank == AMD_MCA_BANK_NB) { in authamd_bankctl_skipinit()
584 x86_chiprev_t rev = authamd->amd_shared->ans_rev; in authamd_bankctl_val() local
599 if (bank == AMD_MCA_BANK_NB && AUTHAMD_NOGARTTBLWLK_MC(rev)) in authamd_bankctl_val()
681 x86_chiprev_t rev = authamd->amd_shared->ans_rev; in authamd_mca_init() local
688 if (AUTHAMD_HAS_ONLINESPARECTL(rev) && in authamd_mca_init()
697 if (AUTHAMD_NBMISC_NUM(rev) && in authamd_mca_init()
704 for (i = 0; i < AUTHAMD_NBMISC_NUM(rev); i++) { in authamd_mca_init()
709 if (chiprev_at_least(rev, in authamd_mca_init()
714 } else if (chiprev_at_least(rev, in authamd_mca_init()
731 if (AUTHAMD_DO_NBMCACFG(rev) && in authamd_mca_init()
769 if (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A)) in authamd_mca_init()
783 if (AUTHAMD_HAS_CHIPSCRUB(rev) && in authamd_mca_init()
790 if (AUTHAMD_L3CAPABLE(rev)) { in authamd_mca_init()
825 if (AUTHAMD_SUPPORTS_X8ECC(rev) && in authamd_mca_init()
868 x86_chiprev_t rev = authamd->amd_shared->ans_rev; in authamd_bank_logout() local
878 if (AUTHAMD_MEMECC_RECOGNISED(rev) && in authamd_bank_logout()
880 AUTHAMD_HAS_ONLINESPARECTL(rev)) { in authamd_bank_logout()
945 x86_chiprev_t rev = authamd->amd_shared->ans_rev; in authamd_disp_match() local
950 if (AUTHAMD_MEMECC_RECOGNISED(rev) && in authamd_disp_match()
964 if (AUTHAMD_NOGARTTBLWLK_MC(rev) && AUTHAMD_IS_GARTERR(bank, status)) in authamd_disp_match()