atus(chan, cookie, state);
> spin_unlock_irqrestore(&edmac->lock, flags);
>
> - ret = dma_async_is_complete(cookie, last_completed, last_used);
> - dma_set_tx_state(state, last_completed, last_used, 0);
> -
> return ret;
> }
>
For ep93xx:
Tested-by: H Hartley Sweeten
Acked-by: H Hartley Sweeten
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
edmac->chan.completed_cookie = desc->txd.cookie;
> + dma_cookie_complete(&desc->txd);
> list_splice_init(&edmac->active, &list);
> }
> callback = desc->txd.callback;
For ep93xx:
Tested-by: H Hartley Sweeten
Acked-by: H Hartley Sweeten
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
c->chan.cookie;
> -
> - if (++cookie < 0)
> - cookie = 1;
> + cookie = dma_cookie_assign(tx);
>
> desc = container_of(tx, struct ep93xx_dma_desc, txd);
>
> - edmac->chan.cookie = cookie;
> - desc->txd.cookie = cookie;
&
maengine.h
> +++ b/include/linux/dmaengine.h
> @@ -18,8 +18,8 @@
> * The full GNU General Public License is included in this distribution in
> the
> * file called COPYING.
> */
> -#ifndef DMAENGINE_H
> -#define DMAENGINE_H
> +#ifndef LINUX_DMAENGINE_H
> +#define LINUX_
okie: last completed cookie for this channel
> * @chan_id: channel ID for sysfs
> * @dev: class device for sysfs
> * @device_node: used to add this to the device chan list
> @@ -268,6 +269,7 @@ struct dma_chan_percpu {
> struct dma_chan {
> struct dma_device *device;
On Monday, March 05, 2012 1:17 PM, Russell King wrote:
>
> Now that we have the completed cookie in the dma_chan structure, we
> can consolidate the tx_status functions by providing a function to set
> the txstate structure and returning the DMA status. We also provide
> a separate helper to set
On Monday, March 05, 2012 1:51 PM, Linus Walleij wrote:
> On Mon, Mar 5, 2012 at 9:14 PM, Russell King - ARM Linux wrote:
>
>> This patch series cleans up the handling of cookies in DMA engine drivers.
>> This is done by providing a set of inline library functions for common
>> tasks:
>
> Overall t
On Monday, March 05, 2012 1:17 PM, Russell King wrote:
>
> Now that we have the completed cookie in the dma_chan structure, we
> can consolidate the tx_status functions by providing a function to set
> the txstate structure and returning the DMA status. We also provide
> a separate helper to set t
On Monday, March 05, 2012 1:16 PM, Russell King wrote:
>
> Add a local private header file to contain definitions and declarations
> which should only be used by DMA engine drivers.
>
> Signed-off-by: Russell King
> ---
> drivers/dma/amba-pl08x.c|2 ++
> drivers/dma/at_hdmac.c |1
st use the first_online_node
macro and remove the any_online_node macro since there are no users.
Signed-off-by: H Hartley Sweeten
Cc: Andrew Morton
Cc: David Rientjes
Cc: KAMEZAWA Hiroyuki
Cc: Mel Gorman
Cc: Lee Schermerhorn
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Dave Hansen
Cc: Milton
On Wednesday, December 30, 2009 9:49 PM, Paul Mackerras wrote:
> On Wed, Dec 30, 2009 at 02:30:39PM -0500, H Hartley Sweeten wrote:
>
>> Use the %pM kernel extension to display the MAC address.
>>
>> Signed-off-by: H Hartley Sweeten
>>
>> ---
>
> Nak -
Use the %pM kernel extension to display the MAC address.
Signed-off-by: H Hartley Sweeten
---
diff --git a/arch/powerpc/boot/devtree.c b/arch/powerpc/boot/devtree.c
index a7e21a3..a2f07a5 100644
--- a/arch/powerpc/boot/devtree.c
+++ b/arch/powerpc/boot/devtree.c
@@ -93,10 +93,7 @@ void
12 matches
Mail list logo