Lines Matching defs:l2cr
969 cpu_enable_l2cr(register_t l2cr)
984 mtspr(SPR_L2CR, l2cr & ~L2CR_L2E);
992 mtspr(SPR_L2CR, l2cr | L2CR_L2I);
997 mtspr(SPR_L2CR, l2cr | L2CR_L2I);
1003 l2cr |= L2CR_L2E;
1004 mtspr(SPR_L2CR, l2cr);
1059 register_t l2cr;
1062 l2cr = mfspr(SPR_L2CR);
1069 if ((l2cr & L2CR_L2E) != 0 && l2cr_config == 0) {
1070 l2cr_config = l2cr;
1076 if ((l2cr & L2CR_L2E) == 0 && l2cr_config != 0) {
1078 l2cr = mfspr(SPR_L2CR);
1081 if ((l2cr & L2CR_L2E) == 0) {
1090 cpu_fmttab_print(cpu_ibm750_l2cr_formats, l2cr);
1095 cpu_fmttab_print(cpu_ibm750_l2cr_formats, l2cr);
1097 cpu_fmttab_print(cpu_ibm750cl_l2cr_formats, l2cr);
1099 cpu_fmttab_print(cpu_l2cr_formats, l2cr);
1104 cpu_fmttab_print(cpu_7457_l2cr_formats, l2cr);
1107 cpu_fmttab_print(cpu_7448_l2cr_formats, l2cr);
1111 cpu_fmttab_print(cpu_7450_l2cr_formats, l2cr);
1114 cpu_fmttab_print(cpu_l2cr_formats, l2cr);
1122 register_t l2cr;
1125 l2cr = mfspr(SPR_L2CR);
1132 if ((l2cr & L2CR_L2E) != 0 && l2cr_config == 0) {
1133 l2cr_config = l2cr;
1139 if ((l2cr & L2CR_L2E) == 0 && l2cr_config != 0) {
1141 l2cr = mfspr(SPR_L2CR);
1148 cpu_fmttab_print(cpu_7457_l2cr_formats, l2cr);
1151 cpu_fmttab_print(cpu_7448_l2cr_formats, l2cr);
1154 cpu_fmttab_print(cpu_7450_l2cr_formats, l2cr);