100: /* Mask the current interrupt to allow multiple interrupts */
101: out_w(IT0_IDS1, IRQM(IRQ_TIMER));
102:
103: /* Clear timer interrupt */
104: out_w(IT0_IIR, IRQM(IRQ_TIMER));
105: }
108: /* Enable the current interrupt */
109: out_w(IT0_IEN1, IRQM(IRQ_TIMER));
110: }
151: do {
152: ovf = in_w(IT0_RAW1) & IRQM(IRQ_TIMER);
153: ofs = in_w(TI_RCR);
154: } while ( ovf != (in_w(IT0_RAW1) & IRQM(IRQ_TIMER)) );
155: if ( ovf != 0 ) ofs += max + 1;
174: do {
175: ovf = in_w(IT0_RAW1) & IRQM(IRQ_TIMER);
176: ofs = in_w(TI_RCR);
177: } while ( ovf != (in_w(IT0_RAW1) & IRQM(IRQ_TIMER)) );
178: if ( ovf != 0 ) ofs += max + 1;