Lines Matching refs:last_match20
70 static unsigned long last_pc0, last_match20; variable
136 if (pc0 < last_match20) { in counter0_irq()
138 time_elapsed = (0xffffffff - last_match20) + pc0; in counter0_irq()
141 time_elapsed = pc0 - last_match20; in counter0_irq()
147 last_match20 += MATCH20_INC; in counter0_irq()
152 au_writel(last_match20 + MATCH20_INC, SYS_TOYMATCH2); in counter0_irq()
175 if (pc0 < last_match20) { in wakeup_counter0_adjust()
177 time_elapsed = (0xffffffff - last_match20) + pc0; in wakeup_counter0_adjust()
180 time_elapsed = pc0 - last_match20; in wakeup_counter0_adjust()
185 last_match20 += MATCH20_INC; in wakeup_counter0_adjust()
189 au_writel(last_match20 + MATCH20_INC, SYS_TOYMATCH2); in wakeup_counter0_adjust()
203 au_writel(last_match20 + (MATCH20_INC * ticks), SYS_TOYMATCH2); in wakeup_counter0_set()
377 (unsigned)last_match20, (unsigned)pc0); in do_fast_pm_gettimeoffset()
446 last_pc0 = last_match20 = au_readl(SYS_TOYREAD); in au1xxx_timer_setup()
447 au_writel(last_match20 + MATCH20_INC, SYS_TOYMATCH2); in au1xxx_timer_setup()