Lines Matching refs:authamd

55 #include "authamd.h"
220 authamd_chip_once(authamd_data_t *authamd, enum authamd_cfgonce_bitnum what)
222 return (atomic_set_long_excl(&authamd->amd_shared->ans_cfgonce,
247 authamd_bankstatus_prewrite(cmi_hdl_t hdl, authamd_data_t *authamd)
254 authamd->amd_hwcr = hwcr;
263 authamd_bankstatus_postwrite(cmi_hdl_t hdl, authamd_data_t *authamd)
265 uint64_t hwcr = authamd->amd_hwcr;
288 authamd_read_ecccnt(authamd_data_t *authamd, struct authamd_logout *msl)
291 uint_t procnodeid = authamd->amd_shared->ans_procnodeid;
292 uint_t family = authamd->amd_shared->ans_family;
293 uint32_t rev = authamd->amd_shared->ans_rev;
380 authamd_clear_ecccnt(authamd_data_t *authamd, boolean_t clrint)
383 uint_t procnodeid = authamd->amd_shared->ans_procnodeid;
384 uint_t family = authamd->amd_shared->ans_family;
385 uint32_t rev = authamd->amd_shared->ans_rev;
488 authamd_data_t *authamd;
504 authamd = *datap = kmem_zalloc(sizeof (authamd_data_t), KM_SLEEP);
506 authamd->amd_hdl = hdl;
522 authamd->amd_shared = sp;
562 authamd_data_t *authamd = cms_hdl_getcmsdata(hdl);
563 uint32_t rev = authamd->amd_shared->ans_rev;
565 if (authamd->amd_shared->ans_family == AUTHAMD_FAMILY_6)
569 return (authamd_chip_once(authamd, AUTHAMD_CFGONCE_NBMCA) ==
582 authamd_data_t *authamd = cms_hdl_getcmsdata(hdl);
583 uint32_t rev = authamd->amd_shared->ans_rev;
679 authamd_data_t *authamd = cms_hdl_getcmsdata(hdl);
680 uint32_t rev = authamd->amd_shared->ans_rev;
681 uint_t procnodeid = authamd->amd_shared->ans_procnodeid;
688 authamd_chip_once(authamd, AUTHAMD_CFGONCE_ONLNSPRCFG)) {
689 authamd_clear_ecccnt(authamd, B_TRUE);
697 authamd_chip_once(authamd, AUTHAMD_CFGONCE_NBTHRESH)) {
701 authamd_bankstatus_prewrite(hdl, authamd);
723 authamd_bankstatus_postwrite(hdl, authamd);
730 authamd_chip_once(authamd, AUTHAMD_CFGONCE_NBMCACFG)) {
783 authamd_chip_once(authamd, AUTHAMD_CFGONCE_CACHESCRUB)) {
821 if (authamd_chip_once(authamd, AUTHAMD_CFGONCE_ECCSYMSZ)) {
822 authamd->amd_shared->ans_eccsymsz = "C4";
826 authamd->amd_shared->ans_eccsymsz = "C8";
836 authamd_data_t *authamd = cms_hdl_getcmsdata(hdl);
837 struct authamd_nodeshared *ansp = authamd->amd_shared;
864 authamd_data_t *authamd = cms_hdl_getcmsdata(hdl);
866 uint32_t rev = authamd->amd_shared->ans_rev;
879 if (authamd_read_ecccnt(authamd, msl))
880 authamd_clear_ecccnt(authamd, B_FALSE);
940 authamd_data_t *authamd = cms_hdl_getcmsdata(hdl);
943 uint32_t rev = authamd->amd_shared->ans_rev;
989 authamd_ereport_add_resource(cmi_hdl_t hdl, authamd_data_t *authamd,
1004 mc = authamd->amd_shared->ans_procnodeid %
1032 "chip", authamd->amd_shared->ans_chipid,
1064 authamd_data_t *authamd = cms_hdl_getcmsdata(hdl);
1094 DATA_TYPE_STRING, authamd->amd_shared->ans_eccsymsz,
1101 authamd_ereport_add_resource(hdl, authamd, ereport, nva,
1112 authamd_data_t *authamd = cms_hdl_getcmsdata(hdl);
1115 authamd_bankstatus_prewrite(hdl, authamd);
1118 authamd_bankstatus_postwrite(hdl, authamd);