Lines Matching refs:msr
166 unsigned char msr; in bvme6000_timer_int() local
169 msr = rtc->msr & 0xc0; in bvme6000_timer_int()
170 rtc->msr = msr | 0x20; /* Ack the interrupt */ in bvme6000_timer_int()
191 unsigned char msr = rtc->msr & 0xc0; in bvme6000_sched_init() local
193 rtc->msr = 0; /* Ensure timer registers accessible */ in bvme6000_sched_init()
203 rtc->msr = 0x40; /* Access int.cntrl, etc */ in bvme6000_sched_init()
208 rtc->msr = 0; /* Access timer 1 control */ in bvme6000_sched_init()
211 rtc->msr = msr; in bvme6000_sched_init()
233 unsigned char msr, msb; in bvme6000_read_clk() local
239 msr = rtc->msr & 0xc0; in bvme6000_read_clk()
240 rtc->msr = 0; /* Ensure timer registers accessible */ in bvme6000_read_clk()
244 t1int = rtc->msr & 0x20; in bvme6000_read_clk()
249 } while (t1int != (rtc->msr & 0x20) || in bvme6000_read_clk()
259 rtc->msr = msr; in bvme6000_read_clk()
286 unsigned char msr = rtc->msr & 0xc0; in bvme6000_hwclk() local
288 rtc->msr = 0x40; /* Ensure clock and real-time-mode-register in bvme6000_hwclk()
319 rtc->msr = msr; in bvme6000_hwclk()