Blame view

include/linux/amba/pl330.h 1.03 KB
b3040e406   Jassi Brar   DMA: PL330: Add d...
1
2
3
4
5
6
7
8
9
10
11
12
13
  /* linux/include/linux/amba/pl330.h
   *
   * Copyright (C) 2010 Samsung Electronics Co. Ltd.
   *	Jaswinder Singh <jassi.brar@samsung.com>
   *
   * 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.
   */
  
  #ifndef	__AMBA_PL330_H_
  #define	__AMBA_PL330_H_
3e2ec13a8   Thomas Abraham   DMA: PL330: move ...
14
  #include <linux/dmaengine.h>
b3040e406   Jassi Brar   DMA: PL330: Add d...
15

b3040e406   Jassi Brar   DMA: PL330: Add d...
16
17
18
19
20
21
22
23
24
25
  struct dma_pl330_platdata {
  	/*
  	 * Number of valid peripherals connected to DMAC.
  	 * This may be different from the value read from
  	 * CR0, as the PL330 implementation might have 'holes'
  	 * in the peri list or the peri could also be reached
  	 * from another DMAC which the platform prefers.
  	 */
  	u8 nr_valid_peri;
  	/* Array of valid peripherals */
cd0725152   Thomas Abraham   DMA: PL330: Infer...
26
27
28
  	u8 *peri_id;
  	/* Operational capabilities */
  	dma_cap_mask_t cap_mask;
b3040e406   Jassi Brar   DMA: PL330: Add d...
29
30
31
  	/* Bytes to allocate for MC buffer */
  	unsigned mcbuf_sz;
  };
3e2ec13a8   Thomas Abraham   DMA: PL330: move ...
32
  extern bool pl330_filter(struct dma_chan *chan, void *param);
b3040e406   Jassi Brar   DMA: PL330: Add d...
33
  #endif	/* __AMBA_PL330_H_ */