On Wed, Apr 16, 2008 at 10:39:04PM +0400, Anton Vorontsov wrote: > +/** > + * gtm_reset_utimer16 - reset 16 bits timer > + * @tmr: pointer to the gtm_timer structure obtained from gtm_get_timer > + * @usec: timer interval in microseconds > + * @free_run: free run flag > + * > + * This function (re)sets GTM timer so it counts up to the interval value and > + * fires the interrupt when the value is reached. If free_run flag was set, > + * timer will also reset itself upon reference value, otherwise it continues > to > + * increment. > + */ > +int gtm_reset_utimer16(struct gtm_timer *tmr, u16 usec, bool free_run)
A maximal timeout of ~65 ms is a little low... For use as a wakeup from sleep mode, I'd like to be able to request timeouts as large as the hardware allows. -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev