mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
![Thomas Gleixner](/assets/img/avatar_default.png)
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa the full gnu general public license is included in this distribution in the file called copying extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 7 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190520170857.277062491@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
908 B
C
31 lines
908 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2008-2009 DENX Software Engineering.
|
|
*
|
|
* Author: Yuri Tikhonov <yur@emcraft.com>
|
|
*/
|
|
#ifndef _ASM_POWERPC_ASYNC_TX_H_
|
|
#define _ASM_POWERPC_ASYNC_TX_H_
|
|
|
|
#if defined(CONFIG_440SPe) || defined(CONFIG_440SP)
|
|
extern struct dma_chan *
|
|
ppc440spe_async_tx_find_best_channel(enum dma_transaction_type cap,
|
|
struct page **dst_lst, int dst_cnt, struct page **src_lst,
|
|
int src_cnt, size_t src_sz);
|
|
|
|
#define async_tx_find_channel(dep, cap, dst_lst, dst_cnt, src_lst, \
|
|
src_cnt, src_sz) \
|
|
ppc440spe_async_tx_find_best_channel(cap, dst_lst, dst_cnt, src_lst, \
|
|
src_cnt, src_sz)
|
|
#else
|
|
|
|
#define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \
|
|
__async_tx_find_channel(dep, type)
|
|
|
|
struct dma_chan *
|
|
__async_tx_find_channel(struct async_submit_ctl *submit,
|
|
enum dma_transaction_type tx_type);
|
|
|
|
#endif
|
|
|
|
#endif
|