blob: 684d5aaa2bcc4c6990f58d1d892e229589091496 [file] [log] [blame]
TsiChungLiew72f56ad2008-01-15 13:54:09 -06001/*
2 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
3 *
4 * See file CREDITS for list of people who contributed to this
5 * project.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20 * MA 02111-1307 USA
21 */
22
23#ifndef MCD_TSK_INIT_H
24#define MCD_TSK_INIT_H 1
25
26/*
27 * Do not edit!
28 */
29
30/* Task 0 */
31void MCD_startDmaChainNoEu(int *currBD, short srcIncr, short destIncr,
32 int xferSize, short xferSizeIncr, int *cSave,
33 volatile TaskTableEntry * taskTable, int channel);
34
35/* Task 1 */
36void MCD_startDmaSingleNoEu(char *srcAddr, short srcIncr, char *destAddr,
37 short destIncr, int dmaSize, short xferSizeIncr,
38 int flags, int *currBD, int *cSave,
39 volatile TaskTableEntry * taskTable, int channel);
40
41/* Task 2 */
42void MCD_startDmaChainEu(int *currBD, short srcIncr, short destIncr,
43 int xferSize, short xferSizeIncr, int *cSave,
44 volatile TaskTableEntry * taskTable, int channel);
45
46/* Task 3 */
47void MCD_startDmaSingleEu(char *srcAddr, short srcIncr, char *destAddr,
48 short destIncr, int dmaSize, short xferSizeIncr,
49 int flags, int *currBD, int *cSave,
50 volatile TaskTableEntry * taskTable, int channel);
51
52/* Task 4 */
53void MCD_startDmaENetRcv(char *bDBase, char *currBD, char *rcvFifoPtr,
54 volatile TaskTableEntry * taskTable, int channel);
55
56/* Task 5 */
57void MCD_startDmaENetXmit(char *bDBase, char *currBD, char *xmitFifoPtr,
58 volatile TaskTableEntry * taskTable, int channel);
59
60#endif /* MCD_TSK_INIT_H */