Lines Matching refs:fam_ops
6 static struct amd_decoder_ops *fam_ops; variable
293 } else if (fam_ops->dc_mce(ec, xec)) in amd_decode_dc_mce()
396 } else if (fam_ops->ic_mce(ec, xec)) in amd_decode_ic_mce()
760 fam_ops = kzalloc(sizeof(struct amd_decoder_ops), GFP_KERNEL); in mce_amd_init()
761 if (!fam_ops) in mce_amd_init()
766 fam_ops->dc_mce = k8_dc_mce; in mce_amd_init()
767 fam_ops->ic_mce = k8_ic_mce; in mce_amd_init()
771 fam_ops->dc_mce = f10h_dc_mce; in mce_amd_init()
772 fam_ops->ic_mce = k8_ic_mce; in mce_amd_init()
776 fam_ops->dc_mce = k8_dc_mce; in mce_amd_init()
777 fam_ops->ic_mce = k8_ic_mce; in mce_amd_init()
781 fam_ops->dc_mce = f12h_dc_mce; in mce_amd_init()
782 fam_ops->ic_mce = k8_ic_mce; in mce_amd_init()
787 fam_ops->dc_mce = f14h_dc_mce; in mce_amd_init()
788 fam_ops->ic_mce = f14h_ic_mce; in mce_amd_init()
793 fam_ops->dc_mce = f15h_dc_mce; in mce_amd_init()
794 fam_ops->ic_mce = f15h_ic_mce; in mce_amd_init()
799 kfree(fam_ops); in mce_amd_init()
815 kfree(fam_ops); in mce_amd_exit()