Lines Matching refs:msr
171 unsigned char msr; in bvme6000_timer_int() local
174 msr = rtc->msr & 0xc0; in bvme6000_timer_int()
175 rtc->msr = msr | 0x20; /* Ack the interrupt */ in bvme6000_timer_int()
196 unsigned char msr = rtc->msr & 0xc0; in bvme6000_sched_init() local
198 rtc->msr = 0; /* Ensure timer registers accessible */ in bvme6000_sched_init()
208 rtc->msr = 0x40; /* Access int.cntrl, etc */ in bvme6000_sched_init()
213 rtc->msr = 0; /* Access timer 1 control */ in bvme6000_sched_init()
216 rtc->msr = msr; in bvme6000_sched_init()
238 unsigned char msr, msb; in bvme6000_read_clk() local
244 msr = rtc->msr & 0xc0; in bvme6000_read_clk()
245 rtc->msr = 0; /* Ensure timer registers accessible */ in bvme6000_read_clk()
249 t1int = rtc->msr & 0x20; in bvme6000_read_clk()
254 } while (t1int != (rtc->msr & 0x20) || in bvme6000_read_clk()
264 rtc->msr = msr; in bvme6000_read_clk()
291 unsigned char msr = rtc->msr & 0xc0; in bvme6000_hwclk() local
293 rtc->msr = 0x40; /* Ensure clock and real-time-mode-register in bvme6000_hwclk()
324 rtc->msr = msr; in bvme6000_hwclk()