Lines Matching refs:MCD_dmaBar

16 dmaRegs *MCD_dmaBar;  variable
135 MCD_dmaBar = dmaBarAddr; in MCD_initDma()
277 MCD_dmaBar->taskbar = (u32) MCD_taskTable; in MCD_initDma()
279 MCD_dmaBar->taskControl[i] = 0x0; in MCD_initDma()
285 MCD_dmaBar->debugComp1 = 0; in MCD_initDma()
286 MCD_dmaBar->debugComp2 = 0; in MCD_initDma()
287 MCD_dmaBar->debugControl = DBG_CTL_DISABLE; in MCD_initDma()
288 MCD_dmaBar->debugStatus = DBG_KILL_ALL_STAT; in MCD_initDma()
293 MCD_dmaBar->ptdControl &= ~PTD_CTL_COMM_PREFETCH; in MCD_initDma()
295 MCD_dmaBar->ptdControl |= PTD_CTL_COMM_PREFETCH; in MCD_initDma()
315 tcrValue = MCD_dmaBar->taskControl[channel]; in MCD_dmaStatus()
326 MCD_dmaBar->ptdDebug = PTD_DBG_TSK_VLD_INIT; in MCD_dmaStatus()
329 if ((MCD_dmaBar->ptdDebug >> channel) & 0x1) in MCD_dmaStatus()
394 MCD_dmaBar->ptdControl |= (u16) 0x8000; in MCD_startDma()
433 MCD_dmaBar->taskControl[channel] = in MCD_startDma()
436 while (((MCD_dmaBar->taskControl[channel] & 0x1fff) != in MCD_startDma()
441 MCD_dmaBar->taskControl[channel] = in MCD_startDma()
446 MCD_dmaBar->priority[channel] = (u8) priority & PRIORITY_PRI_MASK; in MCD_startDma()
450 MCD_dmaBar->taskSize0 &= ~(0xf << (7 - channel) * 4); in MCD_startDma()
451 MCD_dmaBar->taskSize0 |= in MCD_startDma()
453 MCD_dmaBar->taskSize0 |= (xferSize & 3) << ((7 - channel) * 4); in MCD_startDma()
455 MCD_dmaBar->taskSize1 &= ~(0xf << (15 - channel) * 4); in MCD_startDma()
456 MCD_dmaBar->taskSize1 |= in MCD_startDma()
458 MCD_dmaBar->taskSize1 |= (xferSize & 3) << ((15 - channel) * 4); in MCD_startDma()
778 MCD_dmaBar->debugControl = DBG_CTL_DISABLE; in MCD_resmActions()
779 MCD_dmaBar->debugStatus = MCD_dmaBar->debugStatus; in MCD_resmActions()
782 MCD_dmaBar->ptdDebug = PTD_DBG_TSK_VLD_INIT; in MCD_resmActions()
784 if ((MCD_dmaBar->ptdDebug >> channel) & 0x1) in MCD_resmActions()
811 MCD_dmaBar->taskControl[channel] = 0x0; in MCD_killDma()
848 MCD_dmaBar->taskControl[channel] |= TASK_CTL_EN; in MCD_continDma()
902 if (MCD_dmaBar->taskControl[channel] & TASK_CTL_EN) { in MCD_pauseDma()
903 MCD_dmaBar->debugComp1 = channel; in MCD_pauseDma()
904 MCD_dmaBar->debugControl = in MCD_pauseDma()
932 if (MCD_dmaBar->taskControl[channel] & TASK_CTL_EN) in MCD_resumeDma()