xref: /openbmc/u-boot/include/MCD_tasksInit.h (revision 62e92077)
1 /*
2  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #ifndef MCD_TSK_INIT_H
8 #define MCD_TSK_INIT_H 1
9 
10 /*
11  * Do not edit!
12  */
13 
14 /* Task 0 */
15 void MCD_startDmaChainNoEu(int *currBD, short srcIncr, short destIncr,
16 			   int xferSize, short xferSizeIncr, int *cSave,
17 			   volatile TaskTableEntry * taskTable, int channel);
18 
19 /* Task 1 */
20 void MCD_startDmaSingleNoEu(char *srcAddr, short srcIncr, char *destAddr,
21 			    short destIncr, int dmaSize, short xferSizeIncr,
22 			    int flags, int *currBD, int *cSave,
23 			    volatile TaskTableEntry * taskTable, int channel);
24 
25 /* Task 2 */
26 void MCD_startDmaChainEu(int *currBD, short srcIncr, short destIncr,
27 			 int xferSize, short xferSizeIncr, int *cSave,
28 			 volatile TaskTableEntry * taskTable, int channel);
29 
30 /* Task 3 */
31 void MCD_startDmaSingleEu(char *srcAddr, short srcIncr, char *destAddr,
32 			  short destIncr, int dmaSize, short xferSizeIncr,
33 			  int flags, int *currBD, int *cSave,
34 			  volatile TaskTableEntry * taskTable, int channel);
35 
36 /* Task 4 */
37 void MCD_startDmaENetRcv(char *bDBase, char *currBD, char *rcvFifoPtr,
38 			 volatile TaskTableEntry * taskTable, int channel);
39 
40 /* Task 5 */
41 void MCD_startDmaENetXmit(char *bDBase, char *currBD, char *xmitFifoPtr,
42 			  volatile TaskTableEntry * taskTable, int channel);
43 
44 #endif				/* MCD_TSK_INIT_H */
45