2.6.31 support (WiP)
[openwrt/staging/dedeckeh.git] / target / linux / coldfire / files-2.6.31 / arch / m68k / coldfire / m547x / MCD_tasksInit.h
1 /*
2 * drivers/dma/MCD_tasksInit.h
3 *
4 * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
5 * Kurt Mahan <kmahan@freescale.com>
6 * Shrek Wu b16972@freescale.com
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 */
23 #ifndef MCD_TSK_INIT_H
24 #define MCD_TSK_INIT_H 1
25
26 /*
27 * Autogenerated - Do not edit!
28 */
29
30 /*
31 * Task 0
32 */
33 void MCD_startDmaChainNoEu(int *currBD, short srcIncr,
34 short destIncr, int xferSize,
35 short xferSizeIncr, int *cSave,
36 volatile TaskTableEntry *taskTable,
37 int channel);
38
39
40 /*
41 * Task 1
42 */
43 void MCD_startDmaSingleNoEu(char *srcAddr, short srcIncr,
44 char *destAddr, short destIncr, int dmaSize,
45 short xferSizeIncr, int flags, int *currBD,
46 int *cSave, volatile TaskTableEntry *taskTable,
47 int channel);
48
49
50 /*
51 * Task 2
52 */
53 void MCD_startDmaChainEu(int *currBD, short srcIncr, short destIncr,
54 int xferSize, short xferSizeIncr, int *cSave,
55 volatile TaskTableEntry *taskTable,
56 int channel);
57
58
59 /*
60 * Task 3
61 */
62 void MCD_startDmaSingleEu(char *srcAddr, short srcIncr,
63 char *destAddr, short destIncr, int dmaSize,
64 short xferSizeIncr, int flags, int *currBD,
65 int *cSave, volatile TaskTableEntry *taskTable,
66 int channel);
67
68
69 /*
70 * Task 4
71 */
72 void MCD_startDmaENetRcv(char *bDBase, char *currBD,
73 char *rcvFifoPtr,
74 volatile TaskTableEntry *taskTable, int channel);
75
76
77 /*
78 * Task 5
79 */
80 void MCD_startDmaENetXmit(char *bDBase, char *currBD,
81 char *xmitFifoPtr,
82 volatile TaskTableEntry *taskTable, int channel);
83
84 #endif /* MCD_TSK_INIT_H */