RTEMS  5.1
dma_image.capi.h
1 #ifndef __DMA_IMAGE_CAPI_H
2 #define __DMA_IMAGE_CAPI_H 1
3 
4 /******************************************************************************
5 *
6 * Copyright (c) 2004 Freescale Semiconductor, Inc.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a
9 * copy of this software and associated documentation files (the "Software"),
10 * to deal in the Software without restriction, including without limitation
11 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 * and/or sell copies of the Software, and to permit persons to whom the
13 * Software is furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included
16 * in all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
22 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
23 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24 * OTHER DEALINGS IN THE SOFTWARE.
25 *
26 ******************************************************************************/
27 
28 
29 #include "dma_image.h"
30 
31 typedef enum {
32  TASK_PCI_TX,
33  TASK_PCI_RX,
34  TASK_FEC_TX,
35  TASK_FEC_RX,
36  TASK_LPC,
37  TASK_ATA,
38  TASK_CRC16_DP_0,
39  TASK_CRC16_DP_1,
40  TASK_GEN_DP_0,
41  TASK_GEN_DP_1,
42  TASK_GEN_DP_2,
43  TASK_GEN_DP_3,
44  TASK_GEN_TX_BD,
45  TASK_GEN_RX_BD,
46  TASK_GEN_DP_BD_0,
47  TASK_GEN_DP_BD_1
48 } TaskName_t;
49 
50 TaskId TaskSetup_TASK_PCI_TX (TASK_PCI_TX_api_t *TaskAPI,
51  TaskSetupParamSet_t *TaskSetupParams);
52 TaskId TaskSetup_TASK_PCI_RX (TASK_PCI_RX_api_t *TaskAPI,
53  TaskSetupParamSet_t *TaskSetupParams);
54 TaskId TaskSetup_TASK_FEC_TX (TASK_FEC_TX_api_t *TaskAPI,
55  TaskSetupParamSet_t *TaskSetupParams);
56 TaskId TaskSetup_TASK_FEC_RX (TASK_FEC_RX_api_t *TaskAPI,
57  TaskSetupParamSet_t *TaskSetupParams);
58 TaskId TaskSetup_TASK_LPC (TASK_LPC_api_t *TaskAPI,
59  TaskSetupParamSet_t *TaskSetupParams);
60 TaskId TaskSetup_TASK_ATA (TASK_ATA_api_t *TaskAPI,
61  TaskSetupParamSet_t *TaskSetupParams);
62 TaskId TaskSetup_TASK_CRC16_DP_0(TASK_CRC16_DP_0_api_t *TaskAPI,
63  TaskSetupParamSet_t *TaskSetupParams);
64 TaskId TaskSetup_TASK_CRC16_DP_1(TASK_CRC16_DP_1_api_t *TaskAPI,
65  TaskSetupParamSet_t *TaskSetupParams);
66 TaskId TaskSetup_TASK_GEN_DP_0 (TASK_GEN_DP_0_api_t *TaskAPI,
67  TaskSetupParamSet_t *TaskSetupParams);
68 TaskId TaskSetup_TASK_GEN_DP_1 (TASK_GEN_DP_1_api_t *TaskAPI,
69  TaskSetupParamSet_t *TaskSetupParams);
70 TaskId TaskSetup_TASK_GEN_DP_2 (TASK_GEN_DP_2_api_t *TaskAPI,
71  TaskSetupParamSet_t *TaskSetupParams);
72 TaskId TaskSetup_TASK_GEN_DP_3 (TASK_GEN_DP_3_api_t *TaskAPI,
73  TaskSetupParamSet_t *TaskSetupParams);
74 TaskId TaskSetup_TASK_GEN_TX_BD (TASK_GEN_TX_BD_api_t *TaskAPI,
75  TaskSetupParamSet_t *TaskSetupParams);
76 TaskId TaskSetup_TASK_GEN_RX_BD (TASK_GEN_RX_BD_api_t *TaskAPI,
77  TaskSetupParamSet_t *TaskSetupParams);
78 TaskId TaskSetup_TASK_GEN_DP_BD_0(TASK_GEN_DP_BD_0_api_t *TaskAPI,
79  TaskSetupParamSet_t *TaskSetupParams);
80 TaskId TaskSetup_TASK_GEN_DP_BD_1(TASK_GEN_DP_BD_1_api_t *TaskAPI,
81  TaskSetupParamSet_t *TaskSetupParams);
82 
83 #endif /* __DMA_IMAGE_CAPI_H */
84 
Definition: dma_image.h:60
Definition: dma_image.h:189
Definition: dma_image.h:370
Definition: dma_image.h:85
Definition: dma_image.h:421
Parameters for TaskSetup()
Definition: bestcomm_api.h:194
Definition: dma_image.h:214
Definition: dma_image.h:344
Definition: dma_image.h:109
Definition: dma_image.h:396
Definition: dma_image.h:240
Definition: dma_image.h:137
Definition: dma_image.h:318
Definition: dma_image.h:266
Definition: dma_image.h:163
Definition: dma_image.h:446
Definition: dma_image.h:292