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