···1010 * published by the Free Software Foundation.1111*/12121313-#include <linux/amba/pl330.h>1413#include <linux/kernel.h>1514#include <linux/types.h>1615#include <linux/interrupt.h>
···11-/* linux/include/linux/amba/pl330.h22- *33- * Copyright (C) 2010 Samsung Electronics Co. Ltd.44- * Jaswinder Singh <jassi.brar@samsung.com>55- *66- * This program is free software; you can redistribute it and/or modify77- * it under the terms of the GNU General Public License as published by88- * the Free Software Foundation; either version 2 of the License, or99- * (at your option) any later version.1010- */1111-1212-#ifndef __AMBA_PL330_H_1313-#define __AMBA_PL330_H_1414-1515-#include <linux/dmaengine.h>1616-1717-struct dma_pl330_platdata {1818- /*1919- * Number of valid peripherals connected to DMAC.2020- * This may be different from the value read from2121- * CR0, as the PL330 implementation might have 'holes'2222- * in the peri list or the peri could also be reached2323- * from another DMAC which the platform prefers.2424- */2525- u8 nr_valid_peri;2626- /* Array of valid peripherals */2727- u8 *peri_id;2828- /* Operational capabilities */2929- dma_cap_mask_t cap_mask;3030- /* Bytes to allocate for MC buffer */3131- unsigned mcbuf_sz;3232-};3333-3434-extern bool pl330_filter(struct dma_chan *chan, void *param);3535-#endif /* __AMBA_PL330_H_ */