blob: 9f582beb51a3411051349cb80c0ebf8d77232787 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
TsiChungLiewcab977a2008-01-15 13:54:09 -06002/*
3 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
TsiChungLiewcab977a2008-01-15 13:54:09 -06004 */
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 */
14void 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 */
19void 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 */
25void 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 */
30void 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 */
36void MCD_startDmaENetRcv(char *bDBase, char *currBD, char *rcvFifoPtr,
37 volatile TaskTableEntry * taskTable, int channel);
38
39/* Task 5 */
40void MCD_startDmaENetXmit(char *bDBase, char *currBD, char *xmitFifoPtr,
41 volatile TaskTableEntry * taskTable, int channel);
42
43#endif /* MCD_TSK_INIT_H */