Searched refs:fam_ops (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/edac/
H A Dmce_amd.c6 static struct amd_decoder_ops *fam_ops; variable in typeref:struct:amd_decoder_ops
307 } else if (fam_ops->mc0_mce(ec, xec)) decode_mc0_mce()
421 } else if (fam_ops->mc1_mce(ec, xec)) decode_mc1_mce()
555 if (!fam_ops->mc2_mce(ec, xec)) decode_mc2_mce()
787 if (!fam_ops) amd_decode_mce()
841 fam_ops = kzalloc(sizeof(struct amd_decoder_ops), GFP_KERNEL); mce_amd_init()
842 if (!fam_ops) mce_amd_init()
847 fam_ops->mc0_mce = k8_mc0_mce; mce_amd_init()
848 fam_ops->mc1_mce = k8_mc1_mce; mce_amd_init()
849 fam_ops->mc2_mce = k8_mc2_mce; mce_amd_init()
853 fam_ops->mc0_mce = f10h_mc0_mce; mce_amd_init()
854 fam_ops->mc1_mce = k8_mc1_mce; mce_amd_init()
855 fam_ops->mc2_mce = k8_mc2_mce; mce_amd_init()
859 fam_ops->mc0_mce = k8_mc0_mce; mce_amd_init()
860 fam_ops->mc1_mce = k8_mc1_mce; mce_amd_init()
861 fam_ops->mc2_mce = k8_mc2_mce; mce_amd_init()
865 fam_ops->mc0_mce = f12h_mc0_mce; mce_amd_init()
866 fam_ops->mc1_mce = k8_mc1_mce; mce_amd_init()
867 fam_ops->mc2_mce = k8_mc2_mce; mce_amd_init()
871 fam_ops->mc0_mce = cat_mc0_mce; mce_amd_init()
872 fam_ops->mc1_mce = cat_mc1_mce; mce_amd_init()
873 fam_ops->mc2_mce = k8_mc2_mce; mce_amd_init()
879 fam_ops->mc0_mce = f15h_mc0_mce; mce_amd_init()
880 fam_ops->mc1_mce = f15h_mc1_mce; mce_amd_init()
881 fam_ops->mc2_mce = f15h_mc2_mce; mce_amd_init()
886 fam_ops->mc0_mce = cat_mc0_mce; mce_amd_init()
887 fam_ops->mc1_mce = cat_mc1_mce; mce_amd_init()
888 fam_ops->mc2_mce = f16h_mc2_mce; mce_amd_init()
893 kfree(fam_ops); mce_amd_init()
894 fam_ops = NULL; mce_amd_init()
909 kfree(fam_ops); mce_amd_exit()

Completed in 241 milliseconds