| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Renesas SuperH DMA Engine support |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
|---|
| 5 | 6 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. |
|---|
| 6 | | - * |
|---|
| 7 | | - * This is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | | - * (at your option) any later version. |
|---|
| 11 | 7 | * |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | #ifndef __DMA_SHDMA_H |
|---|
| .. | .. |
|---|
| 61 | 57 | #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx) |
|---|
| 62 | 58 | #define to_sh_dev(chan) container_of(chan->shdma_chan.dma_chan.device,\ |
|---|
| 63 | 59 | struct sh_dmae_device, shdma_dev.dma_dev) |
|---|
| 64 | | - |
|---|
| 65 | | -#ifdef CONFIG_SH_DMAE_R8A73A4 |
|---|
| 66 | | -extern const struct sh_dmae_pdata r8a73a4_dma_pdata; |
|---|
| 67 | | -#define r8a73a4_shdma_devid (&r8a73a4_dma_pdata) |
|---|
| 68 | | -#else |
|---|
| 69 | | -#define r8a73a4_shdma_devid NULL |
|---|
| 70 | | -#endif |
|---|
| 71 | 60 | |
|---|
| 72 | 61 | #endif /* __DMA_SHDMA_H */ |
|---|