From: wael showair <showair2003@yahoo.com>
To: linuxppc-dev@ozlabs.org
Subject: Re: using dma engine on MPC8555 processor
Date: Wed, 28 Jan 2009 02:52:06 -0800 (PST) [thread overview]
Message-ID: <21703549.post@talk.nabble.com> (raw)
In-Reply-To: <21683674.post@talk.nabble.com>
now I can understand that the file of the fsldma.c is the driver of the DMA
engine that contains also a test the DMA.
I noticed that it contains 2 module init functions:
subsys_initcall(of_fsl_dma_chan_init);
subsys_initcall(of_fsl_dma_init);
Also it contains two probe functions:
static int __devinit of_fsl_dma_chan_probe(struct of_device *dev,const
struct of_device_id *match)
static int __devinit of_fsl_dma_probe(struct of_device *dev,const struct
of_device_id *match)
How can i make these 2 probe functions work,
i also noticed that fsldma.c cant be built as a module
either it is built-in or not built.
is there something i should write in the command line to let fsldma works &
tests the DMA engine i have on my board.
also i want to know the module "dmatest",what does it test exactly? can it
test the DMA engine or not?
thanks for your help
wael showair wrote:
>
> Hi All,
> i have an evaluation board with MPC8555 processor.
> linux kernel 2.6.27
> i have read the Documentation of my board, i found that it contains DMA
> engine.
> i know that there fsldma.c & fsldma.h
> all my target is that i want to test the DMA on my board.
> i want to transfer data from source to destination & i imagine that the
> DMA will raise an interrupt after it finishes the transfer.
>
> so i believe there must be some APIs related to the DMA engine which do
> the following:
> 1. initialize the DMA by determining the src & dest addresses. Also
> determines which channel to use.
> 2. register an interrupt handler for the DMA interrupt line.
> 3. fire the DMA.
>
> where can i find these APIs, or i m missing something?
> thanks in advance for ur help
>
--
View this message in context: http://www.nabble.com/using-dma-engine-on-MPC8555-processor-tp21683674p21703549.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.
prev parent reply other threads:[~2009-01-28 10:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 12:01 using dma engine on MPC8555 processor wael showair
2009-01-28 10:52 ` wael showair [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21703549.post@talk.nabble.com \
--to=showair2003@yahoo.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).