Lines Matching defs:l2cr
974 cpu_enable_l2cr(register_t l2cr)
989 mtspr(SPR_L2CR, l2cr & ~L2CR_L2E);
997 mtspr(SPR_L2CR, l2cr | L2CR_L2I);
1002 mtspr(SPR_L2CR, l2cr | L2CR_L2I);
1008 l2cr |= L2CR_L2E;
1009 mtspr(SPR_L2CR, l2cr);
1064 register_t l2cr;
1067 l2cr = mfspr(SPR_L2CR);
1072 * should use the same value for L2CR.
1074 if ((l2cr & L2CR_L2E) != 0 && l2cr_config == 0) {
1075 l2cr_config = l2cr;
1081 if ((l2cr & L2CR_L2E) == 0 && l2cr_config != 0) {
1083 l2cr = mfspr(SPR_L2CR);
1086 if ((l2cr & L2CR_L2E) == 0) {
1095 cpu_fmttab_print(cpu_ibm750_l2cr_formats, l2cr);
1100 cpu_fmttab_print(cpu_ibm750_l2cr_formats, l2cr);
1102 cpu_fmttab_print(cpu_ibm750cl_l2cr_formats, l2cr);
1104 cpu_fmttab_print(cpu_l2cr_formats, l2cr);
1109 cpu_fmttab_print(cpu_7457_l2cr_formats, l2cr);
1112 cpu_fmttab_print(cpu_7448_l2cr_formats, l2cr);
1116 cpu_fmttab_print(cpu_7450_l2cr_formats, l2cr);
1119 cpu_fmttab_print(cpu_l2cr_formats, l2cr);
1127 register_t l2cr;
1130 l2cr = mfspr(SPR_L2CR);
1135 * should use the same value for L2CR.
1137 if ((l2cr & L2CR_L2E) != 0 && l2cr_config == 0) {
1138 l2cr_config = l2cr;
1144 if ((l2cr & L2CR_L2E) == 0 && l2cr_config != 0) {
1146 l2cr = mfspr(SPR_L2CR);
1153 cpu_fmttab_print(cpu_7457_l2cr_formats, l2cr);
1156 cpu_fmttab_print(cpu_7448_l2cr_formats, l2cr);
1159 cpu_fmttab_print(cpu_7450_l2cr_formats, l2cr);