From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [question] some question about the residue
Date: Mon, 26 Nov 2012 10:19:33 +0000 [thread overview]
Message-ID: <20121126101933.GA19440@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1353912197-16616-1-git-send-email-elen.song@atmel.com>
On Mon, Nov 26, 2012 at 02:43:17PM +0800, Elen Song wrote:
> Hi All:
>
> I got a question about the residue in struct dma_tx_state:
>
> I wonder what residue means, is it the current descriptor residue or
>
> the total dma buffer residue?
It's the number of bytes remaining to be transferred on the descriptor
identified by the cookie. If that transfer has not been started, it
will be the total number of bytes in that transfer. If it has been
completed, it will be zero. If it is in progress, it will be the number
of bytes to be transferred before the transfer identified by that cookie
is marked as complete.
next prev parent reply other threads:[~2012-11-26 10:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 6:43 [question] some question about the residue Elen Song
2012-11-26 6:49 ` Vinod Koul
2012-11-26 7:35 ` Elen Song
2012-11-26 10:22 ` Russell King - ARM Linux
2012-11-26 10:37 ` Elen Song
2012-11-26 10:40 ` Russell King - ARM Linux
2012-11-27 2:39 ` Elen Song
2012-11-26 10:19 ` Russell King - ARM Linux [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-11-26 3:19 Elen Song
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=20121126101933.GA19440@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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).