Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
mips
include
asm
txx9
dmac.h
Go to the documentation of this file.
1
/*
2
* TXx9 SoC DMA Controller
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*/
8
9
#ifndef __ASM_TXX9_DMAC_H
10
#define __ASM_TXX9_DMAC_H
11
12
#include <
linux/dmaengine.h
>
13
14
#define TXX9_DMA_MAX_NR_CHANNELS 4
15
21
struct
txx9dmac_platform_data
{
22
int
memcpy_chan
;
23
bool
have_64bit_regs
;
24
};
25
30
struct
txx9dmac_chan_platform_data
{
31
struct
platform_device
*
dmac_dev
;
32
};
33
42
struct
txx9dmac_slave
{
43
u64
tx_reg
;
44
u64
rx_reg
;
45
unsigned
int
reg_width
;
46
};
47
48
void
txx9_dmac_init
(
int
id
,
unsigned
long
baseaddr,
int
irq,
49
const
struct
txx9dmac_platform_data
*
pdata
);
50
51
#endif
/* __ASM_TXX9_DMAC_H */
Generated on Thu Jan 10 2013 13:10:56 for Linux Kernel by
1.8.2