public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Query regarding omap_set_dma_transfer_params()
@ 2007-06-11 14:56 Pharaoh .
  2007-06-11 15:08 ` Pharaoh .
  2007-06-12 13:43 ` Tony Lindgren
  0 siblings, 2 replies; 3+ messages in thread
From: Pharaoh . @ 2007-06-11 14:56 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

I am trying to configure the DMA channels in my ALSA driver.  Functions like


void omap_set_dma_dest_params(int lch, int dest_port, int dest_amode,
                              unsigned long dest_start,
                              int dst_ei, int dst_fi)
and omap_set_dma_src_params() are used for configuration.

What the last two fields i.e dst_ie and dst_fi mean here?

I think this has to do something with interrupts etc but not sure about it.
Also
I couldn't see those fields being populated anywhere in source (they are 0
everywhere).
I am referring 2.6.19-omap1.

Also, I think that these are unnecessarily exported, since the function
omap_set_dma_params()
is already exported and it calls the above mentioned functions.  And
normally the sequence of
configuring the DMA channel is like

-set src params
-set dest params
-set transfer params

-pharaoh.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-12 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-11 14:56 Query regarding omap_set_dma_transfer_params() Pharaoh .
2007-06-11 15:08 ` Pharaoh .
2007-06-12 13:43 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox