Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
TsiChungLiew | cab977a | 2008-01-15 13:54:09 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. |
TsiChungLiew | cab977a | 2008-01-15 13:54:09 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef MCD_TSK_INIT_H |
| 7 | #define MCD_TSK_INIT_H 1 |
| 8 | |
| 9 | /* |
| 10 | * Do not edit! |
| 11 | */ |
| 12 | |
| 13 | /* Task 0 */ |
| 14 | void MCD_startDmaChainNoEu(int *currBD, short srcIncr, short destIncr, |
| 15 | int xferSize, short xferSizeIncr, int *cSave, |
| 16 | volatile TaskTableEntry * taskTable, int channel); |
| 17 | |
| 18 | /* Task 1 */ |
| 19 | void MCD_startDmaSingleNoEu(char *srcAddr, short srcIncr, char *destAddr, |
| 20 | short destIncr, int dmaSize, short xferSizeIncr, |
| 21 | int flags, int *currBD, int *cSave, |
| 22 | volatile TaskTableEntry * taskTable, int channel); |
| 23 | |
| 24 | /* Task 2 */ |
| 25 | void MCD_startDmaChainEu(int *currBD, short srcIncr, short destIncr, |
| 26 | int xferSize, short xferSizeIncr, int *cSave, |
| 27 | volatile TaskTableEntry * taskTable, int channel); |
| 28 | |
| 29 | /* Task 3 */ |
| 30 | void MCD_startDmaSingleEu(char *srcAddr, short srcIncr, char *destAddr, |
| 31 | short destIncr, int dmaSize, short xferSizeIncr, |
| 32 | int flags, int *currBD, int *cSave, |
| 33 | volatile TaskTableEntry * taskTable, int channel); |
| 34 | |
| 35 | /* Task 4 */ |
| 36 | void MCD_startDmaENetRcv(char *bDBase, char *currBD, char *rcvFifoPtr, |
| 37 | volatile TaskTableEntry * taskTable, int channel); |
| 38 | |
| 39 | /* Task 5 */ |
| 40 | void MCD_startDmaENetXmit(char *bDBase, char *currBD, char *xmitFifoPtr, |
| 41 | volatile TaskTableEntry * taskTable, int channel); |
| 42 | |
| 43 | #endif /* MCD_TSK_INIT_H */ |