Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
[linux-2.6-block.git] / arch / arm / mach-ux500 / include / mach / crypto-ux500.h
CommitLineData
2789c08f
AW
1/*
2 * Copyright (C) ST-Ericsson SA 2011
3 *
4 * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson
5 * License terms: GNU General Public License (GPL) version 2
6 */
7#ifndef _CRYPTO_UX500_H
8#include <linux/dmaengine.h>
9#include <plat/ste_dma40.h>
10
8a63b199
AW
11struct hash_platform_data {
12 void *mem_to_engine;
13 bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
14};
15
2789c08f
AW
16struct cryp_platform_data {
17 struct stedma40_chan_cfg mem_to_engine;
18 struct stedma40_chan_cfg engine_to_mem;
19};
20
21#endif