Searched refs:SPR_L2CR (Results 1 – 4 of 4) sorted by relevance
157 ccr = mfspr(SPR_L2CR); in mpc74xx_l2_enable()163 mtspr(SPR_L2CR, ccr | L2CR_L2I); in mpc74xx_l2_enable()165 ccr = mfspr(SPR_L2CR); in mpc74xx_l2_enable()168 mtspr(SPR_L2CR, l2cr_config); in mpc74xx_l2_enable()298 bsp_state[2] = mfspr(SPR_L2CR); in cpudep_save_config()
702 cache_reg = mfspr(SPR_L2CR); in flush_disable_caches() 705 mtspr(SPR_L2CR, cache_reg); in flush_disable_caches() 707 mtspr(SPR_L2CR, cache_reg | L2CR_L2HWF); in flush_disable_caches() 708 while (mfspr(SPR_L2CR) & L2CR_L2HWF) in flush_disable_caches() 712 mtspr(SPR_L2CR, cache_reg); in flush_disable_caches() 714 mtspr(SPR_L2CR, cache_reg | L2CR_L2I); in flush_disable_caches() 716 while (mfspr(SPR_L2CR) & L2CR_L2I) in flush_disable_caches()
566 if (mfspr(SPR_L2CR) & L2CR_L2E) { in cpu_6xx_print_cacheinfo()583 switch (mfspr(SPR_L2CR) & L2CR_L2SIZ) { in cpu_6xx_print_cacheinfo()594 printf("write-%s", (mfspr(SPR_L2CR) & L2CR_L2WT) in cpu_6xx_print_cacheinfo()596 if (mfspr(SPR_L2CR) & L2CR_L2PE) in cpu_6xx_print_cacheinfo()
615 #define SPR_L2CR 0x3f9 /* .6. L2 Control Register */610 #define SPR_L2CR global() macro