summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a08f7d)
raw | patch | inline | side by side (parent: 0a08f7d)
author | Stephen Molfetta <sjmolfetta@ti.com> | |
Tue, 9 Oct 2018 16:25:12 +0000 (11:25 -0500) | ||
committer | Stephen Molfetta <sjmolfetta@ti.com> | |
Tue, 9 Oct 2018 16:25:12 +0000 (11:25 -0500) |
include/McaspLocal.h | patch | blob | history |
diff --git a/include/McaspLocal.h b/include/McaspLocal.h
index e93c30633b8512e8bc216608936143b25520caef..b80c9fead71091e5b9c830c03f51cf51852e7b91 100644 (file)
--- a/include/McaspLocal.h
+++ b/include/McaspLocal.h
/**< descriptor memory */
} Mcasp_descQueueEntry_t;
-
-/**
- * \brief Channel Object
- *
- * Holds the definitions of the dma parameters to be used by the McASP channel
- * object. Parameters are dependent on the DMA implementation used by the SOC.
- */
-typedef struct Mcasp_dmaObject_s {
-#ifdef MCASP_EDMA_ENABLED
- void * edmaHandle;
- /**< Edma Handle */
-
- uint32_t xferChan;
- /**< EDMA ChannelID */
-
- uint32_t tcc;
- /**< EDMA tcc */
-
- uint32_t pramTbl[2u];
- /**< Logical channel numbers of EDMA, which are used for linking */
-
- uint32_t pramTblAddr[2u];
- /**< Physical address of logical channel numbers of EDMA, which *
- * are used for linking */
-
- uint32_t nextLinkParamSetToBeUpdated;
- /**< Used to store the next index of link param to be updated */
-
- EDMA3_RM_TccCallback edmaCallback;
- /**< stores the edma call back function ptr - functions actual type is *
- * EDMA3_RM_TccCallback */
-
-#else
- Bool firstPacket;
- /**< first packet since reset */
-
- Bool udmaEnabled;
- /**< If the UDMA/PDMA path is enabled */
-
- void * nextTR;
-
- /**< This member will hold the error status -normally updated from *
- * cpu interrupt thread and is used in UDMA completion thread for *
- * updating the error code in IOP */
-
- NAVSS_TR_Params trParams;
- Mcasp_QueueElem queueFreeDesc;
- Mcasp_QueueElem queueTransitDesc;
- Mcasp_descQueueEntry_t freeDescMem[MCASP_NUM_FREE_DESCS];
- void *dmaCallback;
-#endif
-} Mcasp_dmaObject_t;
-
/**
* \brief Channel Object
*
int32_t submitCount;
/**< Number of submit calls pending */
- /* Todo: Replace below with DMA object */
- //Mcasp_dmaObject_t dmaObj;
- /**< Stores the dma object used by the channel */
#ifdef MCASP_EDMA_ENABLED
void * edmaHandle;