Home
last modified time | relevance | path

Searched refs:dmacHw_DESC_t (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/arm/mach-bcmring/include/mach/csp/
DdmacHw_priv.h42 } dmacHw_DESC_t; typedef
49 dmacHw_DESC_t *pHead; /* Head of descriptor ring (for writing) */
50 dmacHw_DESC_t *pTail; /* Tail of descriptor ring (for reading) */
51dmacHw_DESC_t *pProg; /* Descriptor to program the channel (for programming the channel register) …
52 dmacHw_DESC_t *pEnd; /* End of current descriptor chain */
53 dmacHw_DESC_t *pFree; /* Descriptor to free memory (freeing dynamic memory) */
72 #define dmacHw_DESC_INIT ((dmacHw_DESC_t *) 0xFFFFFFFF)
76 #define dmacHw_NEXT_DESC(rp, dp) ((rp)->dp = (dmacHw_DESC_t *)(rp)->dp->llp)
/linux-2.6.39/arch/arm/mach-bcmring/csp/dmac/
DdmacHw.c114 dmacHw_DESC_t *pProg; in dmacHw_initiateTransfer()
129 (dmacHw_DESC_t *) ((uint32_t) in dmacHw_initiateTransfer()
146 } else if (pProg == (dmacHw_DESC_t *) pRing->pEnd->llp) { in dmacHw_initiateTransfer()
171 dmacHw_ASSERT((dmacHw_DESC_t *) pRing->pEnd-> in dmacHw_initiateTransfer()
174 dmacHw_ASSERT((dmacHw_DESC_t *) pRing->pProg == in dmacHw_initiateTransfer()
182 (dmacHw_DESC_t *) pRing->pProg->llp; in dmacHw_initiateTransfer()
191 (dmacHw_DESC_t *) pRing->pProg->llp; in dmacHw_initiateTransfer()
207 pRing->pProg = (dmacHw_DESC_t *) pRing->pEnd->llp; in dmacHw_initiateTransfer()
210 pRing->pEnd = (dmacHw_DESC_t *) NULL; in dmacHw_initiateTransfer()
363 return (descCnt * sizeof(dmacHw_DESC_t)) + sizeof(dmacHw_DESC_RING_t) + in dmacHw_descriptorLen()
[all …]
DdmacHw_extra.c253 dmacHw_DESC_t *pStart; in DisplayDescRing()
261 while ((dmacHw_DESC_t *) pStart->llp != pRing->pHead) { in DisplayDescRing()
287 pStart = (dmacHw_DESC_t *) pStart->llp; in DisplayDescRing()
360 dmacHw_DESC_t *pProg; in dmacHw_setDataLength()
361 dmacHw_DESC_t *pHead; in dmacHw_setDataLength()
372 pProg = (dmacHw_DESC_t *) pProg->llp; in dmacHw_setDataLength()
688 dmacHw_DESC_t *pProg = NULL; in dmacHw_setVariableDataDescriptor()
689 dmacHw_DESC_t *pLast = NULL; in dmacHw_setVariableDataDescriptor()
720 ((dmacHw_DESC_t *) pRing->pHead->llp == pRing->pTail) in dmacHw_setVariableDataDescriptor()
983 dmacHw_DESC_t *pDesc; in dmacHw_resetDescriptorControl()