Lines Matching refs:mreg
1084 unsigned long mreg = srmmu_get_mmureg(); in poke_hypersparc() local
1088 mreg &= ~(HYPERSPARC_CWENABLE); in poke_hypersparc()
1089 mreg |= (HYPERSPARC_CENABLE | HYPERSPARC_WBENABLE); in poke_hypersparc()
1090 mreg |= (HYPERSPARC_CMODE); in poke_hypersparc()
1092 srmmu_set_mmureg(mreg); in poke_hypersparc()
1135 unsigned long mreg; in poke_swift() local
1141 mreg = srmmu_get_mmureg(); in poke_swift()
1142 mreg |= (SWIFT_IE | SWIFT_DE); in poke_swift()
1152 mreg &= ~(SWIFT_BF); in poke_swift()
1153 srmmu_set_mmureg(mreg); in poke_swift()
1315 unsigned long mreg = srmmu_get_mmureg(); in poke_turbosparc() local
1321 mreg &= ~(TURBOSPARC_ICENABLE | TURBOSPARC_DCENABLE); in poke_turbosparc()
1322 mreg &= ~(TURBOSPARC_PCENABLE); /* Don't check parity */ in poke_turbosparc()
1323 srmmu_set_mmureg(mreg); in poke_turbosparc()
1349 mreg |= (TURBOSPARC_ICENABLE | TURBOSPARC_DCENABLE); /* I & D caches on */ in poke_turbosparc()
1350 mreg |= (TURBOSPARC_ICSNOOP); /* Icache snooping on */ in poke_turbosparc()
1351 srmmu_set_mmureg(mreg); in poke_turbosparc()
1378 unsigned long mreg = srmmu_get_mmureg(); in poke_tsunami() local
1382 mreg &= ~TSUNAMI_ITD; in poke_tsunami()
1383 mreg |= (TSUNAMI_IENAB | TSUNAMI_DENAB); in poke_tsunami()
1384 srmmu_set_mmureg(mreg); in poke_tsunami()
1419 unsigned long mreg = srmmu_get_mmureg(); in poke_viking() local
1436 mreg |= VIKING_TCENABLE; in poke_viking()
1440 mreg &= ~(VIKING_TCENABLE); in poke_viking()
1452 mreg |= VIKING_SPENABLE; in poke_viking()
1453 mreg |= (VIKING_ICENABLE | VIKING_DCENABLE); in poke_viking()
1454 mreg |= VIKING_SBENABLE; in poke_viking()
1455 mreg &= ~(VIKING_ACENABLE); in poke_viking()
1456 srmmu_set_mmureg(mreg); in poke_viking()
1507 unsigned long mreg = srmmu_get_mmureg(); in init_viking() local
1510 if (mreg & VIKING_MMODE) { in init_viking()
1547 unsigned long mreg, psr; in get_srmmu_type() local
1553 mreg = srmmu_get_mmureg(); psr = get_psr(); in get_srmmu_type()
1554 mod_typ = (mreg & 0xf0000000) >> 28; in get_srmmu_type()
1555 mod_rev = (mreg & 0x0f000000) >> 24; in get_srmmu_type()