sa11x0_ost.c | 148 uint32_t oscr, nextmatch, oldmatch; local in function:clockintr 155 nextmatch = oldmatch + TIMER_FREQUENCY / hz; 157 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SAOST_MR0, nextmatch); 160 if ((nextmatch > oldmatch && 161 (oscr > nextmatch || oscr < oldmatch)) || 162 (nextmatch < oldmatch && oscr > nextmatch && oscr < oldmatch)) { 171 nextmatch = oscr + 10; 172 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SAOST_MR0, nextmatch); 176 sc->sc_clock_count = nextmatch; 187 uint32_t oscr, nextmatch, oldmatch; local in function:statintr [all...] |