jsm: Fixed EEH recovery error
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / amba / pl330.h
blobd12f077a6dafb7eb505eb5142c13327558001800
1 /* linux/include/linux/amba/pl330.h
3 * Copyright (C) 2010 Samsung Electronics Co. Ltd.
4 * Jaswinder Singh <jassi.brar@samsung.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
12 #ifndef __AMBA_PL330_H_
13 #define __AMBA_PL330_H_
15 #include <asm/hardware/pl330.h>
17 struct dma_pl330_peri {
19 * Peri_Req i/f of the DMAC that is
20 * peripheral could be reached from.
22 u8 peri_id; /* specific dma id */
23 enum pl330_reqtype rqtype;
26 struct dma_pl330_platdata {
28 * Number of valid peripherals connected to DMAC.
29 * This may be different from the value read from
30 * CR0, as the PL330 implementation might have 'holes'
31 * in the peri list or the peri could also be reached
32 * from another DMAC which the platform prefers.
34 u8 nr_valid_peri;
35 /* Array of valid peripherals */
36 struct dma_pl330_peri *peri;
37 /* Bytes to allocate for MC buffer */
38 unsigned mcbuf_sz;
41 #endif /* __AMBA_PL330_H_ */