On Mon, Apr 21, 2008 at 12:39 PM, Scott Wood <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 21, 2008 at 08:03:31AM -0600, Grant Likely wrote:
>
> > > +r) Freescale General-purpose Timers Module
> > > +
> > > +Required properties:
> > > + - compatible : should be "fsl,gtm" ("fsl,qe-gtm
On Mon, Apr 21, 2008 at 08:03:31AM -0600, Grant Likely wrote:
> > +r) Freescale General-purpose Timers Module
> > +
> > +Required properties:
> > + - compatible : should be "fsl,gtm" ("fsl,qe-gtm" in addition for QE
> > + GTMs or "fsl,cpm2-gtm" for CPM2 GTMs).
+static inline void gtm_ack_timer16(struct gtm_timer *tmr, u16
events)
+{
+ out_be16(tmr->gtevr, events);
+}
Drop 'inline' and expect gcc to do the right thing.
Not sure about newer gccs, but older complained about "defined but not
used" functions w/o inline keyword. I'm almost sure
On Mon, Apr 21, 2008 at 08:03:31AM -0600, Grant Likely wrote:
> 2008/4/18 Anton Vorontsov <[EMAIL PROTECTED]>:
> > GTM stands for General-purpose Timers Module and able to generate
> > timer{1,2,3,4} interrupts. These timers are used by the drivers that
> > need time precise interrupts (like for
2008/4/18 Anton Vorontsov <[EMAIL PROTECTED]>:
> GTM stands for General-purpose Timers Module and able to generate
> timer{1,2,3,4} interrupts. These timers are used by the drivers that
> need time precise interrupts (like for USB transactions scheduling for
> the Freescale USB Host controller a
On Thu, Apr 17, 2008 at 11:19:39PM -0500, Kumar Gala wrote:
[...]
>>> + * interval value, and fires the interrupt when the value is
>>> reached. This
>>> + * function will reduce the precision of the timer as needed in
>>> order for the
>>> + * requested timeout to fit in a 16-bit register.
>>>
On Apr 17, 2008, at 5:47 PM, Anton Vorontsov wrote:
On Thu, Apr 17, 2008 at 11:28:32PM +0400, Anton Vorontsov wrote:
GTM stands for General-purpose Timers Module and able to generate
timer{1,2,3,4} interrupts. These timers are used by the drivers that
need time precise interrupts (like for USB
On Thu, Apr 17, 2008 at 11:28:32PM +0400, Anton Vorontsov wrote:
> GTM stands for General-purpose Timers Module and able to generate
> timer{1,2,3,4} interrupts. These timers are used by the drivers that
> need time precise interrupts (like for USB transactions scheduling for
> the Freescale USB Ho