Lines Matching refs:old_lvl
178 * old_lvl - register used to save original cpu, tomatillo speed
183 #define JP_FORCE_FULL_SPEED(old_lvl, scr2, scr3, scr4) \
184 ldxa [%g0]ASI_JBUS_CONFIG, old_lvl; \
186 and old_lvl, scr4, old_lvl; \
191 or old_lvl, scr3, old_lvl; \
192 /* original jp and tomatillo speed saved in old_lvl */ \
196 andcc old_lvl, scr4, %g0; \
219 * old_lvl - register contains saved original cpu, tomatillo speed
225 * old_lvl[31:10] contains the intended new speed written into jbus_config.
226 * if old_lvl[9:0] is inconsistent with old_lvl[31:10], then the trap surely
231 #define JP_RESTORE_SPEED(old_lvl, scr2, scr3, scr4) \
232 srlx old_lvl, JBUS_CONFIG_ECLK_SHIFT, scr2; \
241 andn old_lvl, TOM_ESTAR_ELCK_MASK, old_lvl; \
242 or scr2, old_lvl, old_lvl; \
243 /* updated old_lvl to contain intended jp and tom speed */ \
244 andcc old_lvl, TOM_FULL_SPEED, %g0; \
258 andcc old_lvl, TOM_SLOW_SPEED, %g0; \