MCD_tasksInit.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  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. #ifndef MCD_TSK_INIT_H
  23. #define MCD_TSK_INIT_H 1
  24. /*
  25. * Do not edit!
  26. */
  27. /* Task 0 */
  28. void MCD_startDmaChainNoEu(int *currBD, short srcIncr, short destIncr,
  29. int xferSize, short xferSizeIncr, int *cSave,
  30. volatile TaskTableEntry * taskTable, int channel);
  31. /* Task 1 */
  32. void MCD_startDmaSingleNoEu(char *srcAddr, short srcIncr, char *destAddr,
  33. short destIncr, int dmaSize, short xferSizeIncr,
  34. int flags, int *currBD, int *cSave,
  35. volatile TaskTableEntry * taskTable, int channel);
  36. /* Task 2 */
  37. void MCD_startDmaChainEu(int *currBD, short srcIncr, short destIncr,
  38. int xferSize, short xferSizeIncr, int *cSave,
  39. volatile TaskTableEntry * taskTable, int channel);
  40. /* Task 3 */
  41. void MCD_startDmaSingleEu(char *srcAddr, short srcIncr, char *destAddr,
  42. short destIncr, int dmaSize, short xferSizeIncr,
  43. int flags, int *currBD, int *cSave,
  44. volatile TaskTableEntry * taskTable, int channel);
  45. /* Task 4 */
  46. void MCD_startDmaENetRcv(char *bDBase, char *currBD, char *rcvFifoPtr,
  47. volatile TaskTableEntry * taskTable, int channel);
  48. /* Task 5 */
  49. void MCD_startDmaENetXmit(char *bDBase, char *currBD, char *xmitFifoPtr,
  50. volatile TaskTableEntry * taskTable, int channel);
  51. #endif /* MCD_TSK_INIT_H */