Lines Matching defs:pProg
114 dmacHw_DESC_t *pProg;
128 pProg =
135 if (!(pProg->ctl.hi & dmacHw_REG_CTL_DONE)) {
137 pProg->sar);
139 pProg->dar);
142 pProg->ctl.lo;
145 pProg->ctl.hi;
146 } else if (pProg == (dmacHw_DESC_t *) pRing->pEnd->llp) {
158 pProg = pRing->pHead;
167 pProg = pRing->pProg;
172 llp == pRing->pProg);
173 /* Make sure pProg pointing to the pHead */
174 dmacHw_ASSERT((dmacHw_DESC_t *) pRing->pProg ==
178 pRing->pProg->ctl.lo |=
181 pRing->pProg =
182 (dmacHw_DESC_t *) pRing->pProg->llp;
183 } while (pRing->pProg != pRing->pHead);
186 while (pRing->pProg != pRing->pEnd) {
187 pRing->pProg->ctl.lo |=
190 pRing->pProg =
191 (dmacHw_DESC_t *) pRing->pProg->llp;
197 dmacHw_SET_SAR(pCblk->module, pCblk->channel, pProg->sar);
198 dmacHw_SET_DAR(pCblk->module, pCblk->channel, pProg->dar);
200 (uint32_t) pProg - pRing->virt2PhyOffset);
202 pProg->ctl.lo;
204 pProg->ctl.hi;
207 pRing->pProg = (dmacHw_DESC_t *) pRing->pEnd->llp;
406 pRing->pProg = dmacHw_DESC_INIT;
602 dmacHw_DESC_t *pProg;
675 pProg = pRing->pHead;
678 if ((pProg->ctl.hi & dmacHw_DESC_FREE) == 0) {
682 pProg = (dmacHw_DESC_t *) pProg->llp;
686 pStart = pProg = pRing->pHead;
690 pProg->ctl.lo = 0;
693 pProg->ctl.lo |= dmacHw_REG_CTL_SG_ENABLE;
697 pProg->ctl.lo |= dmacHw_REG_CTL_DS_ENABLE;
700 pProg->sar = (uint32_t) pSrcAddr;
701 pProg->dar = (uint32_t) pDstAddr;
703 if (pProg == pRing->pHead) {
704 pProg->devCtl = dmacHw_FREE_USER_MEMORY;
706 pProg->devCtl = 0;
714 pProg->ctl.lo &=
758 pProg->ctl.lo |= pConfig->transferType |
779 pProg->ctl.lo |= transferType |
791 pProg->ctl.hi = blkTs & dmacHw_REG_CTL_BLOCK_TS_MASK;
795 pProg = (dmacHw_DESC_t *) pProg->llp;
868 if (pRing->pProg == dmacHw_DESC_INIT) {
869 pRing->pProg = pStart;
872 pRing->pEnd = pProg;
874 pRing->pHead = (dmacHw_DESC_t *) pProg->llp;