[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1003151721190.1332-100000@iolanthe.rowland.org>
Date: Mon, 15 Mar 2010 17:30:19 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: James Bottomley <James.Bottomley@...senPartnership.com>
cc: Kernel development list <linux-kernel@...r.kernel.org>
Subject: dma_sync_sg_for_cpu applied to a single scatterlist element
This is addressed to James Bottomley as he is the author of
Documentation/DMA-API.txt, but anyone else who can contribute is
invited to do so.
Suppose a scatter-gather transfer with multiple scatterlist elements
has been mapped via dma_map_sg(). Is it then valid to call
dma_sync_sg_for_cpu() with the "sg" argument pointing to one of the
mapped scatterlist elements (not necessarily the first one) and the
"nelems" argument set to 1?
Thanks,
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists